CGEM BOSS
6.6.5.f
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
SubDetectorFragment24.cxx
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file old/SubDetectorFragment.cxx
5
* @author <a href="mailto:Andre.dos.Anjos@cern.ch">Andre DOS ANJOS</a>
6
* $Author: zhangy $
7
* $Revision: 1.1.1.1 $
8
* $Date: 2009/06/19 07:35:41 $
9
*
10
* Implements the old SubDetector fragment interface
11
*/
12
13
#include "eformat/old/SubDetectorFragment.h"
14
#include "eformat/old/ROSFragment.h"
15
#include "eformat/SizeCheckIssue.h"
16
#include "eformat/HeaderMarker.h"
17
18
eformat::old::SubDetectorFragment::SubDetectorFragment
(
const
uint32_t* it)
19
:
eformat
::old::
Header
(it,
eformat
::
SUB_DETECTOR
),
20
m_start(specific_header())
21
{
22
}
23
24
bool
eformat::old::SubDetectorFragment::check
()
const
25
{
26
eformat::old::Header::check
();
//< first do a generic check
27
if
(nspecific() != 1)
throw
EFORMAT_SIZE_CHECK
(1, nspecific());
28
return
true
;
29
}
30
31
bool
eformat::old::SubDetectorFragment::check_tree
()
const
32
{
33
check();
// check myself
34
for
(
size_t
i=0; i<noffset(); ++i) {
35
eformat::old::ROSFragment
ros(child(i));
36
ros.
check_tree
();
37
}
38
return
true
;
39
}
40
41
42
EFORMAT_SIZE_CHECK
#define EFORMAT_SIZE_CHECK(actual, informed)
Definition:
Event/eformat/eformat-00-00-04/eformat/SizeCheckIssue.h:67
eformat::old::Header
Definition:
Event/eformat/eformat-00-00-04/eformat/old/Header.h:40
eformat::old::Header::check
virtual bool check() const
Definition:
Header24.cxx:29
eformat::old::ROSFragment
Definition:
Event/eformat/eformat-00-00-04/eformat/old/ROSFragment.h:27
eformat::old::ROSFragment::check_tree
bool check_tree() const
Definition:
ROSFragment24.cxx:33
eformat::old::SubDetectorFragment::SubDetectorFragment
SubDetectorFragment(const uint32_t *it)
Definition:
SubDetectorFragment24.cxx:18
eformat::old::SubDetectorFragment::check_tree
bool check_tree() const
Definition:
SubDetectorFragment24.cxx:31
eformat::old::SubDetectorFragment::check
virtual bool check() const
Definition:
SubDetectorFragment24.cxx:24
eformat
Definition:
Event/eformat/eformat-00-00-04/eformat/BadVersionIssue.h:20
eformat::SUB_DETECTOR
@ SUB_DETECTOR
The SubDet. marker.
Definition:
Event/eformat/eformat-00-00-04/eformat/HeaderMarker.h:29
source
Event
eformat
eformat-00-00-04
src
old
SubDetectorFragment24.cxx
Generated by
1.9.6