|
BmnRoot
|
#include <DigiRunHeader.h>
Public Member Functions | |
| DigiRunHeader () | |
| DigiRunHeader (UInt_t period_id, UInt_t run_id, TTimeStamp run_start_time, TTimeStamp run_end_time) | |
| virtual | ~DigiRunHeader () |
| ULong64_t | GetPeriodId () |
| ULong64_t | GetRunId () |
| ULong64_t | GetNEvents () |
| ULong64_t | GetBT () |
| ULong64_t | GetBTnBusy () |
| Double_t | GetBTAccepted () |
| ULong64_t | GetAccepted () |
| ULong64_t | GetProtection () |
| ULong64_t | GetL0 () |
| T0ChMap & | T0Map () |
| NameChMap & | GetTrcBitMap () |
| Name2SerCh & | GetScalerMap () |
| NameChMap & | ScalersName2IndexMap () |
| vector< string > & | ScalersIndex2NameMap () |
| map< uint16_t, uint16_t > & | TrcIndex2ScalerIndexMap () |
| void | PrintScalers () |
| vector< uint64_t > & | ScalersVec () |
| ULong64_t | GetScaler (string name) |
| ULong64_t | GetRawT0Counter (string name, UInt_t ch=0) |
| std::array< ULong64_t, kT0_BIN_BLOCK_WORDS > & | RawT0Counters () |
| MapString2Cnt & | EventTriggerCnt () |
| unordered_map< UInt_t, vector< uint64_t > > & | GetRawMSC () |
| map< SysPoint, BmnSpillInfo > & | GetSpillMap () |
| BmnTrigConfig & | GetTrigConfig () |
| TTimeStamp | GetRunStartTime () |
| SysPoint | GetRunStartTP () |
| TTimeStamp | GetRunEndTime () |
| SysPoint | GetRunEndTP () |
| void | SetPeriodId (UInt_t period_id) |
| void | SetRunId (UInt_t run_id) |
| void | SetNEvents (ULong64_t events) |
| void | SetRunStartTime (TTimeStamp run_start_time) |
| void | SetRunStartTP (SysPoint run_start_time) |
| void | SetRunEndTime (TTimeStamp run_end_time) |
| void | SetRunEndTP (SysPoint run_end_time) |
| void | SetBT (ULong64_t cntr) |
| void | SetBTnBusy (ULong64_t cntr) |
| void | SetBTAccepted (Double_t cntr) |
| void | SetAccepted (ULong64_t cntr) |
| void | SetProtection (ULong64_t cntr) |
| void | SetL0 (ULong64_t cntr) |
| void | SetRawMSC (unordered_map< UInt_t, vector< uint64_t > > v) |
| void | SetSpillMap (map< SysPoint, BmnSpillInfo > v) |
| void | SetTrigConfig (BmnTrigConfig tc) |
| DigiRunHeader () | |
| DigiRunHeader (UInt_t period_id, UInt_t run_id, TTimeStamp run_start_time, TTimeStamp run_end_time) | |
| virtual | ~DigiRunHeader () |
| ULong64_t | GetPeriodId () |
| ULong64_t | GetRunId () |
| ULong64_t | GetNEvents () |
| ULong64_t | GetBT () |
| ULong64_t | GetBTnBusy () |
| Double_t | GetBTAccepted () |
| ULong64_t | GetAccepted () |
| ULong64_t | GetProtection () |
| ULong64_t | GetL0 () |
| T0ChMap & | T0Map () |
| NameChMap & | GetTrcBitMap () |
| Name2SerCh & | GetScalerMap () |
| NameChMap & | ScalersName2IndexMap () |
| vector< string > & | ScalersIndex2NameMap () |
| map< uint16_t, uint16_t > & | TrcIndex2ScalerIndexMap () |
| void | PrintScalers () |
| vector< uint64_t > & | ScalersVec () |
| ULong64_t | GetScaler (string name) |
| ULong64_t | GetRawT0Counter (string name, UInt_t ch=0) |
| std::array< ULong64_t, kT0_BIN_BLOCK_WORDS > & | RawT0Counters () |
| MapString2Cnt & | EventTriggerCnt () |
| unordered_map< UInt_t, vector< uint64_t > > & | GetRawMSC () |
| map< SysPoint, BmnSpillInfo > & | GetSpillMap () |
| BmnTrigConfig & | GetTrigConfig () |
| TTimeStamp | GetRunStartTime () |
| SysPoint | GetRunStartTP () |
| TTimeStamp | GetRunEndTime () |
| SysPoint | GetRunEndTP () |
| void | SetPeriodId (UInt_t period_id) |
| void | SetRunId (UInt_t run_id) |
| void | SetNEvents (ULong64_t events) |
| void | SetRunStartTime (TTimeStamp run_start_time) |
| void | SetRunStartTP (SysPoint run_start_time) |
| void | SetRunEndTime (TTimeStamp run_end_time) |
| void | SetRunEndTP (SysPoint run_end_time) |
| void | SetBT (ULong64_t cntr) |
| void | SetBTnBusy (ULong64_t cntr) |
| void | SetBTAccepted (Double_t cntr) |
| void | SetAccepted (ULong64_t cntr) |
| void | SetProtection (ULong64_t cntr) |
| void | SetL0 (ULong64_t cntr) |
| void | SetRawMSC (unordered_map< UInt_t, vector< uint64_t > > v) |
| void | SetSpillMap (map< SysPoint, BmnSpillInfo > v) |
| void | SetTrigConfig (BmnTrigConfig tc) |
Definition at line 20 of file DigiRunHeader.h.
| DigiRunHeader::DigiRunHeader | ( | ) |
Default constructor
Definition at line 5 of file DigiRunHeader.cxx.
| DigiRunHeader::DigiRunHeader | ( | UInt_t | period_id, |
| UInt_t | run_id, | ||
| TTimeStamp | run_start_time, | ||
| TTimeStamp | run_end_time | ||
| ) |
Constructor
| [in] | period_id | : unique period id |
| [in] | run_id | : unique run id |
| [in] | run_start_time | : run start time |
| [in] | run_end_time | : run end time |
Definition at line 11 of file DigiRunHeader.cxx.
|
virtual |
Destructor
Definition at line 19 of file DigiRunHeader.cxx.
| DigiRunHeader::DigiRunHeader | ( | ) |
Default constructor
| DigiRunHeader::DigiRunHeader | ( | UInt_t | period_id, |
| UInt_t | run_id, | ||
| TTimeStamp | run_start_time, | ||
| TTimeStamp | run_end_time | ||
| ) |
Constructor
| [in] | period_id | : unique period id |
| [in] | run_id | : unique run id |
| [in] | run_start_time | : run start time |
| [in] | run_end_time | : run end time |
|
virtual |
Destructor
|
inline |
Definition at line 120 of file DigiRunHeader.h.
|
inline |
Definition at line 120 of file DigiRunHeader.h.
|
inline |
Get the Accepted by live time
Definition at line 84 of file DigiRunHeader.h.
|
inline |
Get the Accepted by live time
Definition at line 84 of file DigiRunHeader.h.
|
inline |
Get the BeamTrigger counter
Definition at line 78 of file DigiRunHeader.h.
|
inline |
Get the BeamTrigger counter
Definition at line 78 of file DigiRunHeader.h.
|
inline |
Get the (BT and not Busy) by live time
Definition at line 82 of file DigiRunHeader.h.
|
inline |
Get the (BT and not Busy) by live time
Definition at line 82 of file DigiRunHeader.h.
|
inline |
Get the BT and not Busy
Definition at line 80 of file DigiRunHeader.h.
|
inline |
Get the BT and not Busy
Definition at line 80 of file DigiRunHeader.h.
|
inline |
Get the L0
Definition at line 88 of file DigiRunHeader.h.
|
inline |
Get the L0
Definition at line 88 of file DigiRunHeader.h.
|
inline |
Get the event count
Definition at line 76 of file DigiRunHeader.h.
|
inline |
Get the event count
Definition at line 76 of file DigiRunHeader.h.
|
inline |
Get the period ID for this run
Definition at line 72 of file DigiRunHeader.h.
|
inline |
Get the period ID for this run
Definition at line 72 of file DigiRunHeader.h.
|
inline |
Get the Trigger Protection
Definition at line 86 of file DigiRunHeader.h.
|
inline |
Get the Trigger Protection
Definition at line 86 of file DigiRunHeader.h.
|
inline |
Get the raw MSC counters
Definition at line 124 of file DigiRunHeader.h.
|
inline |
Get the raw MSC counters
Definition at line 124 of file DigiRunHeader.h.
| ULong64_t DigiRunHeader::GetRawT0Counter | ( | string | name, |
| UInt_t | ch = 0 |
||
| ) |
Definition at line 31 of file DigiRunHeader.cxx.
| ULong64_t DigiRunHeader::GetRawT0Counter | ( | string | name, |
| UInt_t | ch = 0 |
||
| ) |
|
inline |
Definition at line 132 of file DigiRunHeader.h.
|
inline |
Definition at line 132 of file DigiRunHeader.h.
|
inline |
Definition at line 133 of file DigiRunHeader.h.
References BmnFunctionSet::TimeStamp2TP().
|
inline |
Definition at line 133 of file DigiRunHeader.h.
References BmnFunctionSet::TimeStamp2TP().
|
inline |
Get the run ID
Definition at line 74 of file DigiRunHeader.h.
|
inline |
Get the run ID
Definition at line 74 of file DigiRunHeader.h.
|
inline |
Definition at line 130 of file DigiRunHeader.h.
|
inline |
Definition at line 130 of file DigiRunHeader.h.
|
inline |
Definition at line 131 of file DigiRunHeader.h.
References BmnFunctionSet::TimeStamp2TP().
|
inline |
Definition at line 131 of file DigiRunHeader.h.
References BmnFunctionSet::TimeStamp2TP().
| ULong64_t DigiRunHeader::GetScaler | ( | string | name | ) |
Definition at line 21 of file DigiRunHeader.cxx.
| ULong64_t DigiRunHeader::GetScaler | ( | string | name | ) |
|
inline |
MSC bit map
Definition at line 94 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
MSC bit map
Definition at line 94 of file DigiRunHeader.h.
|
inline |
Definition at line 125 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
Definition at line 125 of file DigiRunHeader.h.
|
inline |
TRC bit map
Definition at line 92 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
TRC bit map
Definition at line 92 of file DigiRunHeader.h.
|
inline |
Get DAQ trigger config
Definition at line 128 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
Get DAQ trigger config
Definition at line 128 of file DigiRunHeader.h.
|
inline |
Definition at line 102 of file DigiRunHeader.h.
|
inline |
Definition at line 102 of file DigiRunHeader.h.
|
inline |
Raw T0 counters (sum over all spills)
Definition at line 118 of file DigiRunHeader.h.
|
inline |
Raw T0 counters (sum over all spills)
Definition at line 118 of file DigiRunHeader.h.
|
inline |
Definition at line 98 of file DigiRunHeader.h.
|
inline |
Definition at line 98 of file DigiRunHeader.h.
|
inline |
Definition at line 96 of file DigiRunHeader.h.
|
inline |
Definition at line 96 of file DigiRunHeader.h.
|
inline |
Definition at line 111 of file DigiRunHeader.h.
|
inline |
Definition at line 111 of file DigiRunHeader.h.
|
inline |
Set the Accepted counter
| [in] | cntr | : Accepted counter |
Definition at line 174 of file DigiRunHeader.h.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
Set the Accepted counter
| [in] | cntr | : Accepted counter |
Definition at line 174 of file DigiRunHeader.h.
|
inline |
Set the Beam Trigger counter
| [in] | cntr | : Beam Trigger counter |
Definition at line 162 of file DigiRunHeader.h.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
Set the Beam Trigger counter
| [in] | cntr | : Beam Trigger counter |
Definition at line 162 of file DigiRunHeader.h.
|
inline |
Set the (BT and not Busy) by live time
| [in] | cntr | : BT Accepted |
Definition at line 170 of file DigiRunHeader.h.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
Set the (BT and not Busy) by live time
| [in] | cntr | : BT Accepted |
Definition at line 170 of file DigiRunHeader.h.
|
inline |
Set the BT and Busy counter
| [in] | cntr | : BT and Busy |
Definition at line 166 of file DigiRunHeader.h.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
Set the BT and Busy counter
| [in] | cntr | : BT and Busy |
Definition at line 166 of file DigiRunHeader.h.
|
inline |
Set the L0 counter
| [in] | cntr | : L0 counter |
Definition at line 182 of file DigiRunHeader.h.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
|
inline |
Set the event count
Definition at line 145 of file DigiRunHeader.h.
|
inline |
Set the event count
Definition at line 145 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | period_id | : unique period id |
Definition at line 138 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | period_id | : unique period id |
Definition at line 138 of file DigiRunHeader.h.
|
inline |
Set the Trigger Protection counter
| [in] | cntr | : Trigger Protection counter |
Definition at line 178 of file DigiRunHeader.h.
|
inline |
Set the Trigger Protection counter
| [in] | cntr | : Trigger Protection counter |
Definition at line 178 of file DigiRunHeader.h.
|
inline |
Set the raw MSC counters
| [in] | v | : map < MSC serial, counters vector> |
Definition at line 186 of file DigiRunHeader.h.
References v.
Referenced by BmnMscRaw2Digit::FillRunHeader().
|
inline |
Set the raw MSC counters
| [in] | v | : map < MSC serial, counters vector> |
Definition at line 186 of file DigiRunHeader.h.
References v.
|
inline |
Set the period ID for this run
| [in] | run_end_time | : run end time |
Definition at line 156 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | run_end_time | : run end time |
Definition at line 156 of file DigiRunHeader.h.
|
inline |
Definition at line 157 of file DigiRunHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 157 of file DigiRunHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Set the period ID for this run
| [in] | run_id | : unique run id |
Definition at line 143 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | run_id | : unique run id |
Definition at line 143 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | run_start_time | : run start time |
Definition at line 150 of file DigiRunHeader.h.
|
inline |
Set the period ID for this run
| [in] | run_start_time | : run start time |
Definition at line 150 of file DigiRunHeader.h.
|
inline |
Definition at line 151 of file DigiRunHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 151 of file DigiRunHeader.h.
References BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 191 of file DigiRunHeader.h.
References v.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
Definition at line 191 of file DigiRunHeader.h.
References v.
|
inline |
Definition at line 197 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
Definition at line 197 of file DigiRunHeader.h.
|
inline |
Ref to the T0 map
Definition at line 90 of file DigiRunHeader.h.
Referenced by BmnDecoder::DecodeOffline().
|
inline |
Ref to the T0 map
Definition at line 90 of file DigiRunHeader.h.
|
inline |
Definition at line 100 of file DigiRunHeader.h.
|
inline |
Definition at line 100 of file DigiRunHeader.h.