![]() |
Project
|
#include <GRPECSObject.h>
Public Types | |
enum | ROMode : int { ABSENT = 0 , PRESENT = 0x1 , CONTINUOUS = PRESENT + (0x1 << 1) , TRIGGERING = PRESENT + (0x1 << 2) } |
using | timePoint = uint64_t |
using | RunType = o2::parameters::GRPECS::RunType |
Public Member Functions | |
GRPECSObject ()=default | |
~GRPECSObject ()=default | |
timePoint | getTimeStart () const |
getters/setters for Start and Stop times according to logbook | |
void | setTimeStart (timePoint t) |
timePoint | getTimeEnd () const |
void | setTimeEnd (timePoint t) |
timePoint | getTimeStartCTPasSet () const |
timePoint | getTimeStartCTP () const |
void | setTimeStartCTP (timePoint t) |
timePoint | getTimeEndCTPasSet () const |
timePoint | getTimeEndCTP () const |
void | setTimeEndCTP (timePoint t) |
void | setNHBFPerTF (uint32_t n) |
uint32_t | getNHBFPerTF () const |
const std::string & | getDataPeriod () const |
getter/setter for data taking period name | |
void | setDataPeriod (const std::string v) |
void | setRun (int r) |
int | getRun () const |
DetID::mask_t | getDetsReadOut () const |
getter/setter for masks of detectors in the readout | |
void | setDetsReadOut (DetID::mask_t mask) |
DetID::mask_t | getDetsContinuousReadOut () const |
getter/setter for masks of detectors with continuos readout | |
void | setDetsContinuousReadOut (DetID::mask_t mask) |
DetID::mask_t | getDetsTrigger () const |
getter/setter for masks of detectors providing the trigger | |
void | setDetsTrigger (DetID::mask_t mask) |
void | addDetReadOut (DetID id) |
add specific detector to the list of readout detectors | |
void | remDetReadOut (DetID id) |
remove specific detector from the list of readout detectors | |
void | addDetContinuousReadOut (DetID id) |
add specific detector to the list of continuously readout detectors | |
void | remDetContinuousReadOut (DetID id) |
remove specific detector from the list of continuouslt readout detectors | |
void | addDetTrigger (DetID id) |
add specific detector to the list of triggering detectors | |
void | remDetTrigger (DetID id) |
remove specific detector from the list of triggering detectors | |
bool | isDetReadOut (DetID id) const |
test if detector is read out | |
bool | isDetContinuousReadOut (DetID id) const |
test if detector is read out | |
bool | isDetTriggers (DetID id) const |
test if detector is triggering | |
void | setDetROMode (DetID id, ROMode status) |
set detector readout mode status | |
ROMode | getDetROMode (DetID id) const |
void | setRunType (RunType t) |
auto | getRunType () const |
bool | isMC () const |
void | setIsMC (bool v=true) |
DetID::mask_t | getDetsReadOut (DetID::mask_t only, DetID::mask_t skip=0) const |
DetID::mask_t | getDetsReadOut (const std::string &only, const std::string &skip="") const |
same with comma-separate list of detector names | |
const std::vector< unsigned short > & | getListOfFLPs () const |
void | addFLP (unsigned short flp) |
void | setListOfFLPs (const std::vector< unsigned short > &listFLPs) |
bool | getFLPStatus (unsigned short flp) const |
bool | listOfFLPsSet () const |
void | print () const |
print itself | |
Static Public Member Functions | |
static GRPECSObject * | loadFrom (const std::string &grpecsFileName="") |
static constexpr bool | alwaysTriggeredRO (DetID::ID det) |
Definition at line 33 of file GRPECSObject.h.
Definition at line 39 of file GRPECSObject.h.
using o2::parameters::GRPECSObject::timePoint = uint64_t |
Definition at line 38 of file GRPECSObject.h.
Enumerator | |
---|---|
ABSENT | |
PRESENT | |
CONTINUOUS | |
TRIGGERING |
Definition at line 41 of file GRPECSObject.h.
|
default |
|
default |
add specific detector to the list of continuously readout detectors
Definition at line 91 of file GRPECSObject.h.
add specific detector to the list of readout detectors
Definition at line 82 of file GRPECSObject.h.
add specific detector to the list of triggering detectors
Definition at line 95 of file GRPECSObject.h.
Definition at line 122 of file GRPECSObject.h.
|
inlinestaticconstexpr |
Definition at line 137 of file GRPECSObject.h.
|
inline |
getter/setter for data taking period name
Definition at line 67 of file GRPECSObject.h.
GRPECSObject::ROMode GRPECSObject::getDetROMode | ( | DetID | id | ) | const |
Definition at line 86 of file GRPECSObject.cxx.
|
inline |
getter/setter for masks of detectors with continuos readout
Definition at line 76 of file GRPECSObject.h.
|
inline |
getter/setter for masks of detectors in the readout
Definition at line 73 of file GRPECSObject.h.
|
inline |
same with comma-separate list of detector names
Definition at line 118 of file GRPECSObject.h.
|
inline |
extra selections mask of readout detectors with addition selections. "only" overrides "skip"
Definition at line 116 of file GRPECSObject.h.
|
inline |
getter/setter for masks of detectors providing the trigger
Definition at line 79 of file GRPECSObject.h.
|
inline |
Definition at line 124 of file GRPECSObject.h.
|
inline |
Definition at line 121 of file GRPECSObject.h.
|
inline |
Definition at line 64 of file GRPECSObject.h.
|
inline |
Definition at line 71 of file GRPECSObject.h.
|
inline |
Definition at line 109 of file GRPECSObject.h.
|
inline |
Definition at line 52 of file GRPECSObject.h.
|
inline |
Definition at line 60 of file GRPECSObject.h.
|
inline |
Definition at line 59 of file GRPECSObject.h.
|
inline |
getters/setters for Start and Stop times according to logbook
Definition at line 49 of file GRPECSObject.h.
|
inline |
Definition at line 56 of file GRPECSObject.h.
|
inline |
Definition at line 55 of file GRPECSObject.h.
|
inline |
test if detector is read out
Definition at line 101 of file GRPECSObject.h.
|
inline |
test if detector is read out
Definition at line 99 of file GRPECSObject.h.
|
inline |
test if detector is triggering
Definition at line 103 of file GRPECSObject.h.
|
inline |
Definition at line 111 of file GRPECSObject.h.
|
inline |
Definition at line 128 of file GRPECSObject.h.
|
static |
Definition at line 103 of file GRPECSObject.cxx.
void GRPECSObject::print | ( | ) | const |
print itself
Definition at line 29 of file GRPECSObject.cxx.
remove specific detector from the list of continuouslt readout detectors
Definition at line 93 of file GRPECSObject.h.
remove specific detector from the list of readout detectors
Definition at line 84 of file GRPECSObject.h.
remove specific detector from the list of triggering detectors
Definition at line 97 of file GRPECSObject.h.
|
inline |
Definition at line 68 of file GRPECSObject.h.
set detector readout mode status
set detector readout mode status
Definition at line 65 of file GRPECSObject.cxx.
|
inline |
Definition at line 77 of file GRPECSObject.h.
|
inline |
Definition at line 74 of file GRPECSObject.h.
|
inline |
Definition at line 80 of file GRPECSObject.h.
|
inline |
Definition at line 112 of file GRPECSObject.h.
|
inline |
Definition at line 123 of file GRPECSObject.h.
|
inline |
Definition at line 63 of file GRPECSObject.h.
Definition at line 70 of file GRPECSObject.h.
Definition at line 108 of file GRPECSObject.h.
Definition at line 53 of file GRPECSObject.h.
Definition at line 61 of file GRPECSObject.h.
Definition at line 50 of file GRPECSObject.h.
Definition at line 57 of file GRPECSObject.h.