BmnRoot
Loading...
Searching...
No Matches
BmnSpillHeader.cxx
Go to the documentation of this file.
1
#include "
BmnSpillHeader.h
"
2
3
// ----- Default constructor -------------------------------------------
4
BmnSpillHeader::BmnSpillHeader
()
5
: fEventIdEnd(0)
6
, fEventCnt(0)
7
, fPeriodId(0)
8
, fSpillId(0)
9
, fStartTS{
SysPoint
::
min
()}
10
, fStopTS{
SysPoint
::
min
()}
11
, fRawT0Cntrs{0}
12
, fBeamTrigger(0)
13
, fBTnBusy(0)
14
, fL0(0)
15
, fTrigProtection(0)
16
, fBC1(0)
17
, fBC2(0)
18
, fBC3(0)
19
, fAccepted(0)
20
, fCand(0)
21
, fBP(0)
22
, fAP(0)
23
, fRj(0)
24
, fAll(0)
25
, fAvail(0)
26
// , fBC1H(0)
27
// , fBC1BP(0)
28
// , fBC1xBC2(0)
29
// , fBC1nBusy(0)
30
// , fIntTrig(0)
31
// , fSRCTrig(0)
32
// , fTrignBusy(0)
33
{
34
printf(
"SH %p created\n"
,
this
);
35
}
36
37
BmnSpillHeader::BmnSpillHeader
(UInt_t run_id, UInt_t event_id, TTimeStamp event_time)
38
: fEventIdEnd(event_id)
39
, fEventCnt(0)
40
, fPeriodId(run_id)
41
, fSpillId(0)
42
, fStartTS{
SysPoint
::
min
()}
43
, fStopTS{
SysPoint
::
min
()}
44
, fRawT0Cntrs{0}
45
, fBeamTrigger(0)
46
, fBTnBusy(0)
47
, fL0(0)
48
, fTrigProtection(0)
49
, fBC1(0)
50
, fBC2(0)
51
, fBC3(0)
52
, fAccepted(0)
53
, fCand(0)
54
, fBP(0)
55
, fAP(0)
56
, fRj(0)
57
, fAll(0)
58
, fAvail(0)
59
// , fBC1H(0)
60
// , fBC1BP(0)
61
// , fBC1xBC2(0)
62
// , fBC1nBusy(0)
63
// , fIntTrig(0)
64
// , fSRCTrig(0)
65
// , fTrignBusy(0)
66
{}
67
68
// ----- Destructor ----------------------------------------------------
69
BmnSpillHeader::~BmnSpillHeader
()
70
{
71
printf(
"SH %p destroyed\n"
,
this
);
72
}
73
74
void
BmnSpillHeader::Clear
()
75
{
76
fEventIdEnd = 0;
77
fEventCnt = 0;
78
fPeriodId = 0;
79
fSpillId = 0;
80
fStartTS = SysPoint::min();
81
fStopTS = SysPoint::min();
82
fRawT0Cntrs.fill(0);
83
// fScalers.clear();
84
fScalersTotal.clear();
85
fScalersVec.clear();
86
fEventTrigCount.clear();
87
fBeamTrigger = 0;
88
fBTnBusy = 0;
89
fL0 = 0;
90
fTrigProtection = 0;
91
fBC1 = 0;
92
fBC2 = 0;
93
fBC3 = 0;
94
fAccepted = 0;
95
fCand = 0;
96
fBP = 0;
97
fAP = 0;
98
fRj = 0;
99
fAll = 0;
100
fAvail = 0;
101
// fBC1H = 0;
102
// fBC1BP = 0;
103
// fBC1xBC2 = 0;
104
// fBC1nBusy = 0;
105
// fIntTrig = 0;
106
// fSRCTrig = 0;
107
// fTrignBusy = 0;
108
}
min
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition
P4_F32vec4.h:30
BmnSpillHeader::~BmnSpillHeader
virtual ~BmnSpillHeader()
Definition
BmnSpillHeader.cxx:69
BmnSpillHeader::Clear
void Clear()
Definition
BmnSpillHeader.cxx:74
BmnSpillHeader::BmnSpillHeader
BmnSpillHeader()
Definition
BmnSpillHeader.cxx:4
BmnSpillHeader.h
SysPoint
std::chrono::time_point< SysClock > SysPoint
Definition
BmnSpillHeader.h:16
base
header
BmnSpillHeader.cxx
Generated on Fri May 15 2026 10:40:50 for BmnRoot by
1.9.8