|
|
#include <Level1TriggerScalers.h>
|
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 int counts) |
|
static double | rateLS (unsigned int counts, int runNumber) |
|
static double | rateLS (unsigned long long counts) |
|
static double | rateLS (unsigned long long counts, int runNumber) |
|
Definition at line 26 of file Level1TriggerScalers.h.
◆ anonymous enum
◆ Level1TriggerScalers() [1/2]
Level1TriggerScalers::Level1TriggerScalers |
( |
| ) |
|
◆ Level1TriggerScalers() [2/2]
Level1TriggerScalers::Level1TriggerScalers |
( |
const unsigned char * |
rawData | ) |
|
Definition at line 59 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, watchdog::const, 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, mps_fire::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_, l1tstage2_dqm_sourceclient-live_cfg::rawData, 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_.
◆ ~Level1TriggerScalers()
Level1TriggerScalers::~Level1TriggerScalers |
( |
| ) |
|
|
virtual |
◆ bunchCrossingErrors()
unsigned int Level1TriggerScalers::bunchCrossingErrors |
( |
| ) |
const |
|
inline |
◆ bunchNumber()
unsigned int Level1TriggerScalers::bunchNumber |
( |
| ) |
const |
|
inline |
◆ collectionTime()
struct timespec Level1TriggerScalers::collectionTime |
( |
| ) |
const |
|
inline |
◆ collectionTimeLumiSeg()
struct timespec Level1TriggerScalers::collectionTimeLumiSeg |
( |
| ) |
const |
|
inline |
◆ deadtime()
unsigned long long Level1TriggerScalers::deadtime |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActive()
unsigned long long Level1TriggerScalers::deadtimeBeamActive |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActiveCalibration()
unsigned long long Level1TriggerScalers::deadtimeBeamActiveCalibration |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActivePartitionController()
unsigned long long Level1TriggerScalers::deadtimeBeamActivePartitionController |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActivePrivateOrbit()
unsigned long long Level1TriggerScalers::deadtimeBeamActivePrivateOrbit |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActiveTimeSlot()
unsigned long long Level1TriggerScalers::deadtimeBeamActiveTimeSlot |
( |
| ) |
const |
|
inline |
◆ deadtimeBeamActiveTriggerRules()
unsigned long long Level1TriggerScalers::deadtimeBeamActiveTriggerRules |
( |
| ) |
const |
|
inline |
◆ empty()
bool Level1TriggerScalers::empty |
( |
| ) |
const |
|
inline |
◆ eventID()
unsigned int Level1TriggerScalers::eventID |
( |
| ) |
const |
|
inline |
◆ gtAlgoCounts()
std::vector<unsigned int> Level1TriggerScalers::gtAlgoCounts |
( |
| ) |
const |
|
inline |
◆ gtEvents()
unsigned long long Level1TriggerScalers::gtEvents |
( |
| ) |
const |
|
inline |
◆ gtEventsRate()
float Level1TriggerScalers::gtEventsRate |
( |
| ) |
const |
|
inline |
◆ gtResets()
unsigned int Level1TriggerScalers::gtResets |
( |
| ) |
const |
|
inline |
◆ gtTechCounts()
std::vector<unsigned int> Level1TriggerScalers::gtTechCounts |
( |
| ) |
const |
|
inline |
◆ gtTriggers()
unsigned long long Level1TriggerScalers::gtTriggers |
( |
| ) |
const |
|
inline |
◆ gtTriggersRate()
float Level1TriggerScalers::gtTriggersRate |
( |
| ) |
const |
|
inline |
◆ l1AsCalibration()
unsigned long long Level1TriggerScalers::l1AsCalibration |
( |
| ) |
const |
|
inline |
◆ l1AsPhysics()
unsigned long long Level1TriggerScalers::l1AsPhysics |
( |
| ) |
const |
|
inline |
◆ l1AsRandom()
unsigned long long Level1TriggerScalers::l1AsRandom |
( |
| ) |
const |
|
inline |
◆ l1AsTest()
unsigned long long Level1TriggerScalers::l1AsTest |
( |
| ) |
const |
|
inline |
◆ lastEventCounter0()
unsigned int Level1TriggerScalers::lastEventCounter0 |
( |
| ) |
const |
|
inline |
◆ lastHardReset()
unsigned int Level1TriggerScalers::lastHardReset |
( |
| ) |
const |
|
inline |
◆ lastOrbitCounter0()
unsigned int Level1TriggerScalers::lastOrbitCounter0 |
( |
| ) |
const |
|
inline |
◆ lastResync()
unsigned int Level1TriggerScalers::lastResync |
( |
| ) |
const |
|
inline |
◆ lastStart()
unsigned int Level1TriggerScalers::lastStart |
( |
| ) |
const |
|
inline |
◆ lastTestEnable()
unsigned int Level1TriggerScalers::lastTestEnable |
( |
| ) |
const |
|
inline |
◆ lumiSegmentNr()
unsigned int Level1TriggerScalers::lumiSegmentNr |
( |
| ) |
const |
|
inline |
◆ lumiSegmentNrLumiSeg()
unsigned int Level1TriggerScalers::lumiSegmentNrLumiSeg |
( |
| ) |
const |
|
inline |
◆ lumiSegmentOrbits()
unsigned int Level1TriggerScalers::lumiSegmentOrbits |
( |
| ) |
const |
|
inline |
◆ name()
std::string Level1TriggerScalers::name |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator==()
◆ orbitNr()
unsigned int Level1TriggerScalers::orbitNr |
( |
| ) |
const |
|
inline |
◆ percentLS() [1/2]
double Level1TriggerScalers::percentLS |
( |
unsigned long long |
counts | ) |
|
|
static |
◆ percentLS() [2/2]
double Level1TriggerScalers::percentLS |
( |
unsigned long long |
counts, |
|
|
int |
runNumber |
|
) |
| |
|
static |
◆ percentLSActive() [1/2]
double Level1TriggerScalers::percentLSActive |
( |
unsigned long long |
counts | ) |
|
|
static |
◆ percentLSActive() [2/2]
double Level1TriggerScalers::percentLSActive |
( |
unsigned long long |
counts, |
|
|
int |
runNumber |
|
) |
| |
|
static |
◆ prescaleIndexAlgo()
int Level1TriggerScalers::prescaleIndexAlgo |
( |
| ) |
const |
|
inline |
◆ prescaleIndexTech()
int Level1TriggerScalers::prescaleIndexTech |
( |
| ) |
const |
|
inline |
◆ rateLS() [1/4]
double Level1TriggerScalers::rateLS |
( |
unsigned int |
counts | ) |
|
|
static |
◆ rateLS() [2/4]
double Level1TriggerScalers::rateLS |
( |
unsigned int |
counts, |
|
|
int |
runNumber |
|
) |
| |
|
static |
◆ rateLS() [3/4]
double Level1TriggerScalers::rateLS |
( |
unsigned long long |
counts | ) |
|
|
static |
◆ rateLS() [4/4]
double Level1TriggerScalers::rateLS |
( |
unsigned long long |
counts, |
|
|
int |
runNumber |
|
) |
| |
|
static |
◆ sourceID()
unsigned int Level1TriggerScalers::sourceID |
( |
| ) |
const |
|
inline |
◆ spare0()
unsigned long long Level1TriggerScalers::spare0 |
( |
| ) |
const |
|
inline |
◆ spare1()
unsigned long long Level1TriggerScalers::spare1 |
( |
| ) |
const |
|
inline |
◆ spare2()
unsigned long long Level1TriggerScalers::spare2 |
( |
| ) |
const |
|
inline |
◆ triggersPhysicsGeneratedFDL()
unsigned long long Level1TriggerScalers::triggersPhysicsGeneratedFDL |
( |
| ) |
const |
|
inline |
◆ triggersPhysicsLost()
unsigned long long Level1TriggerScalers::triggersPhysicsLost |
( |
| ) |
const |
|
inline |
◆ triggersPhysicsLostBeamActive()
unsigned long long Level1TriggerScalers::triggersPhysicsLostBeamActive |
( |
| ) |
const |
|
inline |
◆ triggersPhysicsLostBeamInactive()
unsigned long long Level1TriggerScalers::triggersPhysicsLostBeamInactive |
( |
| ) |
const |
|
inline |
◆ trigType()
unsigned int Level1TriggerScalers::trigType |
( |
| ) |
const |
|
inline |
◆ version()
int Level1TriggerScalers::version |
( |
| ) |
const |
|
inline |
◆ bunchCrossingErrors_
unsigned int Level1TriggerScalers::bunchCrossingErrors_ |
|
protected |
◆ bunchNumber_
unsigned int Level1TriggerScalers::bunchNumber_ |
|
protected |
◆ collectionTime_
TimeSpec Level1TriggerScalers::collectionTime_ |
|
protected |
◆ collectionTimeLumiSeg_
TimeSpec Level1TriggerScalers::collectionTimeLumiSeg_ |
|
protected |
◆ deadtime_
unsigned long long Level1TriggerScalers::deadtime_ |
|
protected |
◆ deadtimeBeamActive_
unsigned long long Level1TriggerScalers::deadtimeBeamActive_ |
|
protected |
◆ deadtimeBeamActiveCalibration_
unsigned long long Level1TriggerScalers::deadtimeBeamActiveCalibration_ |
|
protected |
◆ deadtimeBeamActivePartitionController_
unsigned long long Level1TriggerScalers::deadtimeBeamActivePartitionController_ |
|
protected |
◆ deadtimeBeamActivePrivateOrbit_
unsigned long long Level1TriggerScalers::deadtimeBeamActivePrivateOrbit_ |
|
protected |
◆ deadtimeBeamActiveTimeSlot_
unsigned long long Level1TriggerScalers::deadtimeBeamActiveTimeSlot_ |
|
protected |
◆ deadtimeBeamActiveTriggerRules_
unsigned long long Level1TriggerScalers::deadtimeBeamActiveTriggerRules_ |
|
protected |
◆ eventID_
unsigned int Level1TriggerScalers::eventID_ |
|
protected |
◆ gtAlgoCounts_
std::vector<unsigned int> Level1TriggerScalers::gtAlgoCounts_ |
|
protected |
◆ gtEvents_
unsigned long long Level1TriggerScalers::gtEvents_ |
|
protected |
◆ gtEventsRate_
float Level1TriggerScalers::gtEventsRate_ |
|
protected |
◆ gtResets_
unsigned int Level1TriggerScalers::gtResets_ |
|
protected |
◆ gtTechCounts_
std::vector<unsigned int> Level1TriggerScalers::gtTechCounts_ |
|
protected |
◆ gtTriggers_
unsigned long long Level1TriggerScalers::gtTriggers_ |
|
protected |
◆ gtTriggersRate_
float Level1TriggerScalers::gtTriggersRate_ |
|
protected |
◆ l1AsCalibration_
unsigned long long Level1TriggerScalers::l1AsCalibration_ |
|
protected |
◆ l1AsPhysics_
unsigned long long Level1TriggerScalers::l1AsPhysics_ |
|
protected |
◆ l1AsRandom_
unsigned long long Level1TriggerScalers::l1AsRandom_ |
|
protected |
◆ l1AsTest_
unsigned long long Level1TriggerScalers::l1AsTest_ |
|
protected |
◆ lastEventCounter0_
unsigned int Level1TriggerScalers::lastEventCounter0_ |
|
protected |
◆ lastHardReset_
unsigned int Level1TriggerScalers::lastHardReset_ |
|
protected |
◆ lastOrbitCounter0_
unsigned int Level1TriggerScalers::lastOrbitCounter0_ |
|
protected |
◆ lastResync_
unsigned int Level1TriggerScalers::lastResync_ |
|
protected |
◆ lastStart_
unsigned int Level1TriggerScalers::lastStart_ |
|
protected |
◆ lastTestEnable_
unsigned int Level1TriggerScalers::lastTestEnable_ |
|
protected |
◆ lumiSegmentNr_
unsigned int Level1TriggerScalers::lumiSegmentNr_ |
|
protected |
◆ lumiSegmentNrLumiSeg_
unsigned int Level1TriggerScalers::lumiSegmentNrLumiSeg_ |
|
protected |
◆ lumiSegmentOrbits_
unsigned int Level1TriggerScalers::lumiSegmentOrbits_ |
|
protected |
◆ N_BX
const unsigned long long Level1TriggerScalers::N_BX = 3564ULL |
|
static |
◆ N_BX_ACTIVE
const unsigned long long Level1TriggerScalers::N_BX_ACTIVE = 2808ULL |
|
static |
◆ N_BX_LUMI_SECTION
◆ N_ORBITS_LUMI_SECTION
const unsigned long long Level1TriggerScalers::N_ORBITS_LUMI_SECTION = 0x100000ULL |
|
static |
◆ orbitNr_
unsigned int Level1TriggerScalers::orbitNr_ |
|
protected |
◆ prescaleIndexAlgo_
int Level1TriggerScalers::prescaleIndexAlgo_ |
|
protected |
◆ prescaleIndexTech_
int Level1TriggerScalers::prescaleIndexTech_ |
|
protected |
◆ sourceID_
unsigned int Level1TriggerScalers::sourceID_ |
|
protected |
◆ spare0_
unsigned long long Level1TriggerScalers::spare0_ |
|
protected |
◆ spare1_
unsigned long long Level1TriggerScalers::spare1_ |
|
protected |
◆ spare2_
unsigned long long Level1TriggerScalers::spare2_ |
|
protected |
◆ triggersPhysicsGeneratedFDL_
unsigned long long Level1TriggerScalers::triggersPhysicsGeneratedFDL_ |
|
protected |
◆ triggersPhysicsLost_
unsigned long long Level1TriggerScalers::triggersPhysicsLost_ |
|
protected |
◆ triggersPhysicsLostBeamActive_
unsigned long long Level1TriggerScalers::triggersPhysicsLostBeamActive_ |
|
protected |
◆ triggersPhysicsLostBeamInactive_
unsigned long long Level1TriggerScalers::triggersPhysicsLostBeamInactive_ |
|
protected |
◆ trigType_
unsigned int Level1TriggerScalers::trigType_ |
|
protected |
◆ version_
int Level1TriggerScalers::version_ |
|
protected |
unsigned long long gtTriggers
unsigned long long l1AsRandom_
unsigned int lastOrbitCounter0_
unsigned long long deadtimeBeamActiveCalibration
unsigned long long deadtimeBeamActivePartitionController_
unsigned int lumiSegmentNrLumiSeg
unsigned long long deadtimeBeamActiveTimeSlot
static double rateLS(unsigned long long counts)
unsigned long long l1AsCalibration
unsigned long long triggersPhysicsLostBeamActive_
unsigned long long triggersPhysicsLostBeamInactive
unsigned long long triggersPhysicsLostBeamActive
unsigned int lastTestEnable
unsigned int lumiSegmentOrbits_
unsigned int gtTechCounts[ScalersRaw::N_L1_TEST_TRIGGERS_v1]
unsigned int bunchCrossingErrors_
unsigned long long l1AsTest
unsigned long long header
void set_tv_nsec(long value)
timespec get_timespec() const
unsigned long long deadtimeBeamActiveTriggerRules
unsigned int collectionTime_sec
unsigned long long l1AsPhysics
unsigned int lastEventCounter0
unsigned int lumiSegmentNr_
unsigned long long l1AsRandom
unsigned int lumiSegmentNrLumiSeg_
unsigned long long deadtimeBeamActivePartitionController
unsigned long long deadtime
unsigned int collectionTime_nsec
unsigned long long gtTriggers_
unsigned int lastEventCounter0_
std::vector< unsigned int > gtTechCounts_
void set_tv_sec(long value)
unsigned long long gtEvents_
unsigned long long deadtimeBeamActiveTriggerRules_
TimeSpec collectionTimeLumiSeg_
unsigned long long spare1_
unsigned long long deadtime_
unsigned long long triggersPhysicsLost
unsigned long long triggersPhysicsGeneratedFDL
std::vector< unsigned int > gtAlgoCounts_
unsigned long long triggersPhysicsLostBeamInactive_
unsigned long long deadtimeBeamActivePrivateOrbit
unsigned int lastOrbitCounter0
unsigned long long spare[ScalersRaw::N_SPARE_v5]
unsigned int lastHardReset
unsigned long long deadtimeBeamActive_
unsigned int collectionTimeLumiSeg_nsec
unsigned int lastHardReset_
unsigned int gtAlgoCounts[ScalersRaw::N_L1_TRIGGERS_v1]
static double percentLSActive(unsigned long long counts)
struct TriggerScalersRaw_v3 trig
unsigned long long l1AsTest_
unsigned long long deadtimeBeamActivePrivateOrbit_
unsigned long long l1AsCalibration_
unsigned int bunchNumber_
static double percentLS(unsigned long long counts)
unsigned long long deadtimeBeamActive
unsigned long long triggersPhysicsLost_
unsigned int collectionTimeLumiSeg_sec
unsigned int bunchCrossingErrors
unsigned long long l1AsPhysics_
unsigned long long spare2_
unsigned int lumiSegmentNr
unsigned long long triggersPhysicsGeneratedFDL_
unsigned int lumiSegmentOrbits
unsigned int lastTestEnable_
unsigned long long deadtimeBeamActiveCalibration_
unsigned long long gtEvents
unsigned long long spare0_
unsigned long long deadtimeBeamActiveTimeSlot_