![]() |
Project
|
#include <GRPObject.h>
Public Types | |
| enum | ROMode : int { ABSENT = 0 , PRESENT = 0x1 , CONTINUOUS = PRESENT + (0x1 << 1) , TRIGGERING = PRESENT + (0x1 << 2) } |
| using | timePoint = uint64_t |
Public Member Functions | |
| GRPObject ()=default | |
| ~GRPObject ()=default | |
| timePoint | getTimeStart () const |
| getters/setters for Start and Stop times according to logbook | |
| timePoint | getTimeEnd () const |
| void | setTimeStart (timePoint t) |
| void | setTimeEnd (timePoint t) |
| void | setNHBFPerTF (uint32_t n) |
| uint32_t | getNHBFPerTF () const |
| void | setFirstOrbit (uint32_t o) |
| uint32_t | getFirstOrbit () const |
| o2::units::AngleRad_t | getCrossingAngle () const |
| getters/setters for beams crossing angle (deviation from 0) | |
| void | setCrossingAngle (o2::units::AngleRad_t v) |
| int | getBeamZ (beamDirection beam) const |
| getters/setters for given beam A and Z info, encoded as A<<16+Z | |
| int | getBeamA (beamDirection beam) const |
| float | getBeamZ2A (beamDirection beam) const |
| void | setBeamAZ (int a, int z, beamDirection beam) |
| void | setBeamEnergyPerZ (float v) |
| getters/setters for beam energy per charge and per nucleon | |
| float | getBeamEnergyPerZ () const |
| float | getBeamEnergyPerNucleon (beamDirection beam) const |
| float | getSqrtS () const |
| calculate center of mass energy per nucleon collision | |
| o2::units::Current_t | getL3Current () const |
| getters/setters for magnets currents | |
| o2::units::Current_t | getDipoleCurrent () const |
| bool | getFieldUniformity () const |
| void | setL3Current (o2::units::Current_t v) |
| void | setDipoleCurrent (o2::units::Current_t v) |
| void | setFieldUniformity (bool v) |
| int8_t | getNominalL3Field () |
| const std::string & | getDataPeriod () const |
| getter/setter for data taking period name | |
| void | setDataPeriod (const std::string v) |
| const std::string & | getLHCState () const |
| getter/setter for LHC state in the beggining of run | |
| void | setLHCState (const std::string v) |
| void | setRun (int r) |
| int | getRun () const |
| void | setFill (int f) |
| getter/setter for fill identifier | |
| int | getFill () 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 |
| 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 | |
| bool | isMC () const |
| void | setIsMC (bool v=true) |
| void | print () const |
| print itself | |
Static Public Member Functions | |
| static GRPObject * | loadFrom (const std::string &grpFileName="") |
Definition at line 36 of file GRPObject.h.
Definition at line 42 of file GRPObject.h.
| enum o2::parameters::GRPObject::ROMode : int |
| Enumerator | |
|---|---|
| ABSENT | |
| PRESENT | |
| CONTINUOUS | |
| TRIGGERING | |
Definition at line 44 of file GRPObject.h.
|
default |
|
default |
add specific detector to the list of continuously readout detectors
Definition at line 118 of file GRPObject.h.
add specific detector to the list of readout detectors
Definition at line 109 of file GRPObject.h.
add specific detector to the list of triggering detectors
Definition at line 122 of file GRPObject.h.
|
inline |
Definition at line 69 of file GRPObject.h.
|
inline |
Definition at line 75 of file GRPObject.h.
|
inline |
Definition at line 74 of file GRPObject.h.
|
inline |
getters/setters for given beam A and Z info, encoded as A<<16+Z
Definition at line 68 of file GRPObject.h.
|
inline |
Definition at line 180 of file GRPObject.h.
|
inline |
getters/setters for beams crossing angle (deviation from 0)
Definition at line 65 of file GRPObject.h.
|
inline |
getter/setter for data taking period name
Definition at line 88 of file GRPObject.h.
| GRPObject::ROMode GRPObject::getDetROMode | ( | DetID | id | ) | const |
Definition at line 97 of file GRPObject.cxx.
|
inline |
getter/setter for masks of detectors with continuos readout
Definition at line 103 of file GRPObject.h.
|
inline |
getter/setter for masks of detectors in the readout
Definition at line 100 of file GRPObject.h.
|
inline |
same with comma-separate list of detector names
Definition at line 139 of file GRPObject.h.
|
inline |
extra selections mask of readout detectors with addition selections. "only" overrides "skip"
Definition at line 137 of file GRPObject.h.
|
inline |
getter/setter for masks of detectors providing the trigger
Definition at line 106 of file GRPObject.h.
|
inline |
Definition at line 81 of file GRPObject.h.
|
inline |
Definition at line 82 of file GRPObject.h.
|
inline |
Definition at line 98 of file GRPObject.h.
|
inline |
Definition at line 62 of file GRPObject.h.
|
inline |
getters/setters for magnets currents
Definition at line 80 of file GRPObject.h.
|
inline |
getter/setter for LHC state in the beggining of run
Definition at line 91 of file GRPObject.h.
|
inline |
Definition at line 59 of file GRPObject.h.
|
inline |
Definition at line 188 of file GRPObject.h.
|
inline |
Definition at line 95 of file GRPObject.h.
| float GRPObject::getSqrtS | ( | ) | const |
calculate center of mass energy per nucleon collision
Definition at line 29 of file GRPObject.cxx.
|
inline |
Definition at line 54 of file GRPObject.h.
|
inline |
getters/setters for Start and Stop times according to logbook
Definition at line 53 of file GRPObject.h.
test if detector is read out
Definition at line 128 of file GRPObject.h.
test if detector is read out
Definition at line 126 of file GRPObject.h.
test if detector is triggering
Definition at line 130 of file GRPObject.h.
|
inline |
Definition at line 141 of file GRPObject.h.
|
static |
Definition at line 114 of file GRPObject.cxx.
| void GRPObject::print | ( | ) | const |
print itself
Definition at line 46 of file GRPObject.cxx.
remove specific detector from the list of continuouslt readout detectors
Definition at line 120 of file GRPObject.h.
remove specific detector from the list of readout detectors
Definition at line 111 of file GRPObject.h.
remove specific detector from the list of triggering detectors
Definition at line 124 of file GRPObject.h.
|
inline |
Definition at line 71 of file GRPObject.h.
getters/setters for beam energy per charge and per nucleon
Definition at line 73 of file GRPObject.h.
|
inline |
Definition at line 66 of file GRPObject.h.
|
inline |
Definition at line 89 of file GRPObject.h.
set detector readout mode status
set detector readout mode status
Definition at line 76 of file GRPObject.cxx.
|
inline |
Definition at line 104 of file GRPObject.h.
|
inline |
Definition at line 101 of file GRPObject.h.
|
inline |
Definition at line 107 of file GRPObject.h.
|
inline |
Definition at line 84 of file GRPObject.h.
Definition at line 85 of file GRPObject.h.
|
inline |
getter/setter for fill identifier
Definition at line 97 of file GRPObject.h.
Definition at line 61 of file GRPObject.h.
Definition at line 142 of file GRPObject.h.
|
inline |
Definition at line 83 of file GRPObject.h.
|
inline |
Definition at line 92 of file GRPObject.h.
Definition at line 58 of file GRPObject.h.
|
inline |
Definition at line 94 of file GRPObject.h.
Definition at line 56 of file GRPObject.h.
Definition at line 55 of file GRPObject.h.