CbmRoot
Loading...
Searching...
No Matches
AccStatusTs Class Reference

#include <AccDataSis18.h>

Collaboration diagram for AccStatusTs:
[legend]

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< AccTimingEventfvEventsDuringTS = {}
 

Detailed Description

Definition at line 90 of file AccDataSis18.h.

Constructor & Destructor Documentation

◆ AccStatusTs() [1/2]

AccStatusTs::AccStatusTs ( )
default

◆ AccStatusTs() [2/2]

AccStatusTs::AccStatusTs ( uint32_t uSpillIdx,
AccTimingEvent lastEvtBefTs )
inline

Definition at line 94 of file AccDataSis18.h.

◆ ~AccStatusTs()

virtual AccStatusTs::~AccStatusTs ( )
virtualdefault

Member Function Documentation

◆ ClassDef()

AccStatusTs::ClassDef ( AccStatusTs ,
1  )

◆ GetSpillIdxAtTime()

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().

◆ IsCycleOnAtStart()

bool AccStatusTs::IsCycleOnAtStart ( ) const
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().

◆ IsSpillOnAtStart()

bool AccStatusTs::IsSpillOnAtStart ( ) const
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().

◆ 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().

◆ SetLastEvtBefTs()

void AccStatusTs::SetLastEvtBefTs ( AccTimingEvent lastEvtBefTs)
inline

Definition at line 102 of file AccDataSis18.h.

References fLastEvtBeforeTs.

Member Data Documentation

◆ fLastEvtBeforeTs

AccTimingEvent AccStatusTs::fLastEvtBeforeTs = {}

Definition at line 114 of file AccDataSis18.h.

Referenced by IsCycleOnAtStart(), IsSpillOnAtStart(), and SetLastEvtBefTs().

◆ fuSpillIndexAtStart

uint32_t AccStatusTs::fuSpillIndexAtStart = 0

Members.

Definition at line 113 of file AccDataSis18.h.

Referenced by GetSpillIdxAtTime().

◆ fvEventsDuringTS

std::vector<AccTimingEvent> AccStatusTs::fvEventsDuringTS = {}

Definition at line 115 of file AccDataSis18.h.

Referenced by GetSpillIdxAtTime(), and IsSpillOnAtTime().


The documentation for this class was generated from the following files: