![]() |
Project
|
#include <ROFRecord.h>
Public Types | |
enum | { VtxStdMode = 0 , VtxUPCMode = 1 } |
using | EvIdx = o2::dataformats::RangeReference< int, int > |
using | BCData = o2::InteractionRecord |
using | ROFtype = unsigned int |
Public Member Functions | |
ROFRecord ()=default | |
ROFRecord (const BCData &bc, ROFtype rof, int idx, int n) | |
void | setBCData (const BCData &bc) |
void | setROFrame (ROFtype rof) |
void | setEntry (EvIdx entry) |
void | setFirstEntry (int idx) |
void | setNEntries (int n) |
uint32_t | getFlags () const |
void | setFlags (uint32_t flags) |
void | setFlag (uint8_t flagIndex) |
void | resetFlag (uint8_t flagIndex) |
bool | getFlag (uint8_t flagIndex) const |
void | clearAllFlags () |
void | setAllFlags () |
const BCData & | getBCData () const |
BCData & | getBCData () |
EvIdx | getEntry () const |
EvIdx & | getEntry () |
int | getNEntries () const |
int | getFirstEntry () const |
ROFtype | getROFrame () const |
void | clear () |
template<typename T > | |
gsl::span< const T > | getROFData (const gsl::span< const T > tfdata) const |
template<typename T > | |
const T * | getROFDataAt (int i, const gsl::span< const T > tfdata) const |
template<typename T > | |
gsl::span< const T > | getROFData (const std::vector< T > &tfdata) const |
template<typename T > | |
const T * | getROFDataAt (int i, const std::vector< T > &tfdata) const |
std::string | asString () const |
void | print () const |
Friends | |
std::ostream & | operator<< (std::ostream &output, const ROFRecord &rec) |
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 30 of file ROFRecord.h.
Definition at line 37 of file ROFRecord.h.
using o2::itsmft::ROFRecord::EvIdx = o2::dataformats::RangeReference<int, int> |
Definition at line 36 of file ROFRecord.h.
using o2::itsmft::ROFRecord::ROFtype = unsigned int |
Definition at line 38 of file ROFRecord.h.
anonymous enum |
Enumerator | |
---|---|
VtxStdMode | |
VtxUPCMode |
Definition at line 34 of file ROFRecord.h.
|
default |
Definition at line 41 of file ROFRecord.h.
std::string ROFRecord::asString | ( | ) | const |
Definition at line 18 of file ROFRecord.cxx.
|
inline |
Definition at line 66 of file ROFRecord.h.
|
inline |
Definition at line 55 of file ROFRecord.h.
|
inline |
Definition at line 59 of file ROFRecord.h.
|
inline |
Definition at line 58 of file ROFRecord.h.
|
inline |
Definition at line 61 of file ROFRecord.h.
|
inline |
Definition at line 60 of file ROFRecord.h.
|
inline |
Definition at line 63 of file ROFRecord.h.
|
inline |
Definition at line 54 of file ROFRecord.h.
|
inline |
Definition at line 50 of file ROFRecord.h.
|
inline |
Definition at line 62 of file ROFRecord.h.
|
inline |
Definition at line 73 of file ROFRecord.h.
|
inline |
Definition at line 85 of file ROFRecord.h.
|
inline |
Definition at line 79 of file ROFRecord.h.
|
inline |
Definition at line 91 of file ROFRecord.h.
|
inline |
Definition at line 64 of file ROFRecord.h.
void ROFRecord::print | ( | ) | const |
Definition at line 23 of file ROFRecord.cxx.
|
inline |
Definition at line 53 of file ROFRecord.h.
|
inline |
Definition at line 56 of file ROFRecord.h.
Definition at line 44 of file ROFRecord.h.
Definition at line 46 of file ROFRecord.h.
Definition at line 47 of file ROFRecord.h.
|
inline |
Definition at line 52 of file ROFRecord.h.
|
inline |
Definition at line 51 of file ROFRecord.h.
Definition at line 48 of file ROFRecord.h.
Definition at line 45 of file ROFRecord.h.
|
friend |
Definition at line 28 of file ROFRecord.cxx.