CbmRoot
|
#include <AccDataSis18.h>
Public Member Functions | |
AccTimingEvent ()=default | |
AccTimingEvent (uint64_t ulPlannedUTCIn, uint64_t ulPlannedTAIIn, uint64_t ulRawEventIn, uint64_t ulRawParamsIn, uint32_t uRawTimingFlagsIn, uint64_t ulExecutedUTCIn, uint64_t ulExecutedTAIIn) | |
AccTimingEvent (std::string sLine, bool bVerbose=false) | |
virtual | ~AccTimingEvent ()=default |
void | Print () const |
uint32_t | GetGroupId () const |
uint32_t | GetEventId () const |
uint64_t | GetTime () const |
bool | IsCycleStart () const |
bool | IsCycleEnd () const |
bool | IsExtractionStart () const |
bool | IsExtractionEnd () const |
bool | operator< (const AccTimingEvent &rhs) |
bool | operator< (const uint64_t &rhs) |
Private Member Functions | |
ClassDef (AccTimingEvent, 1) | |
Private Attributes | |
uint64_t | fulPlannedUTC = 0 |
Fields. | |
uint64_t | fulPlannedTAI = 0 |
uint64_t | fulRawEvent = 0 |
uint64_t | fulRawParams = 0 |
uint32_t | fuRawTimingFlags = 0 |
uint64_t | fulExecutedUTC = 0 |
uint64_t | fulExecutedTAI = 0 |
Static Private Attributes | |
static const uint32_t | kNbBitsFormatId = 4 |
static const uint32_t | kNbBitsGroupId = 12 |
static const uint32_t | kNbBitsEventId = 12 |
static const uint32_t | kNbBitsFlags = 4 |
static const uint32_t | kNbBitsSequenceId = 12 |
static const uint32_t | kNbBitsBeamProcId = 14 |
static const uint32_t | kNbBitsReserved = 6 |
static const uint32_t | kOffsetReserved = 0 |
----> Field offset | |
static const uint32_t | kOffsetBeamProcId = kOffsetReserved + kNbBitsReserved |
static const uint32_t | kOffsetSequenceId = kOffsetBeamProcId + kNbBitsBeamProcId |
static const uint32_t | kOffsetFlags = kOffsetSequenceId + kNbBitsSequenceId |
static const uint32_t | kOffsetEventId = kOffsetFlags + kNbBitsFlags |
static const uint32_t | kOffsetGroupId = kOffsetEventId + kNbBitsEventId |
static const uint32_t | kOffsetFormatId = kOffsetGroupId + kNbBitsGroupId |
static const uint32_t | kEventIdStartCycle = 32 |
static const uint32_t | kEventIdExtrStartSlow = 46 |
static const uint32_t | kEventIdExtrEnd = 51 |
static const uint32_t | kEventIdEndCycle = 55 |
static const uint32_t | kEventIdExtrStopSlow = 78 |
Friends | |
bool | operator< (const uint64_t &lhs, const AccTimingEvent &rhs) |
Needed for finding time position within a vector of AccTimingEvent with lower_bound/upper_bound. | |
Definition at line 11 of file AccDataSis18.h.
|
default |
AccTimingEvent::AccTimingEvent | ( | uint64_t | ulPlannedUTCIn, |
uint64_t | ulPlannedTAIIn, | ||
uint64_t | ulRawEventIn, | ||
uint64_t | ulRawParamsIn, | ||
uint32_t | uRawTimingFlagsIn, | ||
uint64_t | ulExecutedUTCIn, | ||
uint64_t | ulExecutedTAIIn ) |
Definition at line 12 of file AccDataSis18.cxx.
AccTimingEvent::AccTimingEvent | ( | std::string | sLine, |
bool | bVerbose = false ) |
Definition at line 25 of file AccDataSis18.cxx.
References fulExecutedTAI, fulExecutedUTC, fulPlannedTAI, fulPlannedUTC, fulRawEvent, fulRawParams, fuRawTimingFlags, and Print().
|
virtualdefault |
|
private |
|
inline |
Definition at line 25 of file AccDataSis18.h.
References fulRawEvent, kNbBitsEventId, and kOffsetEventId.
Referenced by IsCycleEnd(), IsCycleStart(), IsExtractionEnd(), and IsExtractionStart().
|
inline |
Definition at line 24 of file AccDataSis18.h.
References fulRawEvent, kNbBitsGroupId, and kOffsetGroupId.
|
inline |
Definition at line 27 of file AccDataSis18.h.
References fulPlannedUTC.
|
inline |
Definition at line 30 of file AccDataSis18.h.
References GetEventId(), and kEventIdEndCycle.
Referenced by AccStatusTs::IsCycleOnAtStart().
|
inline |
Definition at line 29 of file AccDataSis18.h.
References GetEventId(), and kEventIdStartCycle.
|
inline |
Definition at line 32 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrEnd.
|
inline |
Definition at line 31 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrStartSlow.
Referenced by AccStatusTs::IsSpillOnAtStart().
|
inline |
Definition at line 34 of file AccDataSis18.h.
References fulPlannedUTC.
|
inline |
Definition at line 35 of file AccDataSis18.h.
References fulPlannedUTC.
void AccTimingEvent::Print | ( | ) | const |
Definition at line 114 of file AccDataSis18.cxx.
References fulExecutedTAI, fulExecutedUTC, fulPlannedTAI, fulPlannedUTC, fulRawEvent, fulRawParams, and fuRawTimingFlags.
Referenced by AccTimingEvent().
|
friend |
Needed for finding time position within a vector of AccTimingEvent with lower_bound/upper_bound.
Definition at line 38 of file AccDataSis18.h.
|
private |
Definition at line 83 of file AccDataSis18.h.
Referenced by AccTimingEvent(), and Print().
|
private |
Definition at line 82 of file AccDataSis18.h.
Referenced by AccTimingEvent(), and Print().
|
private |
Definition at line 78 of file AccDataSis18.h.
Referenced by AccTimingEvent(), and Print().
|
private |
Fields.
Definition at line 77 of file AccDataSis18.h.
Referenced by AccTimingEvent(), GetTime(), operator<(), operator<(), and Print().
|
private |
Definition at line 79 of file AccDataSis18.h.
Referenced by AccTimingEvent(), GetEventId(), GetGroupId(), and Print().
|
private |
Definition at line 80 of file AccDataSis18.h.
Referenced by AccTimingEvent(), and Print().
|
private |
Definition at line 81 of file AccDataSis18.h.
Referenced by AccTimingEvent(), and Print().
|
staticprivate |
Definition at line 73 of file AccDataSis18.h.
Referenced by IsCycleEnd().
|
staticprivate |
Definition at line 72 of file AccDataSis18.h.
Referenced by IsExtractionEnd().
|
staticprivate |
Definition at line 71 of file AccDataSis18.h.
Referenced by IsExtractionStart().
|
staticprivate |
Definition at line 74 of file AccDataSis18.h.
|
staticprivate |
--> Event types Dec Hex Name Meaning
Spill limits 46 2E EVT_EXTR_START_SLOW Start of extraction 51 33 EVT_EXTR_END End of extraction 78 4E EVT_EXTR_STOP_SLOW End of slow extraction
Cycle limits 32 20 EVT_START_CYCLE First Event in a cycle 55 37 EVT_END_CYCLE End of a cycle
Definition at line 70 of file AccDataSis18.h.
Referenced by IsCycleStart().
|
staticprivate |
Definition at line 49 of file AccDataSis18.h.
|
staticprivate |
Definition at line 46 of file AccDataSis18.h.
Referenced by GetEventId().
|
staticprivate |
Definition at line 47 of file AccDataSis18.h.
|
staticprivate |
Constants --> Bit fields of the Raw event descriptor ----> Field size
Definition at line 44 of file AccDataSis18.h.
|
staticprivate |
Definition at line 45 of file AccDataSis18.h.
Referenced by GetGroupId().
|
staticprivate |
Definition at line 50 of file AccDataSis18.h.
|
staticprivate |
Definition at line 48 of file AccDataSis18.h.
|
staticprivate |
Definition at line 53 of file AccDataSis18.h.
|
staticprivate |
Definition at line 56 of file AccDataSis18.h.
Referenced by GetEventId().
|
staticprivate |
Definition at line 55 of file AccDataSis18.h.
|
staticprivate |
Definition at line 58 of file AccDataSis18.h.
|
staticprivate |
Definition at line 57 of file AccDataSis18.h.
Referenced by GetGroupId().
|
staticprivate |
----> Field offset
Definition at line 52 of file AccDataSis18.h.
|
staticprivate |
Definition at line 54 of file AccDataSis18.h.