BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSpillHeader.cxx
Go to the documentation of this file.
1#include "BmnSpillHeader.h"
2
3#include <TTimeStamp.h>
4
7 , fEventIdEnd(event_id)
8 , fEventCnt(0)
9 , fPeriodId(period_id)
10 , fSpillId(0)
11 , fStartTS{TTimeStamp(0, 0)}
12 , fStopTS{TTimeStamp(0, 0)}
14 , fLastEventTS{TTimeStamp(0, 0)} // , fStartTS{SysPoint::min()}
15 // , fStopTS{SysPoint::min()}
16 // , fFirstEventTS{SysPoint::min()}
17 // , fLastEventTS{SysPoint::min()}
18 , fRawT0Cntrs{0}
19 , fBeamTrigger(0)
20 , fBTnBusy(0)
21 , fL0(0)
23 , fBC1(0)
24 , fBC2(0)
25 , fBC3(0)
26 , fAccepted(0)
27 , fCand(0)
28 , fBP(0)
29 , fAP(0)
30 , fRj(0)
31 , fAll(0)
32 , fAvail(0)
33{
34 printf("SH %p created\n", this);
35}
36
37// ----- Destructor ----------------------------------------------------
39{
40 printf("SH %p destroyed\n", this);
41}
42
44{
45 fEventIdStart = 0;
46 fEventIdEnd = 0;
47 fEventCnt = 0;
48 fPeriodId = 0;
49 fSpillId = 0;
50 fStartTS = TTimeStamp(0, 0);
51 fStopTS = TTimeStamp(0, 0);
54 // fStartTS = SysPoint::min();
55 // fStopTS = SysPoint::min();
56 // fFirstEventTS = SysPoint::min();
57 // fLastEventTS = SysPoint::min();
58 fRawT0Cntrs.fill(0);
59 fScalersTotal.clear();
60 // fScalersVec.clear();
61 fEventTrigCount.clear();
62 fBeamTrigger = 0;
63 fBTnBusy = 0;
64 fL0 = 0;
66 fBC1 = 0;
67 fBC2 = 0;
68 fBC3 = 0;
69 fAccepted = 0;
70 fCand = 0;
71 fBP = 0;
72 fAP = 0;
73 fRj = 0;
74 fAll = 0;
75 fAvail = 0;
76}
unsigned int UInt_t
TTimeStamp fLastEventTS
TTimeStamp fStartTS
TTimeStamp fFirstEventTS
MapString2Cnt fScalersTotal
UInt_t fEventIdEnd
Event Id.
BmnSpillHeader(UInt_t period_id=0, UInt_t event_id=0)
Constructor.
UInt_t fSpillId
Spill Id.
virtual ~BmnSpillHeader()
Destructor.
MapString2Cnt fEventTrigCount
UInt_t fEventCnt
Event count.
UInt_t fEventIdStart
Event Id.
TTimeStamp fStopTS
UInt_t fPeriodId
Period Id.
array< UInt_t, kT0_BIN_BLOCK_WORDS > fRawT0Cntrs