|
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 | IsKickerStart () const |
| bool | IsExtractionStopSlow () const |
| bool | operator< (const AccTimingEvent &rhs) const |
| bool | operator< (const uint64_t &rhs) const |
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 | kEventIdExtrKickerStart = 49 |
| 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 14 of file AccDataSis18.h.
|
default |
Referenced by ClassDef(), operator<(), and operator<.
| 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.
References fulExecutedTAI, fulExecutedUTC, fulPlannedTAI, fulPlannedUTC, fulRawEvent, fulRawParams, and fuRawTimingFlags.
| 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 |
References AccTimingEvent().
|
inline |
Definition at line 28 of file AccDataSis18.h.
References fulRawEvent, kNbBitsEventId, and kOffsetEventId.
Referenced by IsCycleEnd(), IsCycleStart(), IsExtractionEnd(), IsExtractionStart(), IsExtractionStopSlow(), and IsKickerStart().
|
inline |
Definition at line 27 of file AccDataSis18.h.
References fulRawEvent, kNbBitsGroupId, and kOffsetGroupId.
|
inline |
Definition at line 30 of file AccDataSis18.h.
References fulPlannedUTC.
|
inline |
Definition at line 33 of file AccDataSis18.h.
References GetEventId(), and kEventIdEndCycle.
|
inline |
Definition at line 32 of file AccDataSis18.h.
References GetEventId(), and kEventIdStartCycle.
|
inline |
Definition at line 35 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrEnd.
Referenced by CbmRecoUnpack::InitSpillFilter().
|
inline |
Definition at line 34 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrStartSlow.
Referenced by CbmRecoUnpack::InitSpillFilter().
|
inline |
Definition at line 37 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrStopSlow.
Referenced by CbmRecoUnpack::InitSpillFilter().
|
inline |
Definition at line 36 of file AccDataSis18.h.
References GetEventId(), and kEventIdExtrKickerStart.
Referenced by CbmRecoUnpack::InitSpillFilter().
|
inline |
Definition at line 39 of file AccDataSis18.h.
References AccTimingEvent(), and fulPlannedUTC.
|
inline |
Definition at line 40 of file AccDataSis18.h.
References fulPlannedUTC.
| void AccTimingEvent::Print | ( | ) | const |
Definition at line 118 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 43 of file AccDataSis18.h.
References AccTimingEvent(), and fulPlannedUTC.
|
private |
Definition at line 90 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), and Print().
|
private |
Definition at line 89 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), and Print().
|
private |
Definition at line 85 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), and Print().
|
private |
Fields.
Definition at line 84 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), GetTime(), operator<(), operator<, operator<(), and Print().
|
private |
Definition at line 86 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), GetEventId(), GetGroupId(), and Print().
|
private |
Definition at line 87 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), and Print().
|
private |
Definition at line 88 of file AccDataSis18.h.
Referenced by AccTimingEvent(), AccTimingEvent(), and Print().
|
staticprivate |
Definition at line 80 of file AccDataSis18.h.
Referenced by IsCycleEnd().
|
staticprivate |
Definition at line 79 of file AccDataSis18.h.
Referenced by IsExtractionEnd().
|
staticprivate |
Definition at line 78 of file AccDataSis18.h.
Referenced by IsKickerStart().
|
staticprivate |
Definition at line 77 of file AccDataSis18.h.
Referenced by IsExtractionStart().
|
staticprivate |
Definition at line 81 of file AccDataSis18.h.
Referenced by IsExtractionStopSlow().
|
staticprivate |
--> Event types Dec Hex Name Meaning
Spill limits 46 2E EVT_EXTR_START_SLOW Start of slow extraction 49 31 EVT_EXTR_KICKER_START Start of fast 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 76 of file AccDataSis18.h.
Referenced by IsCycleStart().
|
staticprivate |
Definition at line 54 of file AccDataSis18.h.
|
staticprivate |
Definition at line 51 of file AccDataSis18.h.
Referenced by GetEventId().
|
staticprivate |
Definition at line 52 of file AccDataSis18.h.
|
staticprivate |
Constants --> Bit fields of the Raw event descriptor ----> Field size
Definition at line 49 of file AccDataSis18.h.
|
staticprivate |
Definition at line 50 of file AccDataSis18.h.
Referenced by GetGroupId().
|
staticprivate |
Definition at line 55 of file AccDataSis18.h.
|
staticprivate |
Definition at line 53 of file AccDataSis18.h.
|
staticprivate |
Definition at line 58 of file AccDataSis18.h.
|
staticprivate |
Definition at line 61 of file AccDataSis18.h.
Referenced by GetEventId().
|
staticprivate |
Definition at line 60 of file AccDataSis18.h.
|
staticprivate |
Definition at line 63 of file AccDataSis18.h.
|
staticprivate |
Definition at line 62 of file AccDataSis18.h.
Referenced by GetGroupId().
|
staticprivate |
----> Field offset
Definition at line 57 of file AccDataSis18.h.
|
staticprivate |
Definition at line 59 of file AccDataSis18.h.