CbmRoot
|
#include <AccDataSis18.h>
Public Member Functions | |
AccStatusTs ()=default | |
AccStatusTs (uint32_t uSpillIdx, AccTimingEvent lastEvtBefTs) | |
virtual | ~AccStatusTs ()=default |
void | SetLastEvtBefTs (AccTimingEvent lastEvtBefTs) |
bool | IsCycleOnAtStart () const |
True when we start within a spill cycle (not in short interval between cycle end and cycle start)) | |
bool | IsSpillOnAtStart () const |
True when we start in the middle of an extraction spill. | |
bool | IsSpillOnAtTime (uint64_t uTimeUtc) |
uint32_t | GetSpillIdxAtTime (uint64_t uTimeUtc) |
ClassDef (AccStatusTs, 1) | |
Public Attributes | |
uint32_t | fuSpillIndexAtStart = 0 |
Members. | |
AccTimingEvent | fLastEvtBeforeTs = {} |
std::vector< AccTimingEvent > | fvEventsDuringTS = {} |
Definition at line 90 of file AccDataSis18.h.
|
default |
|
inline |
Definition at line 94 of file AccDataSis18.h.
|
virtualdefault |
AccStatusTs::ClassDef | ( | AccStatusTs | , |
1 | ) |
uint32_t AccStatusTs::GetSpillIdxAtTime | ( | uint64_t | uTimeUtc | ) |
We start in the middle of an extraction spill
We start in the middle of an extraction spill
Definition at line 149 of file AccDataSis18.cxx.
References fuSpillIndexAtStart, fvEventsDuringTS, and IsSpillOnAtStart().
|
inline |
True when we start within a spill cycle (not in short interval between cycle end and cycle start))
Definition at line 105 of file AccDataSis18.h.
References fLastEvtBeforeTs, and AccTimingEvent::IsCycleEnd().
|
inline |
True when we start in the middle of an extraction spill.
Definition at line 107 of file AccDataSis18.h.
References fLastEvtBeforeTs, and AccTimingEvent::IsExtractionStart().
Referenced by GetSpillIdxAtTime(), and IsSpillOnAtTime().
bool AccStatusTs::IsSpillOnAtTime | ( | uint64_t | uTimeUtc | ) |
We start in the middle of an extraction spill
We start in the middle of an extraction spill
Definition at line 130 of file AccDataSis18.cxx.
References fvEventsDuringTS, and IsSpillOnAtStart().
|
inline |
Definition at line 102 of file AccDataSis18.h.
References fLastEvtBeforeTs.
AccTimingEvent AccStatusTs::fLastEvtBeforeTs = {} |
Definition at line 114 of file AccDataSis18.h.
Referenced by IsCycleOnAtStart(), IsSpillOnAtStart(), and SetLastEvtBefTs().
uint32_t AccStatusTs::fuSpillIndexAtStart = 0 |
std::vector<AccTimingEvent> AccStatusTs::fvEventsDuringTS = {} |
Definition at line 115 of file AccDataSis18.h.
Referenced by GetSpillIdxAtTime(), and IsSpillOnAtTime().