#include <Level1TriggerScalers.h>
Classes | |
class | h |
Persistable copy of Level1 Trigger Scalers. More... | |
Public Types | |
enum | { nLevel1Triggers = 128, nLevel1TestTriggers = 64, firstShortLSRun = 125574 } |
Public Member Functions | |
unsigned int | bunchCrossingErrors () const |
unsigned int | bunchNumber () const |
struct timespec | collectionTime () const |
struct timespec | collectionTimeLumiSeg () const |
unsigned long long | deadtime () const |
unsigned long long | deadtimeBeamActive () const |
unsigned long long | deadtimeBeamActiveCalibration () const |
unsigned long long | deadtimeBeamActivePartitionController () const |
unsigned long long | deadtimeBeamActivePrivateOrbit () const |
unsigned long long | deadtimeBeamActiveTimeSlot () const |
unsigned long long | deadtimeBeamActiveTriggerRules () const |
bool | empty () const |
empty method (= false) More... | |
unsigned int | eventID () const |
std::vector< unsigned int > | gtAlgoCounts () const |
unsigned long long | gtEvents () const |
float | gtEventsRate () const |
unsigned int | gtResets () const |
std::vector< unsigned int > | gtTechCounts () const |
unsigned long long | gtTriggers () const |
float | gtTriggersRate () const |
unsigned long long | l1AsCalibration () const |
unsigned long long | l1AsPhysics () const |
unsigned long long | l1AsRandom () const |
unsigned long long | l1AsTest () const |
unsigned int | lastEventCounter0 () const |
unsigned int | lastHardReset () const |
unsigned int | lastOrbitCounter0 () const |
unsigned int | lastResync () const |
unsigned int | lastStart () const |
unsigned int | lastTestEnable () const |
Level1TriggerScalers () | |
Level1TriggerScalers (const unsigned char *rawData) | |
unsigned int | lumiSegmentNr () const |
unsigned int | lumiSegmentNrLumiSeg () const |
unsigned int | lumiSegmentOrbits () const |
std::string | name () const |
name method More... | |
int | operator!= (const Level1TriggerScalers &e) const |
inequality operator More... | |
int | operator== (const Level1TriggerScalers &e) const |
equality operator More... | |
unsigned int | orbitNr () const |
int | prescaleIndexAlgo () const |
int | prescaleIndexTech () const |
unsigned int | sourceID () const |
unsigned long long | spare0 () const |
unsigned long long | spare1 () const |
unsigned long long | spare2 () const |
unsigned long long | triggersPhysicsGeneratedFDL () const |
unsigned long long | triggersPhysicsLost () const |
unsigned long long | triggersPhysicsLostBeamActive () const |
unsigned long long | triggersPhysicsLostBeamInactive () const |
unsigned int | trigType () const |
int | version () const |
virtual | ~Level1TriggerScalers () |
Static Public Member Functions | |
static double | percentLS (unsigned long long counts) |
static double | percentLS (unsigned long long counts, int runNumber) |
static double | percentLSActive (unsigned long long counts) |
static double | percentLSActive (unsigned long long counts, int runNumber) |
static double | rateLS (unsigned long long counts) |
static double | rateLS (unsigned int counts) |
static double | rateLS (unsigned long long counts, int runNumber) |
static double | rateLS (unsigned int counts, int runNumber) |
Static Public Attributes | |
static const unsigned long long | N_BX = 3564ULL |
static const unsigned long long | N_BX_ACTIVE = 2808ULL |
static const unsigned long long | N_BX_LUMI_SECTION = N_ORBITS_LUMI_SECTION * N_BX |
static const unsigned long long | N_ORBITS_LUMI_SECTION = 0x100000ULL |
Definition at line 27 of file Level1TriggerScalers.h.
anonymous enum |
Enumerator | |
---|---|
nLevel1Triggers | |
nLevel1TestTriggers | |
firstShortLSRun |
Definition at line 31 of file Level1TriggerScalers.h.
Level1TriggerScalers::Level1TriggerScalers | ( | ) |
Definition at line 12 of file Level1TriggerScalers.cc.
Referenced by Level1TriggerScalers().
Level1TriggerScalers::Level1TriggerScalers | ( | const unsigned char * | rawData | ) |
Definition at line 61 of file Level1TriggerScalers.cc.
References TriggerScalersRaw_v3::bunchCrossingErrors, bunchCrossingErrors_, bunchNumber_, collectionTime_, TriggerScalersRaw_v3::collectionTime_nsec, TriggerScalersRaw_v3::collectionTime_sec, collectionTimeLumiSeg_, TriggerScalersRaw_v3::collectionTimeLumiSeg_nsec, TriggerScalersRaw_v3::collectionTimeLumiSeg_sec, TriggerScalersRaw_v3::deadtime, deadtime_, TriggerScalersRaw_v3::deadtimeBeamActive, deadtimeBeamActive_, TriggerScalersRaw_v3::deadtimeBeamActiveCalibration, deadtimeBeamActiveCalibration_, TriggerScalersRaw_v3::deadtimeBeamActivePartitionController, deadtimeBeamActivePartitionController_, TriggerScalersRaw_v3::deadtimeBeamActivePrivateOrbit, deadtimeBeamActivePrivateOrbit_, TriggerScalersRaw_v3::deadtimeBeamActiveTimeSlot, deadtimeBeamActiveTimeSlot_, TriggerScalersRaw_v3::deadtimeBeamActiveTriggerRules, deadtimeBeamActiveTriggerRules_, eventID_, TriggerScalersRaw_v3::gtAlgoCounts, gtAlgoCounts_, TriggerScalersRaw_v3::gtEvents, gtEvents_, TriggerScalersRaw_v3::gtEventsRate, gtEventsRate_, TriggerScalersRaw_v3::gtResets, gtResets_, TriggerScalersRaw_v3::gtTechCounts, gtTechCounts_, TriggerScalersRaw_v3::gtTriggers, gtTriggers_, TriggerScalersRaw_v3::gtTriggersRate, gtTriggersRate_, ScalersEventRecordRaw_v5::header, i, TriggerScalersRaw_v3::l1AsCalibration, l1AsCalibration_, TriggerScalersRaw_v3::l1AsPhysics, l1AsPhysics_, TriggerScalersRaw_v3::l1AsRandom, l1AsRandom_, TriggerScalersRaw_v3::l1AsTest, l1AsTest_, ScalersEventRecordRaw_v5::lastEventCounter0, lastEventCounter0_, ScalersEventRecordRaw_v5::lastHardReset, lastHardReset_, ScalersEventRecordRaw_v5::lastOrbitCounter0, lastOrbitCounter0_, ScalersEventRecordRaw_v5::lastResync, lastResync_, ScalersEventRecordRaw_v5::lastStart, lastStart_, ScalersEventRecordRaw_v5::lastTestEnable, lastTestEnable_, Level1TriggerScalers(), TriggerScalersRaw_v3::lumiSegmentNr, lumiSegmentNr_, TriggerScalersRaw_v3::lumiSegmentNrLumiSeg, lumiSegmentNrLumiSeg_, TriggerScalersRaw_v3::lumiSegmentOrbits, lumiSegmentOrbits_, ScalersRaw::N_L1_TEST_TRIGGERS_v1, ScalersRaw::N_L1_TRIGGERS_v1, TriggerScalersRaw_v3::orbitNr, orbitNr_, TriggerScalersRaw_v3::prescaleIndexAlgo, prescaleIndexAlgo_, TriggerScalersRaw_v3::prescaleIndexTech, prescaleIndexTech_, TimeSpec::set_tv_nsec(), TimeSpec::set_tv_sec(), sourceID_, ScalersEventRecordRaw_v5::spare, spare0_, spare1_, spare2_, ScalersEventRecordRaw_v5::trig, TriggerScalersRaw_v3::triggersPhysicsGeneratedFDL, triggersPhysicsGeneratedFDL_, TriggerScalersRaw_v3::triggersPhysicsLost, triggersPhysicsLost_, TriggerScalersRaw_v3::triggersPhysicsLostBeamActive, triggersPhysicsLostBeamActive_, TriggerScalersRaw_v3::triggersPhysicsLostBeamInactive, triggersPhysicsLostBeamInactive_, trigType_, ScalersEventRecordRaw_v5::version, and version_.
|
virtual |
Definition at line 151 of file Level1TriggerScalers.cc.
|
inline |
Definition at line 69 of file Level1TriggerScalers.h.
References bunchCrossingErrors_.
Referenced by operator<<().
|
inline |
Definition at line 59 of file Level1TriggerScalers.h.
References bunchNumber_.
Referenced by operator<<().
|
inline |
Definition at line 61 of file Level1TriggerScalers.h.
References collectionTime_, and TimeSpec::get_timespec().
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 77 of file Level1TriggerScalers.h.
References collectionTimeLumiSeg_, and TimeSpec::get_timespec().
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 99 of file Level1TriggerScalers.h.
References deadtime_.
Referenced by generateEDF.LumiInfo::__str__(), Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 101 of file Level1TriggerScalers.h.
References deadtimeBeamActive_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 105 of file Level1TriggerScalers.h.
References deadtimeBeamActiveCalibration_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 109 of file Level1TriggerScalers.h.
References deadtimeBeamActivePartitionController_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 107 of file Level1TriggerScalers.h.
References deadtimeBeamActivePrivateOrbit_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 111 of file Level1TriggerScalers.h.
References deadtimeBeamActiveTimeSlot_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 103 of file Level1TriggerScalers.h.
References deadtimeBeamActiveTriggerRules_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
empty method (= false)
Definition at line 51 of file Level1TriggerScalers.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 57 of file Level1TriggerScalers.h.
References eventID_.
Referenced by operator<<().
|
inline |
Definition at line 134 of file Level1TriggerScalers.h.
References gtAlgoCounts_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 71 of file Level1TriggerScalers.h.
References gtEvents_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 73 of file Level1TriggerScalers.h.
References gtEventsRate_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 68 of file Level1TriggerScalers.h.
References gtResets_.
Referenced by operator<<().
|
inline |
Definition at line 137 of file Level1TriggerScalers.h.
References gtTechCounts_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 70 of file Level1TriggerScalers.h.
References gtTriggers_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 72 of file Level1TriggerScalers.h.
References gtTriggersRate_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 97 of file Level1TriggerScalers.h.
References l1AsCalibration_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 91 of file Level1TriggerScalers.h.
References l1AsPhysics_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 93 of file Level1TriggerScalers.h.
References l1AsRandom_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 95 of file Level1TriggerScalers.h.
References l1AsTest_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 118 of file Level1TriggerScalers.h.
References lastEventCounter0_.
Referenced by operator<<().
|
inline |
Definition at line 119 of file Level1TriggerScalers.h.
References lastHardReset_.
Referenced by operator<<().
|
inline |
Definition at line 114 of file Level1TriggerScalers.h.
References lastOrbitCounter0_.
Referenced by operator<<().
|
inline |
Definition at line 116 of file Level1TriggerScalers.h.
References lastResync_.
Referenced by operator<<().
|
inline |
Definition at line 117 of file Level1TriggerScalers.h.
References lastStart_.
Referenced by operator<<().
|
inline |
Definition at line 115 of file Level1TriggerScalers.h.
References lastTestEnable_.
Referenced by operator<<().
|
inline |
Definition at line 64 of file Level1TriggerScalers.h.
References lumiSegmentNr_.
Referenced by operator<<().
|
inline |
Definition at line 80 of file Level1TriggerScalers.h.
References lumiSegmentNrLumiSeg_.
Referenced by operator<<().
|
inline |
Definition at line 65 of file Level1TriggerScalers.h.
References lumiSegmentOrbits_.
Referenced by operator<<().
|
inline |
name method
Definition at line 48 of file Level1TriggerScalers.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
|
inline |
|
inline |
Definition at line 66 of file Level1TriggerScalers.h.
References orbitNr_.
Referenced by operator<<().
|
static |
Definition at line 181 of file Level1TriggerScalers.cc.
References firstShortLSRun.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
static |
|
static |
Definition at line 200 of file Level1TriggerScalers.cc.
References firstShortLSRun.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
static |
|
inline |
Definition at line 74 of file Level1TriggerScalers.h.
References prescaleIndexAlgo_.
Referenced by operator<<().
|
inline |
Definition at line 75 of file Level1TriggerScalers.h.
References prescaleIndexTech_.
Referenced by operator<<().
|
static |
Definition at line 156 of file Level1TriggerScalers.cc.
References firstShortLSRun.
Referenced by Level1TriggerRates::computeRates(), operator<<(), and rateLS().
|
static |
Definition at line 153 of file Level1TriggerScalers.cc.
References firstShortLSRun, and rateLS().
|
static |
Definition at line 166 of file Level1TriggerScalers.cc.
References firstShortLSRun, and RPCpg::rate().
|
static |
Definition at line 159 of file Level1TriggerScalers.cc.
References rateLS().
|
inline |
Definition at line 58 of file Level1TriggerScalers.h.
References sourceID_.
Referenced by operator<<().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 83 of file Level1TriggerScalers.h.
References triggersPhysicsGeneratedFDL_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 85 of file Level1TriggerScalers.h.
References triggersPhysicsLost_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 87 of file Level1TriggerScalers.h.
References triggersPhysicsLostBeamActive_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 89 of file Level1TriggerScalers.h.
References triggersPhysicsLostBeamInactive_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
inline |
Definition at line 56 of file Level1TriggerScalers.h.
References trigType_.
Referenced by operator<<().
|
inline |
Definition at line 54 of file Level1TriggerScalers.h.
References version_.
Referenced by Level1TriggerRates::computeRates(), and operator<<().
|
protected |
Definition at line 159 of file Level1TriggerScalers.h.
Referenced by bunchCrossingErrors(), and Level1TriggerScalers().
|
protected |
Definition at line 152 of file Level1TriggerScalers.h.
Referenced by bunchNumber(), and Level1TriggerScalers().
|
protected |
Definition at line 154 of file Level1TriggerScalers.h.
Referenced by collectionTime(), and Level1TriggerScalers().
|
protected |
Definition at line 167 of file Level1TriggerScalers.h.
Referenced by collectionTimeLumiSeg(), and Level1TriggerScalers().
|
protected |
Definition at line 177 of file Level1TriggerScalers.h.
Referenced by deadtime(), and Level1TriggerScalers().
|
protected |
Definition at line 178 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActive(), and Level1TriggerScalers().
|
protected |
Definition at line 180 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActiveCalibration(), and Level1TriggerScalers().
|
protected |
Definition at line 182 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActivePartitionController(), and Level1TriggerScalers().
|
protected |
Definition at line 181 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActivePrivateOrbit(), and Level1TriggerScalers().
|
protected |
Definition at line 183 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActiveTimeSlot(), and Level1TriggerScalers().
|
protected |
Definition at line 179 of file Level1TriggerScalers.h.
Referenced by deadtimeBeamActiveTriggerRules(), and Level1TriggerScalers().
|
protected |
Definition at line 150 of file Level1TriggerScalers.h.
Referenced by eventID(), and Level1TriggerScalers().
|
protected |
Definition at line 185 of file Level1TriggerScalers.h.
Referenced by gtAlgoCounts(), and Level1TriggerScalers().
|
protected |
Definition at line 161 of file Level1TriggerScalers.h.
Referenced by gtEvents(), and Level1TriggerScalers().
|
protected |
Definition at line 163 of file Level1TriggerScalers.h.
Referenced by gtEventsRate(), and Level1TriggerScalers().
|
protected |
Definition at line 158 of file Level1TriggerScalers.h.
Referenced by gtResets(), and Level1TriggerScalers().
|
protected |
Definition at line 186 of file Level1TriggerScalers.h.
Referenced by gtTechCounts(), and Level1TriggerScalers().
|
protected |
Definition at line 160 of file Level1TriggerScalers.h.
Referenced by gtTriggers(), and Level1TriggerScalers().
|
protected |
Definition at line 162 of file Level1TriggerScalers.h.
Referenced by gtTriggersRate(), and Level1TriggerScalers().
|
protected |
Definition at line 176 of file Level1TriggerScalers.h.
Referenced by l1AsCalibration(), and Level1TriggerScalers().
|
protected |
Definition at line 173 of file Level1TriggerScalers.h.
Referenced by l1AsPhysics(), and Level1TriggerScalers().
|
protected |
Definition at line 174 of file Level1TriggerScalers.h.
Referenced by l1AsRandom(), and Level1TriggerScalers().
|
protected |
Definition at line 175 of file Level1TriggerScalers.h.
Referenced by l1AsTest(), and Level1TriggerScalers().
|
protected |
Definition at line 195 of file Level1TriggerScalers.h.
Referenced by lastEventCounter0(), and Level1TriggerScalers().
|
protected |
Definition at line 196 of file Level1TriggerScalers.h.
Referenced by lastHardReset(), and Level1TriggerScalers().
|
protected |
Definition at line 191 of file Level1TriggerScalers.h.
Referenced by lastOrbitCounter0(), and Level1TriggerScalers().
|
protected |
Definition at line 193 of file Level1TriggerScalers.h.
Referenced by lastResync(), and Level1TriggerScalers().
|
protected |
Definition at line 194 of file Level1TriggerScalers.h.
Referenced by lastStart(), and Level1TriggerScalers().
|
protected |
Definition at line 192 of file Level1TriggerScalers.h.
Referenced by lastTestEnable(), and Level1TriggerScalers().
|
protected |
Definition at line 155 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and lumiSegmentNr().
|
protected |
Definition at line 168 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and lumiSegmentNrLumiSeg().
|
protected |
Definition at line 156 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and lumiSegmentOrbits().
|
static |
Definition at line 38 of file Level1TriggerScalers.h.
|
static |
Definition at line 39 of file Level1TriggerScalers.h.
|
static |
Definition at line 41 of file Level1TriggerScalers.h.
|
static |
Definition at line 40 of file Level1TriggerScalers.h.
|
protected |
Definition at line 157 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and orbitNr().
|
protected |
Definition at line 164 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and prescaleIndexAlgo().
|
protected |
Definition at line 165 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and prescaleIndexTech().
|
protected |
Definition at line 151 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and sourceID().
|
protected |
Definition at line 199 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and spare0().
|
protected |
Definition at line 200 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and spare1().
|
protected |
Definition at line 201 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and spare2().
|
protected |
Definition at line 169 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and triggersPhysicsGeneratedFDL().
|
protected |
Definition at line 170 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and triggersPhysicsLost().
|
protected |
Definition at line 171 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and triggersPhysicsLostBeamActive().
|
protected |
Definition at line 172 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and triggersPhysicsLostBeamInactive().
|
protected |
Definition at line 149 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and trigType().
|
protected |
Definition at line 147 of file Level1TriggerScalers.h.
Referenced by Level1TriggerScalers(), and version().