|
BmnRoot
|
#include <BmnEventHeader.h>
Public Member Functions | |
| BmnEventHeader () | |
| BmnEventHeader (UInt_t run_id, UInt_t event_id, TTimeStamp event_time, BmnEventType event_type, Bool_t trip, BmnTrigInfo &trig_info) | |
| BmnEventHeader (UInt_t run_id, UInt_t event_id, TTimeStamp event_time, BmnEventType event_type, Bool_t trip, BmnTrigInfo &trig_info, unordered_map< UInt_t, Long64_t > time_shift) | |
| virtual | ~BmnEventHeader () |
| virtual void | Register (Bool_t Persistence=kTRUE) |
| void | Clear () |
| TString | GetHeaderName () |
| UInt_t | GetEventId () |
| UInt_t | GetPeriodId () |
| TTimeStamp | GetEventTimeTS () |
| SysPoint | GetEventTimeTP () |
| TTimeStamp | GetVspTS () |
| BmnEventType | GetEventType () |
| Bool_t | GetTripWord () |
| Bool_t | GetSpillStart () |
| Double_t | GetStartSignalTime () |
| Double_t | GetStartSignalWidth () |
| BmnTrigInfo & | GetTrigInfo () |
| UInt_t | GetInputSignalsAR () |
| UInt_t | GetInputSignalsBR () |
| vector< uint32_t > & | GetInputSignalsVector () |
| unordered_map< UInt_t, Long64_t > & | GetTimeShift () |
| void | SetHeaderName (TString header_name) |
| void | SetEventId (UInt_t event_id) |
| void | SetPeriodId (UInt_t period_id) |
| void | SetEventTimeTS (TTimeStamp event_time) |
| void | SetEventTimeTP (SysPoint event_time) |
| void | SetVspTS (TTimeStamp event_time) |
| void | SetEventType (BmnEventType event_type) |
| void | SetTripWord (Bool_t flag) |
| void | SetSpillStart (Bool_t flag) |
| void | SetStartSignalInfo (Double_t time, Double_t width) |
| void | SetTrigInfo (BmnTrigInfo &trig_info) |
| void | SetInputSignalsAR (UInt_t v) |
| void | SetInputSignalsBR (UInt_t v) |
| void | SetInputSignalsVector (vector< uint32_t > v) |
| void | SetSpillStartTS (TTimeStamp ts) |
| TTimeStamp | GetSpillStartTS () |
| Int_t & | GetSpillId () |
| void | SetSpillId (UInt_t sid) |
| void | SetTimeShift (unordered_map< UInt_t, Long64_t > time_shift) |
| BmnEventHeader () | |
| BmnEventHeader (UInt_t run_id, UInt_t event_id, TTimeStamp event_time, BmnEventType event_type, Bool_t trip, BmnTrigInfo &trig_info) | |
| BmnEventHeader (UInt_t run_id, UInt_t event_id, TTimeStamp event_time, BmnEventType event_type, Bool_t trip, BmnTrigInfo &trig_info, unordered_map< UInt_t, Long64_t > time_shift) | |
| virtual | ~BmnEventHeader () |
| virtual void | Register (Bool_t Persistence=kTRUE) |
| void | Clear () |
| TString | GetHeaderName () |
| UInt_t | GetEventId () |
| UInt_t | GetPeriodId () |
| TTimeStamp | GetEventTimeTS () |
| SysPoint | GetEventTimeTP () |
| TTimeStamp | GetVspTS () |
| BmnEventType | GetEventType () |
| Bool_t | GetTripWord () |
| Bool_t | GetSpillStart () |
| Double_t | GetStartSignalTime () |
| Double_t | GetStartSignalWidth () |
| BmnTrigInfo & | GetTrigInfo () |
| UInt_t | GetInputSignalsAR () |
| UInt_t | GetInputSignalsBR () |
| vector< uint32_t > & | GetInputSignalsVector () |
| unordered_map< UInt_t, Long64_t > & | GetTimeShift () |
| void | SetHeaderName (TString header_name) |
| void | SetEventId (UInt_t event_id) |
| void | SetPeriodId (UInt_t period_id) |
| void | SetEventTimeTS (TTimeStamp event_time) |
| void | SetEventTimeTP (SysPoint event_time) |
| void | SetVspTS (TTimeStamp event_time) |
| void | SetEventType (BmnEventType event_type) |
| void | SetTripWord (Bool_t flag) |
| void | SetSpillStart (Bool_t flag) |
| void | SetStartSignalInfo (Double_t time, Double_t width) |
| void | SetTrigInfo (BmnTrigInfo &trig_info) |
| void | SetInputSignalsAR (UInt_t v) |
| void | SetInputSignalsBR (UInt_t v) |
| void | SetInputSignalsVector (vector< uint32_t > v) |
| void | SetSpillStartTS (TTimeStamp ts) |
| TTimeStamp | GetSpillStartTS () |
| Int_t & | GetSpillId () |
| void | SetSpillId (UInt_t sid) |
| void | SetTimeShift (unordered_map< UInt_t, Long64_t > time_shift) |
Definition at line 23 of file BmnEventHeader.h.
| BmnEventHeader::BmnEventHeader | ( | ) |
Default constructor
Definition at line 4 of file BmnEventHeader.cxx.
| BmnEventHeader::BmnEventHeader | ( | UInt_t | run_id, |
| UInt_t | event_id, | ||
| TTimeStamp | event_time, | ||
| BmnEventType | event_type, | ||
| Bool_t | trip, | ||
| BmnTrigInfo & | trig_info | ||
| ) |
Constructor
Definition at line 22 of file BmnEventHeader.cxx.
| BmnEventHeader::BmnEventHeader | ( | UInt_t | run_id, |
| UInt_t | event_id, | ||
| TTimeStamp | event_time, | ||
| BmnEventType | event_type, | ||
| Bool_t | trip, | ||
| BmnTrigInfo & | trig_info, | ||
| unordered_map< UInt_t, Long64_t > | time_shift | ||
| ) |
Constructor
Definition at line 48 of file BmnEventHeader.cxx.
|
virtual |
Destructor
Definition at line 77 of file BmnEventHeader.cxx.
| BmnEventHeader::BmnEventHeader | ( | ) |
Default constructor
| BmnEventHeader::BmnEventHeader | ( | UInt_t | run_id, |
| UInt_t | event_id, | ||
| TTimeStamp | event_time, | ||
| BmnEventType | event_type, | ||
| Bool_t | trip, | ||
| BmnTrigInfo & | trig_info | ||
| ) |
Constructor
| BmnEventHeader::BmnEventHeader | ( | UInt_t | run_id, |
| UInt_t | event_id, | ||
| TTimeStamp | event_time, | ||
| BmnEventType | event_type, | ||
| Bool_t | trip, | ||
| BmnTrigInfo & | trig_info, | ||
| unordered_map< UInt_t, Long64_t > | time_shift | ||
| ) |
Constructor
|
virtual |
Destructor
| void BmnEventHeader::Clear | ( | ) |
Definition at line 82 of file BmnEventHeader.cxx.
Referenced by BmnDecoder::ClearDigiArrays(), BmnMetadataDecoder::ClearDigiArrays(), BmnRawSource::ClearRawArrays(), and BmnEmbedding::Embed().
| void BmnEventHeader::Clear | ( | ) |
|
inline |
Get the event ID for this event
Definition at line 91 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), BmnFillDstTask::Exec(), BmnHgndRaw2Digit::fillEvent(), BmnTwoParticleDecay::Init(), BmnTrackConv::ProcessDST(), BmnMetadataDecoder::ProcessSpillTree(), BmnOnlineDecoder::StripView(), BmnMscRaw2Digit::SumEvent7(), and ToF400DigitAnalysis_period5().
|
inline |
Get the event ID for this event
Definition at line 91 of file BmnEventHeader.h.
|
inline |
Definition at line 98 of file BmnEventHeader.h.
References BmnFunctionSet::TimeStamp2TP().
Referenced by BmnMetadataDecoder::ProcessSpillTree(), and BmnConverter::SeparateEventsBySpillsTM().
|
inline |
Definition at line 98 of file BmnEventHeader.h.
References BmnFunctionSet::TimeStamp2TP().
|
inline |
Get the time for this event
Definition at line 97 of file BmnEventHeader.h.
Referenced by BmnEmbedding::Embed(), BmnFillDstTask::Exec(), BmnHgndRaw2Digit::fillEvent(), BmnTrackConv::ProcessDST(), BmnConverter::SeparateEventsBySpills(), and BmnMscRaw2Digit::SumEvent7().
|
inline |
Get the time for this event
Definition at line 97 of file BmnEventHeader.h.
|
inline |
Get the type of this event
Definition at line 104 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), and BmnOnlineDecoder::ProcessStream().
|
inline |
Get the type of this event
Definition at line 104 of file BmnEventHeader.h.
|
inline |
Get Event Header branch name
Definition at line 88 of file BmnEventHeader.h.
|
inline |
Get Event Header branch name
Definition at line 88 of file BmnEventHeader.h.
|
inline |
Get Input signal states, after reduction
Definition at line 129 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEventSelector::Exec(), BmnFillTrigInfoDst::Exec(), BmnHistFHCal::FillFromDigi(), BmnHistHodo::FillFromDigi(), BmnHistNdet::FillFromDigi(), BmnHistScWall::FillFromDigi(), BmnHistTrigger::FillFromDigi(), BmnHistHgnd::FillFromDigi(), hodo_profile(), and BmnMetadataDecoder::ProcessSpillTree().
|
inline |
Get Input signal states, after reduction
Definition at line 129 of file BmnEventHeader.h.
|
inline |
Get Input signal states, before reduction
Definition at line 132 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnFillTrigInfoDst::Exec().
|
inline |
Get Input signal states, before reduction
Definition at line 132 of file BmnEventHeader.h.
|
inline |
Get Input signal vector, each word is a state of input trigger states in a TRC clock time slice
Definition at line 135 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnFillTrigInfoDst::Exec().
|
inline |
Get Input signal vector, each word is a state of input trigger states in a TRC clock time slice
Definition at line 135 of file BmnEventHeader.h.
|
inline |
Get the period ID for this event
Definition at line 94 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), BmnDecoSource::Init(), BmnMQSource::Init(), and BmnMscRaw2Digit::SumEvent7().
|
inline |
Get the period ID for this event
Definition at line 94 of file BmnEventHeader.h.
|
inline |
Definition at line 190 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Definition at line 190 of file BmnEventHeader.h.
|
inline |
Get wether new spill is started
Definition at line 110 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Get wether new spill is started
Definition at line 110 of file BmnEventHeader.h.
|
inline |
Definition at line 189 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Definition at line 189 of file BmnEventHeader.h.
|
inline |
Definition at line 112 of file BmnEventHeader.h.
Referenced by BmnHgndRaw2Digit::fillEvent().
|
inline |
Definition at line 112 of file BmnEventHeader.h.
|
inline |
Definition at line 113 of file BmnEventHeader.h.
|
inline |
Definition at line 113 of file BmnEventHeader.h.
|
inline |
Definition at line 137 of file BmnEventHeader.h.
|
inline |
Definition at line 137 of file BmnEventHeader.h.
|
inline |
Get the spill statistics
Definition at line 116 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnMscRaw2Digit::SumEvent7().
|
inline |
Get the spill statistics
Definition at line 116 of file BmnEventHeader.h.
|
inline |
Get the trip word for this event
Definition at line 107 of file BmnEventHeader.h.
|
inline |
Get the trip word for this event
Definition at line 107 of file BmnEventHeader.h.
|
inline |
Get the time for this event
Definition at line 101 of file BmnEventHeader.h.
Referenced by BmnVspRaw2Digit::FillEvent().
|
inline |
Get the time for this event
Definition at line 101 of file BmnEventHeader.h.
|
inlinevirtual |
Definition at line 80 of file BmnEventHeader.h.
|
inlinevirtual |
Definition at line 80 of file BmnEventHeader.h.
|
inline |
Set the event ID for this event
| event_id | : unique event id |
Definition at line 145 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), BmnDecoSource::ReadEvent(), and BmnProfilometerSource::ReadEvent().
|
inline |
Set the event ID for this event
| event_id | : unique event id |
Definition at line 145 of file BmnEventHeader.h.
|
inline |
Definition at line 154 of file BmnEventHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 154 of file BmnEventHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Set the time for this event in
Definition at line 153 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), and BmnDecoSource::ReadEvent().
|
inline |
Set the time for this event in
Definition at line 153 of file BmnEventHeader.h.
|
inline |
Set the type for this event
| type | : type (0 or 1) |
Definition at line 162 of file BmnEventHeader.h.
Referenced by BmnRawSource::ConvertStatEvent(), BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), BmnEmbedding::Embed(), BmnDecoSource::ReadEvent(), and BmnRawSource::SetRawEventStat().
|
inline |
Set the type for this event
| type | : type (0 or 1) |
Definition at line 162 of file BmnEventHeader.h.
|
inline |
Set Event Header branch name
Definition at line 140 of file BmnEventHeader.h.
|
inline |
Set Event Header branch name
Definition at line 140 of file BmnEventHeader.h.
|
inline |
Set the Input signal states, after reduction
Definition at line 180 of file BmnEventHeader.h.
References v.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Set the Input signal states, after reduction
Definition at line 180 of file BmnEventHeader.h.
References v.
|
inline |
Set the Input signal states, before reduction
Definition at line 183 of file BmnEventHeader.h.
References v.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Set the Input signal states, before reduction
Definition at line 183 of file BmnEventHeader.h.
References v.
|
inline |
Set the Input signals vector, each word is a state of input trigger states in a TRC clock time slice
Definition at line 186 of file BmnEventHeader.h.
References v.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Set the Input signals vector, each word is a state of input trigger states in a TRC clock time slice
Definition at line 186 of file BmnEventHeader.h.
References v.
|
inline |
Set the period ID for this event
| period_id | : period id |
Definition at line 150 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnEmbedding::Embed().
|
inline |
Set the period ID for this event
| period_id | : period id |
Definition at line 150 of file BmnEventHeader.h.
|
inline |
Definition at line 191 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Definition at line 191 of file BmnEventHeader.h.
|
inline |
Definition at line 166 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnProfilometerSource::ReadEvent().
|
inline |
Definition at line 166 of file BmnEventHeader.h.
|
inline |
Definition at line 188 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), and BmnDecoder::DecodeOffline().
|
inline |
Definition at line 188 of file BmnEventHeader.h.
|
inline |
Definition at line 168 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Definition at line 168 of file BmnEventHeader.h.
|
inline |
Definition at line 193 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Definition at line 193 of file BmnEventHeader.h.
|
inline |
Definition at line 174 of file BmnEventHeader.h.
References BmnTrigInfo::SetFrom().
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Definition at line 174 of file BmnEventHeader.h.
References BmnTrigInfo::SetFrom().
|
inline |
Definition at line 164 of file BmnEventHeader.h.
Referenced by BmnDecoder::DecodeDataToDigiIterate(), BmnDecoder::DecodeOffline(), and BmnDecoSource::ReadEvent().
|
inline |
Definition at line 164 of file BmnEventHeader.h.
|
inline |
Set the time for this event in
Definition at line 157 of file BmnEventHeader.h.
Referenced by BmnVspRaw2Digit::FillEvent().
|
inline |
Set the time for this event in
Definition at line 157 of file BmnEventHeader.h.