|
BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
|
#include <BmnSpillHeader.h>
Public Member Functions | |
| BmnSpillHeader (UInt_t period_id=0, UInt_t event_id=0) | |
| Constructor. | |
| virtual | ~BmnSpillHeader () |
| Destructor. | |
| void | Clear () |
| UInt_t | GetFirstEventId () |
| Get the the first event ID for the spill. | |
| UInt_t | GetLastEventId () |
| Get the the last event ID for the spill. | |
| UInt_t | GetNEvents () |
| Get the event count in the spill. | |
| UInt_t | GetPeriodId () |
| Get the period ID. | |
| UInt_t | GetSpillId () |
| Get the spill ID. | |
| MapString2Cnt & | Scalers () |
| MapString2Cnt & | EventTriggerCnt () |
| array< UInt_t, kT0_BIN_BLOCK_WORDS > & | RawT0Counters () |
| const SysPoint | GetStartTime () |
| Get the start TS. | |
| const SysPoint | GetStopTime () |
| Get the stop TS. | |
| const TTimeStamp & | GetStartTS () |
| Get the start TS. | |
| const TTimeStamp & | GetStopTS () |
| Get the stop TS. | |
| const SysPoint | GetFirstEventTime () |
| Get time the first event in the spill. | |
| const SysPoint | GetLastEventTime () |
| Get time the last event in the spill. | |
| const TTimeStamp & | GetFirstEventTS () |
| Get time the first event in the spill. | |
| const TTimeStamp & | GetLastEventTS () |
| Get time the last event in the spill. | |
| void | SetCand (UInt_t _v) |
| UInt_t | GetCand () |
| void | SetAccepted (UInt_t _v) |
| UInt_t | GetAccepted () |
| void | SetBefo (UInt_t _v) |
| UInt_t | GetBefo () |
| void | SetAfter (UInt_t _v) |
| UInt_t | GetAfter () |
| void | SetRjct (UInt_t _v) |
| UInt_t | GetRjct () |
| void | SetAll (UInt_t _v) |
| UInt_t | GetAll () |
| void | SetAvail (UInt_t _v) |
| UInt_t | GetAvail () |
| void | SetBT (UInt_t _v) |
| UInt_t | GetBT () |
| void | SetBTnBusy (UInt_t _v) |
| UInt_t | GetBTnBusy () |
| void | SetL0 (UInt_t _v) |
| UInt_t | GetL0 () |
| void | SetProt (UInt_t _v) |
| UInt_t | GetProt () |
| void | SetBC1 (UInt_t _v) |
| UInt_t | GetBC1 () |
| void | SetBC2 (UInt_t _v) |
| UInt_t | GetBC2 () |
| void | SetBC3 (UInt_t _v) |
| UInt_t | GetBC3 () |
| void | SetFirstEventId (UInt_t event_id) |
| Set the first event ID for the spill. | |
| void | SetLastEventId (UInt_t event_id) |
| Set the last event ID for the spill. | |
| void | SetNEvents (UInt_t events) |
| Set the event count in the spill. | |
| void | SetPeriodId (UInt_t period_id) |
| Set the period ID. | |
| void | SetSpillId (UInt_t spill) |
| Set the spill ID. | |
| void | SetStartTime (const SysPoint &time) |
| Set the time for spill start. | |
| void | SetStopTime (const SysPoint &time) |
| Set the time for spill stop. | |
| void | SetStartTS (const TTimeStamp &ts) |
| Set the time for spill start. | |
| void | SetStopTS (const TTimeStamp &ts) |
| Set the time for spill stop. | |
| void | SetFirstEventTime (const SysPoint &time) |
| Set the time for the first event in the spill. | |
| void | SetLastEventTime (const SysPoint &time) |
| Set the time for the last event in the spill. | |
| void | SetFirstEventTS (const TTimeStamp &ts) |
| Set the time for the first event in the spill. | |
| void | SetLastEventTS (const TTimeStamp &ts) |
| Set the time for the last event in the spill. | |
| Public Member Functions inherited from TObject | |
| TObject () | |
| TObject (const TObject &object) | |
| virtual | ~TObject () |
| void | AbstractMethod (const char *method) const |
| virtual void | AppendPad (Option_t *option="") |
| virtual void | Browse (TBrowser *b) |
| ULong_t | CheckedHash () |
| virtual const char * | ClassName () const |
| virtual void | Clear (Option_t *="") |
| virtual TObject * | Clone (const char *newname="") const |
| virtual Int_t | Compare (const TObject *obj) const |
| virtual void | Copy (TObject &object) const |
| virtual void | Delete (Option_t *option="") |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | Draw (Option_t *option="") |
| virtual void | DrawClass () const |
| virtual TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual const char * | GetName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual const char * | GetTitle () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| virtual ULong_t | Hash () const |
| Bool_t | HasInconsistentHash () const |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| virtual void | Inspect () const |
| void | InvertBit (UInt_t f) |
| virtual TClass * | IsA () const |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| virtual Bool_t | IsSortable () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| virtual void | ls (Option_t *option="") const |
| void | MayNotUse (const char *method) const |
| virtual Bool_t | Notify () |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (const TObject &rhs) |
| virtual void | Paint (Option_t *option="") |
| virtual void | Pop () |
| virtual void | Print (Option_t *option="") const |
| virtual Int_t | Read (const char *name) |
| virtual void | RecursiveRemove (TObject *obj) |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| virtual void | SetDrawOption (Option_t *option="") |
| virtual void | SetUniqueID (UInt_t uid) |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UseCurrentStyle () |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Private Attributes | |
| UInt_t | fEventIdStart |
| Event Id. | |
| UInt_t | fEventIdEnd |
| Event Id. | |
| UInt_t | fEventCnt |
| Event count. | |
| UInt_t | fPeriodId |
| Period Id. | |
| UInt_t | fSpillId |
| Spill Id. | |
| TTimeStamp | fStartTS |
| TTimeStamp | fStopTS |
| TTimeStamp | fFirstEventTS |
| TTimeStamp | fLastEventTS |
| MapString2Cnt | fScalersTotal |
| MapString2Cnt | fEventTrigCount |
| array< UInt_t, kT0_BIN_BLOCK_WORDS > | fRawT0Cntrs |
| UInt_t | fBeamTrigger |
| UInt_t | fBTnBusy |
| UInt_t | fL0 |
| UInt_t | fTrigProtection |
| UInt_t | fBC1 |
| UInt_t | fBC2 |
| UInt_t | fBC3 |
| UInt_t | fAccepted |
| UInt_t | fCand |
| UInt_t | fBP |
| UInt_t | fAP |
| UInt_t | fRj |
| UInt_t | fAll |
| UInt_t | fAvail |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| Protected Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
| Static Protected Member Functions inherited from TObject | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE) |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Definition at line 23 of file BmnSpillHeader.h.
Definition at line 5 of file BmnSpillHeader.cxx.
References fAccepted, fAll, fAP, fAvail, fBC1, fBC2, fBC3, fBeamTrigger, fBP, fBTnBusy, fCand, fEventCnt, fEventIdEnd, fEventIdStart, fFirstEventTS, fL0, fLastEventTS, fPeriodId, fRawT0Cntrs, fRj, fSpillId, fStartTS, fStopTS, and fTrigProtection.
|
virtual |
Definition at line 38 of file BmnSpillHeader.cxx.
| void BmnSpillHeader::Clear | ( | ) |
Definition at line 43 of file BmnSpillHeader.cxx.
References fAccepted, fAll, fAP, fAvail, fBC1, fBC2, fBC3, fBeamTrigger, fBP, fBTnBusy, fCand, fEventCnt, fEventIdEnd, fEventIdStart, fEventTrigCount, fFirstEventTS, fL0, fLastEventTS, fPeriodId, fRawT0Cntrs, fRj, fScalersTotal, fSpillId, fStartTS, fStopTS, and fTrigProtection.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 95 of file BmnSpillHeader.h.
References fEventTrigCount.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 133 of file BmnSpillHeader.h.
References fAccepted.
|
inline |
Definition at line 141 of file BmnSpillHeader.h.
References fAP.
|
inline |
Definition at line 149 of file BmnSpillHeader.h.
References fAll.
|
inline |
Definition at line 153 of file BmnSpillHeader.h.
References fAvail.
|
inline |
Definition at line 173 of file BmnSpillHeader.h.
References fBC1.
|
inline |
Definition at line 177 of file BmnSpillHeader.h.
References fBC2.
|
inline |
Definition at line 181 of file BmnSpillHeader.h.
References fBC3.
|
inline |
Definition at line 137 of file BmnSpillHeader.h.
References fBP.
|
inline |
Definition at line 157 of file BmnSpillHeader.h.
References fBeamTrigger.
|
inline |
Definition at line 161 of file BmnSpillHeader.h.
References fBTnBusy.
|
inline |
Definition at line 129 of file BmnSpillHeader.h.
References fCand.
|
inline |
Definition at line 77 of file BmnSpillHeader.h.
References fEventIdStart.
|
inline |
Definition at line 114 of file BmnSpillHeader.h.
References fFirstEventTS, and BmnFunctionSet::TimeStamp2TP().
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 120 of file BmnSpillHeader.h.
References fFirstEventTS.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 165 of file BmnSpillHeader.h.
References fL0.
|
inline |
Definition at line 79 of file BmnSpillHeader.h.
References fEventIdEnd.
|
inline |
Definition at line 117 of file BmnSpillHeader.h.
References fLastEventTS, and BmnFunctionSet::TimeStamp2TP().
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 124 of file BmnSpillHeader.h.
References fLastEventTS.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 81 of file BmnSpillHeader.h.
References fEventCnt.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 84 of file BmnSpillHeader.h.
References fPeriodId.
|
inline |
Definition at line 169 of file BmnSpillHeader.h.
References fTrigProtection.
|
inline |
Definition at line 145 of file BmnSpillHeader.h.
References fRj.
|
inline |
Definition at line 87 of file BmnSpillHeader.h.
References fSpillId.
|
inline |
Definition at line 100 of file BmnSpillHeader.h.
References fStartTS, and BmnFunctionSet::TimeStamp2TP().
Referenced by DrawSpill().
|
inline |
Definition at line 106 of file BmnSpillHeader.h.
References fStartTS.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 103 of file BmnSpillHeader.h.
References fStopTS, and BmnFunctionSet::TimeStamp2TP().
Referenced by DrawSpill().
|
inline |
Definition at line 110 of file BmnSpillHeader.h.
References fStopTS.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 97 of file BmnSpillHeader.h.
References fRawT0Cntrs.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 93 of file BmnSpillHeader.h.
References fScalersTotal.
Referenced by BmnMetadataDecoder::ReadSpillStat().
|
inline |
Definition at line 131 of file BmnSpillHeader.h.
References fAccepted.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 139 of file BmnSpillHeader.h.
References fAP.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 147 of file BmnSpillHeader.h.
References fAll.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 151 of file BmnSpillHeader.h.
References fAvail.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 171 of file BmnSpillHeader.h.
References fBC1.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 175 of file BmnSpillHeader.h.
References fBC2.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 179 of file BmnSpillHeader.h.
References fBC3.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 135 of file BmnSpillHeader.h.
References fBP.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 155 of file BmnSpillHeader.h.
References fBeamTrigger.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 159 of file BmnSpillHeader.h.
References fBTnBusy.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 127 of file BmnSpillHeader.h.
References fCand.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
| event_id | : unique event id |
Definition at line 186 of file BmnSpillHeader.h.
References fEventIdStart.
|
inline |
Definition at line 221 of file BmnSpillHeader.h.
References fFirstEventTS, and BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 227 of file BmnSpillHeader.h.
References fFirstEventTS.
|
inline |
Definition at line 163 of file BmnSpillHeader.h.
References fL0.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
| event_id | : unique event id |
Definition at line 191 of file BmnSpillHeader.h.
References fEventIdEnd.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 224 of file BmnSpillHeader.h.
References fLastEventTS, and BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 231 of file BmnSpillHeader.h.
References fLastEventTS.
|
inline |
Definition at line 194 of file BmnSpillHeader.h.
References fEventCnt.
|
inline |
| period_id | : unique period id |
Definition at line 199 of file BmnSpillHeader.h.
References fPeriodId.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 167 of file BmnSpillHeader.h.
References fTrigProtection.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
Definition at line 143 of file BmnSpillHeader.h.
References fRj.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
inline |
|
inline |
Definition at line 207 of file BmnSpillHeader.h.
References fStartTS, and BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 213 of file BmnSpillHeader.h.
References fStartTS.
|
inline |
Definition at line 210 of file BmnSpillHeader.h.
References fStopTS, and BmnFunctionSet::TimePoint2TS().
|
inline |
Definition at line 217 of file BmnSpillHeader.h.
References fStopTS.
Referenced by BmnMscRaw2Digit::SumEvent7().
|
private |
Definition at line 59 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetAccepted(), and SetAccepted().
|
private |
Definition at line 64 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetAll(), and SetAll().
|
private |
Definition at line 62 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetAfter(), and SetAfter().
|
private |
Definition at line 65 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetAvail(), and SetAvail().
|
private |
Definition at line 56 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBC1(), and SetBC1().
|
private |
Definition at line 57 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBC2(), and SetBC2().
|
private |
Definition at line 58 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBC3(), and SetBC3().
|
private |
Definition at line 52 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBT(), and SetBT().
|
private |
Definition at line 61 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBefo(), and SetBefo().
|
private |
Definition at line 53 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetBTnBusy(), and SetBTnBusy().
|
private |
Definition at line 60 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetCand(), and SetCand().
|
private |
Definition at line 31 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetNEvents(), and SetNEvents().
|
private |
Definition at line 29 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetLastEventId(), and SetLastEventId().
|
private |
Definition at line 27 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetFirstEventId(), and SetFirstEventId().
|
private |
Definition at line 47 of file BmnSpillHeader.h.
Referenced by Clear(), and EventTriggerCnt().
|
private |
Definition at line 42 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetFirstEventTime(), GetFirstEventTS(), SetFirstEventTime(), and SetFirstEventTS().
|
private |
Definition at line 54 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetL0(), and SetL0().
|
private |
Definition at line 43 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetLastEventTime(), GetLastEventTS(), SetLastEventTime(), and SetLastEventTS().
|
private |
Definition at line 33 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetPeriodId(), and SetPeriodId().
|
private |
Definition at line 50 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), and RawT0Counters().
|
private |
Definition at line 63 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetRjct(), and SetRjct().
|
private |
Definition at line 45 of file BmnSpillHeader.h.
|
private |
Definition at line 35 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetSpillId(), and SetSpillId().
|
private |
Definition at line 40 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetStartTime(), GetStartTS(), SetStartTime(), and SetStartTS().
|
private |
Definition at line 41 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetStopTime(), GetStopTS(), SetStopTime(), and SetStopTS().
|
private |
Definition at line 55 of file BmnSpillHeader.h.
Referenced by BmnSpillHeader(), Clear(), GetProt(), and SetProt().