![]() |
Project
|
#include <ROFRecord.h>
Public Member Functions | |
ROFRecord ()=default | |
ROFRecord (const BCData &bc, int firstIdx, int nEntries) | |
ROFRecord (const BCData &bc, int firstIdx, int nEntries, int bcWidth) | |
const BCData & | getBCData () const |
get the interaction record | |
BCData & | getBCData () |
get the interaction record | |
void | setBCData (const BCData &bc) |
set the interaction record | |
std::pair< Time, bool > | getTimeMUS (const BCData &startIR, uint32_t nOrbits=128, bool printError=false) const |
int | getNEntries () const |
get the number of associated objects | |
int | getFirstIdx () const |
get the index of the first associated object | |
int | getLastIdx () const |
get the index of the last associated object | |
void | setDataRef (int firstIdx, int nEntries) |
set the number of associated objects and the index of the first one | |
int | getBCWidth () const |
get the time span by this ROF, in BC unit | |
bool | operator== (const ROFRecord &other) const |
bool | operator!= (const ROFRecord &other) const |
bool | operator< (const ROFRecord &other) const |
ROFRecord class encodes the trigger interaction record of a given ROF and the location of the associated objects (digit, cluster, etc) in the data container
Definition at line 34 of file ROFRecord.h.
|
default |
Definition at line 42 of file ROFRecord.h.
Definition at line 43 of file ROFRecord.h.
|
inline |
get the interaction record
Definition at line 48 of file ROFRecord.h.
|
inline |
get the interaction record
Definition at line 46 of file ROFRecord.h.
|
inline |
get the time span by this ROF, in BC unit
Definition at line 64 of file ROFRecord.h.
|
inline |
get the index of the first associated object
Definition at line 57 of file ROFRecord.h.
|
inline |
get the index of the last associated object
Definition at line 59 of file ROFRecord.h.
|
inline |
get the number of associated objects
Definition at line 55 of file ROFRecord.h.
std::pair< ROFRecord::Time, bool > o2::mch::ROFRecord::getTimeMUS | ( | const BCData & | startIR, |
uint32_t | nOrbits = 128 , |
||
bool | printError = false |
||
) | const |
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 35 of file ROFRecord.cxx.
|
inline |
Definition at line 72 of file ROFRecord.h.
|
inline |
Definition at line 73 of file ROFRecord.h.
|
inline |
Definition at line 66 of file ROFRecord.h.
set the interaction record
Definition at line 50 of file ROFRecord.h.
set the number of associated objects and the index of the first one
Definition at line 61 of file ROFRecord.h.