BOSS
7.0.4
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
b
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
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
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
TEvtHeader.cxx
Go to the documentation of this file.
1
#include "RootEventData/TEvtHeader.h"
2
#include <iostream>
3
#include "TCollection.h"
// Declares TIter
4
5
ClassImp
(
TEvtHeader
)
6
7
// Allocate the TObjArray just once
8
9
10
//***************************************************************
11
TEvtHeader::TEvtHeader
()
12
:m_eventId(-1),m_runId(-1),m_eventTag(0),m_time(0),m_flag1(0),m_flag2(0)
13
{
14
15
}
16
17
//*****************************************************************
18
TEvtHeader::~TEvtHeader
() {
19
20
}
21
22
//*****************************************************************
23
void
TEvtHeader::initialize
(Int_t event, Int_t runId, UInt_t eventTag){
24
m_eventId = event;
25
m_runId = runId;
26
m_eventTag=eventTag;
27
}
28
29
//*****************************************************************
30
void
TEvtHeader::Clear
(Option_t *option) {
31
32
m_eventId = 0;
33
m_runId = 0;
34
m_eventTag=0;
35
m_time = 0;
36
m_flag1 = 0;
37
m_flag2 = 0;
38
}
39
40
//*****************************************************************************
41
void
TEvtHeader::Print
(Option_t *option)
const
{
42
TObject::Print(option);
43
std::cout.precision(2);
44
std::cout <<
"Run, Event, TotEvtNum, EventTag: "
<< m_runId <<
", "
<< m_eventId<<
", "
<< std::hex<<m_eventTag<<std::dec<<std::endl;
45
}
46
ClassImp
ClassImp(TEvtHeader) TEvtHeader
Definition:
TEvtHeader.cxx:5
TEvtHeader
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TEvtHeader.h:8
TEvtHeader::TEvtHeader
TEvtHeader()
TEvtHeader::initialize
void initialize(Int_t Id, Int_t runId, UInt_t evenTag)
Definition:
TEvtHeader.cxx:23
TEvtHeader::~TEvtHeader
virtual ~TEvtHeader()
Definition:
TEvtHeader.cxx:18
TEvtHeader::Print
void Print(Option_t *option="") const
Definition:
TEvtHeader.cxx:41
TEvtHeader::Clear
void Clear(Option_t *option="")
Definition:
TEvtHeader.cxx:30
source
Event
RootEventData
RootEventData-00-03-80
src
TEvtHeader.cxx
Generated by
1.9.6