Project
Loading...
Searching...
No Matches
o2::mid::ROFRecord Struct Reference

#include <ROFRecord.h>

Public Types

using Time = o2::dataformats::TimeStampWithError< float, float >
 

Public Member Functions

 ROFRecord ()=default
 
 ROFRecord (const o2::InteractionRecord &intRecord, const EventType &evtType, size_t first, size_t nElements)
 
 ROFRecord (const ROFRecord &other, size_t first, size_t nElements)
 
size_t getEndIndex () const
 
std::pair< Time, bool > getTimeMUS (const InteractionRecord &startIR, uint32_t nOrbits=128, bool printError=false) const
 
 ClassDefNV (ROFRecord, 1)
 

Public Attributes

o2::InteractionRecord interactionRecord {}
 
EventType eventType {EventType::Standard}
 
size_t firstEntry {0}
 
size_t nEntries {0}
 

Detailed Description

ROFRecord class encodes the trigger interaction record of given ROF and the reference on the 1st object (digit, cluster etc) of this ROF in the data tree

Definition at line 41 of file ROFRecord.h.

Member Typedef Documentation

◆ Time

Definition at line 42 of file ROFRecord.h.

Constructor & Destructor Documentation

◆ ROFRecord() [1/3]

o2::mid::ROFRecord::ROFRecord ( )
default

◆ ROFRecord() [2/3]

o2::mid::ROFRecord::ROFRecord ( const o2::InteractionRecord intRecord,
const EventType evtType,
size_t  first,
size_t  nElements 
)
inline

Definition at line 50 of file ROFRecord.h.

◆ ROFRecord() [3/3]

o2::mid::ROFRecord::ROFRecord ( const ROFRecord other,
size_t  first,
size_t  nElements 
)
inline

Definition at line 51 of file ROFRecord.h.

Member Function Documentation

◆ ClassDefNV()

o2::mid::ROFRecord::ClassDefNV ( ROFRecord  ,
 
)

◆ getEndIndex()

size_t o2::mid::ROFRecord::getEndIndex ( ) const
inline

Definition at line 52 of file ROFRecord.h.

◆ getTimeMUS()

std::pair< Time, bool > o2::mid::ROFRecord::getTimeMUS ( const InteractionRecord startIR,
uint32_t  nOrbits = 128,
bool  printError = false 
) const
inline

return a pair consisting of the ROF time with error (in mus) relative to the reference IR 'startIR' and a flag telling if it is inside the TF starting at 'startIR' and containing 'nOrbits' orbits. if printError = true, print an error message in case the ROF is outside the TF

Definition at line 58 of file ROFRecord.h.

Member Data Documentation

◆ eventType

EventType o2::mid::ROFRecord::eventType {EventType::Standard}

Definition at line 45 of file ROFRecord.h.

◆ firstEntry

size_t o2::mid::ROFRecord::firstEntry {0}

Definition at line 46 of file ROFRecord.h.

◆ interactionRecord

o2::InteractionRecord o2::mid::ROFRecord::interactionRecord {}

Definition at line 44 of file ROFRecord.h.

◆ nEntries

size_t o2::mid::ROFRecord::nEntries {0}

Definition at line 47 of file ROFRecord.h.


The documentation for this struct was generated from the following file: