CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Attributes | Protected Attributes
L1TriggerRates Class Reference

#include <L1TriggerRates.h>

Classes

class  h
 Persistable copy of L1 Trigger Rates. More...
 

Public Member Functions

double calibrationTriggersRate () const
 
double calibrationTriggersRunRate () const
 
timespec collectionTimeDetails () const
 
timespec collectionTimeSummary ()
 
void computeRates (L1TriggerScalers const &t1, L1TriggerScalers const &t2)
 
void computeRunRates (L1TriggerScalers const &t)
 
double deadTimeActiveCalibrationPercent () const
 
double deadTimeActiveCalibrationRunPercent () const
 
double deadTimeActivePartitionPercent () const
 
double deadTimeActivePartitionRunPercent () const
 
double deadTimeActivePercent () const
 
double deadTimeActivePrivatePercent () const
 
double deadTimeActivePrivateRunPercent () const
 
double deadTimeActiveRunPercent () const
 
double deadTimeActiveThrottlePercent () const
 
double deadTimeActiveThrottleRunPercent () const
 
double deadTimeActiveTimeSlotPercent () const
 
double deadTimeActiveTimeSlotRunPercent () const
 
double deadTimePercent () const
 
double deadTimeRunPercent () const
 
double deltaT () const
 
double deltaTActive () const
 
double deltaTRun () const
 
double deltaTRunActive () const
 
bool empty () const
 empty method (= false) More...
 
double eventNumberRate () const
 
double eventNumberRunRate () const
 
double finalTriggersDistributedRate () const
 
double finalTriggersDistributedRunRate () const
 
double finalTriggersGeneratedRate () const
 
double finalTriggersGeneratedRunRate () const
 
double finalTriggersInvalidBCPercent () const
 
double finalTriggersInvalidBCRunPercent () const
 
 L1TriggerRates ()
 
 L1TriggerRates (L1TriggerScalers const &s)
 
 L1TriggerRates (L1TriggerScalers const &s1, L1TriggerScalers const &s2)
 
double lostFinalTriggersActivePercent () const
 
double lostFinalTriggersActiveRunPercent () const
 
double lostFinalTriggersPercent () const
 
double lostFinalTriggersRunPercent () const
 
std::string name () const
 name method More...
 
double numberResetsRate () const
 
double numberResetsRunRate () const
 
int operator!= (const L1TriggerRates &e) const
 inequality operator More...
 
int operator== (const L1TriggerRates &e) const
 equality operator More...
 
double orbitNumberRate () const
 
double orbitNumberRunRate () const
 
double randomTriggersRate () const
 
double randomTriggersRunRate () const
 
std::vector< double > testTriggersRate () const
 
std::vector< double > testTriggersRunRate () const
 
double totalTestTriggersRate () const
 
double totalTestTriggersRunRate () const
 
double triggerNumberRate () const
 
double triggerNumberRunRate () const
 
std::vector< double > triggersRate () const
 
std::vector< double > triggersRunRate () const
 
int version () const
 get the data More...
 
virtual ~L1TriggerRates ()
 

Static Public Attributes

static constexpr int N_BX = 3654
 
static constexpr int N_BX_ACTIVE = 2808
 

Protected Attributes

double calibrationTriggersRate_
 
double calibrationTriggersRunRate_
 
TimeSpec collectionTimeDetails_
 
TimeSpec collectionTimeSummary_
 
double deadTimeActiveCalibrationPercent_
 
double deadTimeActiveCalibrationRunPercent_
 
double deadTimeActivePartitionPercent_
 
double deadTimeActivePartitionRunPercent_
 
double deadTimeActivePercent_
 
double deadTimeActivePrivatePercent_
 
double deadTimeActivePrivateRunPercent_
 
double deadTimeActiveRunPercent_
 
double deadTimeActiveThrottlePercent_
 
double deadTimeActiveThrottleRunPercent_
 
double deadTimeActiveTimeSlotPercent_
 
double deadTimeActiveTimeSlotRunPercent_
 
double deadTimePercent_
 
double deadTimeRunPercent_
 
double deltaT_
 
double deltaTActive_
 
double deltaTRun_
 
double deltaTRunActive_
 
double eventNumberRate_
 
double eventNumberRunRate_
 
double finalTriggersDistributedRate_
 
double finalTriggersDistributedRunRate_
 
double finalTriggersGeneratedRate_
 
double finalTriggersGeneratedRunRate_
 
double finalTriggersInvalidBCPercent_
 
double finalTriggersInvalidBCRunPercent_
 
double lostFinalTriggersActivePercent_
 
double lostFinalTriggersActiveRunPercent_
 
double lostFinalTriggersPercent_
 
double lostFinalTriggersRunPercent_
 
double numberResetsRate_
 
double numberResetsRunRate_
 
double orbitNumberRate_
 
double orbitNumberRunRate_
 
double randomTriggersRate_
 
double randomTriggersRunRate_
 
std::vector< double > testTriggersRate_
 
std::vector< double > testTriggersRunRate_
 
double totalTestTriggersRate_
 
double totalTestTriggersRunRate_
 
double triggerNumberRate_
 
double triggerNumberRunRate_
 
std::vector< double > triggersRate_
 
std::vector< double > triggersRunRate_
 
int version_
 

Detailed Description

Definition at line 30 of file L1TriggerRates.h.

Constructor & Destructor Documentation

◆ L1TriggerRates() [1/3]

L1TriggerRates::L1TriggerRates ( )

Definition at line 11 of file L1TriggerRates.cc.

Referenced by L1TriggerRates().

12  : version_(0),
14  deltaT_(0),
15  deltaTActive_(0),
16  triggerNumberRate_(0.0),
17  eventNumberRate_(0.0),
23  orbitNumberRate_(0.0),
24  numberResetsRate_(0.0),
25  deadTimePercent_(0.0),
double deadTimeActivePrivateRunPercent_
double lostFinalTriggersActiveRunPercent_
double deadTimeActiveCalibrationPercent_
double finalTriggersGeneratedRate_
std::vector< double > triggersRate_
double orbitNumberRunRate_
double finalTriggersInvalidBCPercent_
double deadTimeActiveThrottleRunPercent_
double numberResetsRate_
double numberResetsRunRate_
double finalTriggersDistributedRunRate_
double deadTimeActiveRunPercent_
double randomTriggersRate_
double randomTriggersRunRate_
double deadTimePercent_
TimeSpec collectionTimeSummary_
double triggerNumberRate_
double deadTimeRunPercent_
double eventNumberRate_
double lostFinalTriggersActivePercent_
double deadTimeActivePartitionRunPercent_
double finalTriggersInvalidBCRunPercent_
double deadTimeActivePercent_
double deadTimeActiveThrottlePercent_
double deadTimeActiveTimeSlotPercent_
double totalTestTriggersRunRate_
double deadTimeActivePartitionPercent_
double calibrationTriggersRate_
double deadTimeActiveTimeSlotRunPercent_
std::vector< double > testTriggersRate_
double lostFinalTriggersPercent_
double deadTimeActiveCalibrationRunPercent_
double triggerNumberRunRate_
double finalTriggersGeneratedRunRate_
double calibrationTriggersRunRate_
double deadTimeActivePrivatePercent_
TimeSpec collectionTimeDetails_
double eventNumberRunRate_
std::vector< double > triggersRunRate_
double orbitNumberRate_
double totalTestTriggersRate_
std::vector< double > testTriggersRunRate_
double lostFinalTriggersRunPercent_
double finalTriggersDistributedRate_

◆ L1TriggerRates() [2/3]

L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s)

Definition at line 60 of file L1TriggerRates.cc.

References computeRunRates(), L1TriggerRates(), and alignCSCRings::s.

60  {
63 }
void computeRunRates(L1TriggerScalers const &t)

◆ L1TriggerRates() [3/3]

L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s1,
L1TriggerScalers const &  s2 
)

Definition at line 65 of file L1TriggerRates.cc.

References computeRates(), computeRunRates(), L1TriggerRates(), RandomServiceHelper::t1, and RandomServiceHelper::t2.

65  {
67 
68  const L1TriggerScalers* t1 = &s1;
69  const L1TriggerScalers* t2 = &s2;
70 
71  // Choose the later sample to be t2
72  if (t1->orbitNumber() > t2->orbitNumber()) {
73  t1 = &s2;
74  t2 = &s1;
75  }
76 
78  computeRates(*t1, *t2);
79 }
void computeRunRates(L1TriggerScalers const &t)
void computeRates(L1TriggerScalers const &t1, L1TriggerScalers const &t2)

◆ ~L1TriggerRates()

L1TriggerRates::~L1TriggerRates ( )
virtual

Definition at line 81 of file L1TriggerRates.cc.

81 {}

Member Function Documentation

◆ calibrationTriggersRate()

double L1TriggerRates::calibrationTriggersRate ( ) const
inline

Definition at line 70 of file L1TriggerRates.h.

References calibrationTriggersRate_.

70 { return (calibrationTriggersRate_); }
double calibrationTriggersRate_

◆ calibrationTriggersRunRate()

double L1TriggerRates::calibrationTriggersRunRate ( ) const
inline

Definition at line 114 of file L1TriggerRates.h.

References calibrationTriggersRunRate_.

114 { return (calibrationTriggersRunRate_); }
double calibrationTriggersRunRate_

◆ collectionTimeDetails()

timespec L1TriggerRates::collectionTimeDetails ( ) const
inline

Definition at line 98 of file L1TriggerRates.h.

References collectionTimeDetails_, and TimeSpec::get_timespec().

timespec get_timespec() const
Definition: TimeSpec.cc:4
TimeSpec collectionTimeDetails_

◆ collectionTimeSummary()

timespec L1TriggerRates::collectionTimeSummary ( )
inline

Definition at line 53 of file L1TriggerRates.h.

References collectionTimeSummary_, and TimeSpec::get_timespec().

TimeSpec collectionTimeSummary_
timespec get_timespec() const
Definition: TimeSpec.cc:4

◆ computeRates()

void L1TriggerRates::computeRates ( L1TriggerScalers const &  t1,
L1TriggerScalers const &  t2 
)

Definition at line 83 of file L1TriggerRates.cc.

References BX_SPACING, calibrationTriggersRate_, deadTimeActiveCalibrationPercent_, deadTimeActivePartitionPercent_, deadTimeActivePercent_, deadTimeActivePrivatePercent_, deadTimeActiveThrottlePercent_, deadTimeActiveTimeSlotPercent_, deadTimePercent_, deltaT_, deltaTActive_, eventNumberRate_, finalTriggersDistributedRate_, finalTriggersGeneratedRate_, finalTriggersInvalidBCPercent_, mps_fire::i, lostFinalTriggersActivePercent_, lostFinalTriggersPercent_, N_BX, N_BX_ACTIVE, numberResetsRate_, orbitNumberRate_, randomTriggersRate_, RPCpg::rate(), RandomServiceHelper::t1, RandomServiceHelper::t2, testTriggersRate_, totalTestTriggersRate_, triggerNumberRate_, and triggersRate_.

Referenced by L1TriggerRates().

83  {
84  double deltaOrbit = (double)t2.orbitNumber() - (double)t1.orbitNumber();
85  if (deltaOrbit > 0) {
86  // Convert orbits into crossings and time in seconds
87  double deltaBC = deltaOrbit * N_BX;
88  double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
89  deltaT_ = deltaBC * BX_SPACING;
90  deltaTActive_ = deltaBCActive * BX_SPACING;
91 
92  triggerNumberRate_ = ((double)t2.triggerNumber() - (double)t1.triggerNumber()) / deltaT_;
93  eventNumberRate_ = ((double)t2.eventNumber() - (double)t1.eventNumber()) / deltaT_;
95  ((double)t2.finalTriggersDistributed() - (double)t1.finalTriggersDistributed()) / deltaT_;
96  finalTriggersGeneratedRate_ = ((double)t2.finalTriggersGenerated() - (double)t1.finalTriggersGenerated()) / deltaT_;
97  randomTriggersRate_ = ((double)t2.randomTriggers() - (double)t1.randomTriggers()) / deltaT_;
98  calibrationTriggersRate_ = ((double)t2.calibrationTriggers() - (double)t1.calibrationTriggers()) / deltaT_;
99  totalTestTriggersRate_ = ((double)t2.totalTestTriggers() - (double)t1.totalTestTriggers()) / deltaT_;
100  orbitNumberRate_ = ((double)t2.orbitNumber() - (double)t1.orbitNumber()) / deltaT_;
101  numberResetsRate_ = ((double)t2.numberResets() - (double)t1.numberResets()) / deltaT_;
102 
103  deadTimePercent_ = 100.0 * ((double)t2.deadTime() - (double)t1.deadTime()) / deltaBC;
104  deadTimeActivePercent_ = 100.0 * ((double)t2.deadTimeActive() - (double)t1.deadTimeActive()) / deltaBCActive;
106  100.0 * ((double)t2.deadTimeActiveCalibration() - (double)t1.deadTimeActiveCalibration()) / deltaBCActive;
108  100.0 * ((double)t2.deadTimeActivePrivate() - (double)t1.deadTimeActivePrivate()) / deltaBCActive;
110  100.0 * ((double)t2.deadTimeActivePartition() - (double)t1.deadTimeActivePartition()) / deltaBCActive;
112  100.0 * ((double)t2.deadTimeActiveThrottle() - (double)t1.deadTimeActiveThrottle()) / deltaBCActive;
114  100.0 * ((double)t2.deadTimeActiveTimeSlot() - (double)t1.deadTimeActiveTimeSlot()) / deltaBCActive;
116  100.0 * ((double)t2.finalTriggersInvalidBC() - (double)t1.finalTriggersInvalidBC()) / deltaBC;
117  lostFinalTriggersPercent_ = 100.0 * ((double)t2.lostFinalTriggers() - (double)t1.lostFinalTriggers()) / deltaBC;
119  100.0 * ((double)t2.lostFinalTriggersActive() - (double)t1.lostFinalTriggersActive()) / deltaBCActive;
120 
121  int length1 = t1.triggers().size();
122  int length2 = t2.triggers().size();
123  int minLength;
124  (length1 >= length2) ? minLength = length2 : minLength = length1;
125  std::vector<unsigned int> triggers1 = t1.triggers();
126  std::vector<unsigned int> triggers2 = t2.triggers();
127  for (int i = 0; i < minLength; i++) {
128  double rate = ((double)triggers2[i] - (double)triggers1[i]) / deltaT_;
129  triggersRate_.push_back(rate);
130  }
131 
132  length1 = t1.testTriggers().size();
133  length2 = t2.testTriggers().size();
134  (length1 >= length2) ? minLength = length2 : minLength = length1;
135  std::vector<unsigned int> testTriggers1 = t1.testTriggers();
136  std::vector<unsigned int> testTriggers2 = t2.testTriggers();
137  for (int i = 0; i < minLength; i++) {
138  double rate = ((double)testTriggers2[i] - (double)testTriggers1[i]) / deltaT_;
139  testTriggersRate_.push_back(rate);
140  }
141  }
142 }
double deadTimeActiveCalibrationPercent_
double finalTriggersGeneratedRate_
std::vector< double > triggersRate_
double finalTriggersInvalidBCPercent_
double numberResetsRate_
double randomTriggersRate_
double deadTimePercent_
double triggerNumberRate_
double eventNumberRate_
static constexpr int N_BX_ACTIVE
double lostFinalTriggersActivePercent_
static constexpr int N_BX
double deadTimeActivePercent_
double deadTimeActiveThrottlePercent_
double deadTimeActiveTimeSlotPercent_
double deadTimeActivePartitionPercent_
double calibrationTriggersRate_
std::vector< double > testTriggersRate_
double lostFinalTriggersPercent_
double rate(double x)
Definition: Constants.cc:3
double deadTimeActivePrivatePercent_
double orbitNumberRate_
double totalTestTriggersRate_
#define BX_SPACING
double finalTriggersDistributedRate_

◆ computeRunRates()

void L1TriggerRates::computeRunRates ( L1TriggerScalers const &  t)

Definition at line 144 of file L1TriggerRates.cc.

References BX_SPACING, calibrationTriggersRunRate_, collectionTimeDetails_, collectionTimeSummary_, deadTimeActiveCalibrationRunPercent_, deadTimeActivePartitionRunPercent_, deadTimeActivePrivateRunPercent_, deadTimeActiveRunPercent_, deadTimeActiveThrottleRunPercent_, deadTimeActiveTimeSlotRunPercent_, deadTimeRunPercent_, deltaTRun_, deltaTRunActive_, eventNumberRunRate_, finalTriggersDistributedRunRate_, finalTriggersGeneratedRunRate_, finalTriggersInvalidBCRunPercent_, mps_fire::i, lostFinalTriggersActiveRunPercent_, lostFinalTriggersRunPercent_, N_BX, N_BX_ACTIVE, numberResetsRunRate_, orbitNumberRunRate_, randomTriggersRunRate_, RPCpg::rate(), TimeSpec::set_tv_nsec(), TimeSpec::set_tv_sec(), submitPVValidationJobs::t, totalTestTriggersRunRate_, triggerNumberRunRate_, triggersRunRate_, and version_.

Referenced by L1TriggerRates().

144  {
145  version_ = t.version();
146 
147  collectionTimeSummary_.set_tv_sec(static_cast<long>(t.collectionTimeSummary().tv_sec));
148  collectionTimeSummary_.set_tv_nsec(t.collectionTimeSummary().tv_nsec);
149 
150  collectionTimeDetails_.set_tv_sec(static_cast<long>(t.collectionTimeDetails().tv_sec));
151  collectionTimeDetails_.set_tv_nsec(t.collectionTimeDetails().tv_nsec);
152 
153  double deltaOrbit = (double)t.orbitNumber();
154  if (deltaOrbit > 0) {
155  // Convert orbits into crossings and time in seconds
156  double deltaBC = deltaOrbit * N_BX;
157  double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
158  deltaTRun_ = deltaBC * BX_SPACING;
159  deltaTRunActive_ = deltaBCActive * BX_SPACING;
160 
161  triggerNumberRunRate_ = (double)t.triggerNumber() / deltaTRun_;
162  eventNumberRunRate_ = (double)t.eventNumber() / deltaTRun_;
163  finalTriggersDistributedRunRate_ = (double)t.finalTriggersDistributed() / deltaTRun_;
164  finalTriggersGeneratedRunRate_ = (double)t.finalTriggersGenerated() / deltaTRun_;
165  randomTriggersRunRate_ = (double)t.randomTriggers() / deltaTRun_;
166  calibrationTriggersRunRate_ = (double)t.calibrationTriggers() / deltaTRun_;
167  totalTestTriggersRunRate_ = (double)t.totalTestTriggers() / deltaTRun_;
168  orbitNumberRunRate_ = (double)t.orbitNumber() / deltaTRun_;
169  numberResetsRunRate_ = (double)t.numberResets() / deltaTRun_;
170 
171  deadTimeRunPercent_ = 100.0 * (double)t.deadTime() / deltaBC;
172  deadTimeActiveRunPercent_ = 100.0 * (double)t.deadTimeActive() / deltaBCActive;
173  deadTimeActiveCalibrationRunPercent_ = 100.0 * (double)t.deadTimeActiveCalibration() / deltaBCActive;
174  deadTimeActivePrivateRunPercent_ = 100.0 * (double)t.deadTimeActivePrivate() / deltaBCActive;
175  deadTimeActivePartitionRunPercent_ = 100.0 * (double)t.deadTimeActivePartition() / deltaBCActive;
176  deadTimeActiveThrottleRunPercent_ = 100.0 * (double)t.deadTimeActiveThrottle() / deltaBCActive;
177  deadTimeActiveTimeSlotRunPercent_ = 100.0 * (double)t.deadTimeActiveTimeSlot() / deltaBCActive;
178  finalTriggersInvalidBCRunPercent_ = 100.0 * (double)t.finalTriggersInvalidBC() / deltaBC;
179  lostFinalTriggersRunPercent_ = 100.0 * (double)t.lostFinalTriggers() / deltaBC;
180  lostFinalTriggersActiveRunPercent_ = 100.0 * (double)t.lostFinalTriggersActive() / deltaBCActive;
181 
182  int length = t.triggers().size();
183  for (int i = 0; i < length; i++) {
184  double rate = ((double)t.triggers()[i]) / deltaTRun_;
185  triggersRunRate_.push_back(rate);
186  }
187  }
188 }
double deadTimeActivePrivateRunPercent_
double lostFinalTriggersActiveRunPercent_
double orbitNumberRunRate_
void set_tv_nsec(long value)
Definition: TimeSpec.h:19
double deadTimeActiveThrottleRunPercent_
double numberResetsRunRate_
double finalTriggersDistributedRunRate_
double deadTimeActiveRunPercent_
double randomTriggersRunRate_
TimeSpec collectionTimeSummary_
double deadTimeRunPercent_
static constexpr int N_BX_ACTIVE
static constexpr int N_BX
double deadTimeActivePartitionRunPercent_
double finalTriggersInvalidBCRunPercent_
double totalTestTriggersRunRate_
double deadTimeActiveTimeSlotRunPercent_
double deadTimeActiveCalibrationRunPercent_
double triggerNumberRunRate_
double finalTriggersGeneratedRunRate_
double calibrationTriggersRunRate_
double rate(double x)
Definition: Constants.cc:3
double deltaTRunActive_
TimeSpec collectionTimeDetails_
double eventNumberRunRate_
void set_tv_sec(long value)
Definition: TimeSpec.h:18
std::vector< double > triggersRunRate_
double lostFinalTriggersRunPercent_
#define BX_SPACING

◆ deadTimeActiveCalibrationPercent()

double L1TriggerRates::deadTimeActiveCalibrationPercent ( ) const
inline

Definition at line 82 of file L1TriggerRates.h.

References deadTimeActiveCalibrationPercent_.

double deadTimeActiveCalibrationPercent_

◆ deadTimeActiveCalibrationRunPercent()

double L1TriggerRates::deadTimeActiveCalibrationRunPercent ( ) const
inline

Definition at line 126 of file L1TriggerRates.h.

References deadTimeActiveCalibrationRunPercent_.

double deadTimeActiveCalibrationRunPercent_

◆ deadTimeActivePartitionPercent()

double L1TriggerRates::deadTimeActivePartitionPercent ( ) const
inline

Definition at line 86 of file L1TriggerRates.h.

References deadTimeActivePartitionPercent_.

double deadTimeActivePartitionPercent_

◆ deadTimeActivePartitionRunPercent()

double L1TriggerRates::deadTimeActivePartitionRunPercent ( ) const
inline

Definition at line 130 of file L1TriggerRates.h.

References deadTimeActivePartitionRunPercent_.

double deadTimeActivePartitionRunPercent_

◆ deadTimeActivePercent()

double L1TriggerRates::deadTimeActivePercent ( ) const
inline

Definition at line 80 of file L1TriggerRates.h.

References deadTimeActivePercent_.

80 { return (deadTimeActivePercent_); }
double deadTimeActivePercent_

◆ deadTimeActivePrivatePercent()

double L1TriggerRates::deadTimeActivePrivatePercent ( ) const
inline

Definition at line 84 of file L1TriggerRates.h.

References deadTimeActivePrivatePercent_.

double deadTimeActivePrivatePercent_

◆ deadTimeActivePrivateRunPercent()

double L1TriggerRates::deadTimeActivePrivateRunPercent ( ) const
inline

Definition at line 128 of file L1TriggerRates.h.

References deadTimeActivePrivateRunPercent_.

double deadTimeActivePrivateRunPercent_

◆ deadTimeActiveRunPercent()

double L1TriggerRates::deadTimeActiveRunPercent ( ) const
inline

Definition at line 124 of file L1TriggerRates.h.

References deadTimeActiveRunPercent_.

124 { return (deadTimeActiveRunPercent_); }
double deadTimeActiveRunPercent_

◆ deadTimeActiveThrottlePercent()

double L1TriggerRates::deadTimeActiveThrottlePercent ( ) const
inline

Definition at line 88 of file L1TriggerRates.h.

References deadTimeActiveThrottlePercent_.

double deadTimeActiveThrottlePercent_

◆ deadTimeActiveThrottleRunPercent()

double L1TriggerRates::deadTimeActiveThrottleRunPercent ( ) const
inline

Definition at line 132 of file L1TriggerRates.h.

References deadTimeActiveThrottleRunPercent_.

double deadTimeActiveThrottleRunPercent_

◆ deadTimeActiveTimeSlotPercent()

double L1TriggerRates::deadTimeActiveTimeSlotPercent ( ) const
inline

Definition at line 90 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotPercent_.

double deadTimeActiveTimeSlotPercent_

◆ deadTimeActiveTimeSlotRunPercent()

double L1TriggerRates::deadTimeActiveTimeSlotRunPercent ( ) const
inline

Definition at line 134 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotRunPercent_.

double deadTimeActiveTimeSlotRunPercent_

◆ deadTimePercent()

double L1TriggerRates::deadTimePercent ( ) const
inline

Definition at line 78 of file L1TriggerRates.h.

References deadTimePercent_.

78 { return (deadTimePercent_); }
double deadTimePercent_

◆ deadTimeRunPercent()

double L1TriggerRates::deadTimeRunPercent ( ) const
inline

Definition at line 122 of file L1TriggerRates.h.

References deadTimeRunPercent_.

122 { return (deadTimeRunPercent_); }
double deadTimeRunPercent_

◆ deltaT()

double L1TriggerRates::deltaT ( ) const
inline

Definition at line 55 of file L1TriggerRates.h.

References deltaT_.

55 { return (deltaT_); }

◆ deltaTActive()

double L1TriggerRates::deltaTActive ( ) const
inline

Definition at line 56 of file L1TriggerRates.h.

References deltaTActive_.

56 { return (deltaTActive_); }

◆ deltaTRun()

double L1TriggerRates::deltaTRun ( ) const
inline

Definition at line 57 of file L1TriggerRates.h.

References deltaTRun_.

57 { return (deltaTRun_); }

◆ deltaTRunActive()

double L1TriggerRates::deltaTRunActive ( ) const
inline

Definition at line 58 of file L1TriggerRates.h.

References deltaTRunActive_.

58 { return (deltaTRunActive_); }
double deltaTRunActive_

◆ empty()

bool L1TriggerRates::empty ( ) const
inline

empty method (= false)

Definition at line 48 of file L1TriggerRates.h.

48 { return false; }

◆ eventNumberRate()

double L1TriggerRates::eventNumberRate ( ) const
inline

Definition at line 63 of file L1TriggerRates.h.

References eventNumberRate_.

63 { return (eventNumberRate_); }
double eventNumberRate_

◆ eventNumberRunRate()

double L1TriggerRates::eventNumberRunRate ( ) const
inline

Definition at line 106 of file L1TriggerRates.h.

References eventNumberRunRate_.

106 { return (eventNumberRunRate_); }
double eventNumberRunRate_

◆ finalTriggersDistributedRate()

double L1TriggerRates::finalTriggersDistributedRate ( ) const
inline

Definition at line 66 of file L1TriggerRates.h.

References finalTriggersDistributedRate_.

double finalTriggersDistributedRate_

◆ finalTriggersDistributedRunRate()

double L1TriggerRates::finalTriggersDistributedRunRate ( ) const
inline

Definition at line 108 of file L1TriggerRates.h.

References finalTriggersDistributedRunRate_.

double finalTriggersDistributedRunRate_

◆ finalTriggersGeneratedRate()

double L1TriggerRates::finalTriggersGeneratedRate ( ) const
inline

Definition at line 65 of file L1TriggerRates.h.

References finalTriggersGeneratedRate_.

65 { return (finalTriggersGeneratedRate_); }
double finalTriggersGeneratedRate_

◆ finalTriggersGeneratedRunRate()

double L1TriggerRates::finalTriggersGeneratedRunRate ( ) const
inline

Definition at line 110 of file L1TriggerRates.h.

References finalTriggersGeneratedRunRate_.

110 { return (finalTriggersGeneratedRunRate_); }
double finalTriggersGeneratedRunRate_

◆ finalTriggersInvalidBCPercent()

double L1TriggerRates::finalTriggersInvalidBCPercent ( ) const
inline

Definition at line 92 of file L1TriggerRates.h.

References finalTriggersInvalidBCPercent_.

double finalTriggersInvalidBCPercent_

◆ finalTriggersInvalidBCRunPercent()

double L1TriggerRates::finalTriggersInvalidBCRunPercent ( ) const
inline

Definition at line 136 of file L1TriggerRates.h.

References finalTriggersInvalidBCRunPercent_.

double finalTriggersInvalidBCRunPercent_

◆ lostFinalTriggersActivePercent()

double L1TriggerRates::lostFinalTriggersActivePercent ( ) const
inline

Definition at line 96 of file L1TriggerRates.h.

References lostFinalTriggersActivePercent_.

double lostFinalTriggersActivePercent_

◆ lostFinalTriggersActiveRunPercent()

double L1TriggerRates::lostFinalTriggersActiveRunPercent ( ) const
inline

Definition at line 140 of file L1TriggerRates.h.

References lostFinalTriggersActiveRunPercent_.

double lostFinalTriggersActiveRunPercent_

◆ lostFinalTriggersPercent()

double L1TriggerRates::lostFinalTriggersPercent ( ) const
inline

Definition at line 94 of file L1TriggerRates.h.

References lostFinalTriggersPercent_.

94 { return (lostFinalTriggersPercent_); }
double lostFinalTriggersPercent_

◆ lostFinalTriggersRunPercent()

double L1TriggerRates::lostFinalTriggersRunPercent ( ) const
inline

Definition at line 138 of file L1TriggerRates.h.

References lostFinalTriggersRunPercent_.

138 { return (lostFinalTriggersRunPercent_); }
double lostFinalTriggersRunPercent_

◆ name()

std::string L1TriggerRates::name ( ) const
inline

name method

Definition at line 45 of file L1TriggerRates.h.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

45 { return "L1TriggerRates"; }

◆ numberResetsRate()

double L1TriggerRates::numberResetsRate ( ) const
inline

Definition at line 76 of file L1TriggerRates.h.

References numberResetsRate_.

76 { return (numberResetsRate_); }
double numberResetsRate_

◆ numberResetsRunRate()

double L1TriggerRates::numberResetsRunRate ( ) const
inline

Definition at line 120 of file L1TriggerRates.h.

References numberResetsRunRate_.

120 { return (numberResetsRunRate_); }
double numberResetsRunRate_

◆ operator!=()

int L1TriggerRates::operator!= ( const L1TriggerRates e) const
inline

inequality operator

Definition at line 150 of file L1TriggerRates.h.

150 { return false; }

◆ operator==()

int L1TriggerRates::operator== ( const L1TriggerRates e) const
inline

equality operator

Definition at line 147 of file L1TriggerRates.h.

147 { return false; }

◆ orbitNumberRate()

double L1TriggerRates::orbitNumberRate ( ) const
inline

Definition at line 74 of file L1TriggerRates.h.

References orbitNumberRate_.

74 { return (orbitNumberRate_); }
double orbitNumberRate_

◆ orbitNumberRunRate()

double L1TriggerRates::orbitNumberRunRate ( ) const
inline

Definition at line 118 of file L1TriggerRates.h.

References orbitNumberRunRate_.

118 { return (orbitNumberRunRate_); }
double orbitNumberRunRate_

◆ randomTriggersRate()

double L1TriggerRates::randomTriggersRate ( ) const
inline

Definition at line 68 of file L1TriggerRates.h.

References randomTriggersRate_.

68 { return (randomTriggersRate_); }
double randomTriggersRate_

◆ randomTriggersRunRate()

double L1TriggerRates::randomTriggersRunRate ( ) const
inline

Definition at line 112 of file L1TriggerRates.h.

References randomTriggersRunRate_.

112 { return (randomTriggersRunRate_); }
double randomTriggersRunRate_

◆ testTriggersRate()

std::vector<double> L1TriggerRates::testTriggersRate ( ) const
inline

Definition at line 101 of file L1TriggerRates.h.

References testTriggersRate_.

101 { return (testTriggersRate_); }
std::vector< double > testTriggersRate_

◆ testTriggersRunRate()

std::vector<double> L1TriggerRates::testTriggersRunRate ( ) const
inline

Definition at line 144 of file L1TriggerRates.h.

References testTriggersRunRate_.

144 { return (testTriggersRunRate_); }
std::vector< double > testTriggersRunRate_

◆ totalTestTriggersRate()

double L1TriggerRates::totalTestTriggersRate ( ) const
inline

Definition at line 72 of file L1TriggerRates.h.

References totalTestTriggersRate_.

72 { return (totalTestTriggersRate_); }
double totalTestTriggersRate_

◆ totalTestTriggersRunRate()

double L1TriggerRates::totalTestTriggersRunRate ( ) const
inline

Definition at line 116 of file L1TriggerRates.h.

References totalTestTriggersRunRate_.

116 { return (totalTestTriggersRunRate_); }
double totalTestTriggersRunRate_

◆ triggerNumberRate()

double L1TriggerRates::triggerNumberRate ( ) const
inline

Definition at line 61 of file L1TriggerRates.h.

References triggerNumberRate_.

61 { return (triggerNumberRate_); }
double triggerNumberRate_

◆ triggerNumberRunRate()

double L1TriggerRates::triggerNumberRunRate ( ) const
inline

Definition at line 104 of file L1TriggerRates.h.

References triggerNumberRunRate_.

104 { return (triggerNumberRunRate_); }
double triggerNumberRunRate_

◆ triggersRate()

std::vector<double> L1TriggerRates::triggersRate ( ) const
inline

Definition at line 100 of file L1TriggerRates.h.

References triggersRate_.

100 { return (triggersRate_); }
std::vector< double > triggersRate_

◆ triggersRunRate()

std::vector<double> L1TriggerRates::triggersRunRate ( ) const
inline

Definition at line 142 of file L1TriggerRates.h.

References triggersRunRate_.

142 { return (triggersRunRate_); }
std::vector< double > triggersRunRate_

◆ version()

int L1TriggerRates::version ( ) const
inline

get the data

Definition at line 52 of file L1TriggerRates.h.

References version_.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().

52 { return (version_); }

Member Data Documentation

◆ calibrationTriggersRate_

double L1TriggerRates::calibrationTriggersRate_
protected

Definition at line 164 of file L1TriggerRates.h.

Referenced by calibrationTriggersRate(), and computeRates().

◆ calibrationTriggersRunRate_

double L1TriggerRates::calibrationTriggersRunRate_
protected

Definition at line 190 of file L1TriggerRates.h.

Referenced by calibrationTriggersRunRate(), and computeRunRates().

◆ collectionTimeDetails_

TimeSpec L1TriggerRates::collectionTimeDetails_
protected

Definition at line 205 of file L1TriggerRates.h.

Referenced by collectionTimeDetails(), and computeRunRates().

◆ collectionTimeSummary_

TimeSpec L1TriggerRates::collectionTimeSummary_
protected

Definition at line 154 of file L1TriggerRates.h.

Referenced by collectionTimeSummary(), and computeRunRates().

◆ deadTimeActiveCalibrationPercent_

double L1TriggerRates::deadTimeActiveCalibrationPercent_
protected

Definition at line 170 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveCalibrationPercent().

◆ deadTimeActiveCalibrationRunPercent_

double L1TriggerRates::deadTimeActiveCalibrationRunPercent_
protected

Definition at line 196 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveCalibrationRunPercent().

◆ deadTimeActivePartitionPercent_

double L1TriggerRates::deadTimeActivePartitionPercent_
protected

Definition at line 172 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePartitionPercent().

◆ deadTimeActivePartitionRunPercent_

double L1TriggerRates::deadTimeActivePartitionRunPercent_
protected

Definition at line 198 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePartitionRunPercent().

◆ deadTimeActivePercent_

double L1TriggerRates::deadTimeActivePercent_
protected

Definition at line 169 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePercent().

◆ deadTimeActivePrivatePercent_

double L1TriggerRates::deadTimeActivePrivatePercent_
protected

Definition at line 171 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePrivatePercent().

◆ deadTimeActivePrivateRunPercent_

double L1TriggerRates::deadTimeActivePrivateRunPercent_
protected

Definition at line 197 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePrivateRunPercent().

◆ deadTimeActiveRunPercent_

double L1TriggerRates::deadTimeActiveRunPercent_
protected

Definition at line 195 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveRunPercent().

◆ deadTimeActiveThrottlePercent_

double L1TriggerRates::deadTimeActiveThrottlePercent_
protected

Definition at line 173 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveThrottlePercent().

◆ deadTimeActiveThrottleRunPercent_

double L1TriggerRates::deadTimeActiveThrottleRunPercent_
protected

Definition at line 199 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveThrottleRunPercent().

◆ deadTimeActiveTimeSlotPercent_

double L1TriggerRates::deadTimeActiveTimeSlotPercent_
protected

Definition at line 174 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveTimeSlotPercent().

◆ deadTimeActiveTimeSlotRunPercent_

double L1TriggerRates::deadTimeActiveTimeSlotRunPercent_
protected

Definition at line 200 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveTimeSlotRunPercent().

◆ deadTimePercent_

double L1TriggerRates::deadTimePercent_
protected

Definition at line 168 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimePercent().

◆ deadTimeRunPercent_

double L1TriggerRates::deadTimeRunPercent_
protected

Definition at line 194 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeRunPercent().

◆ deltaT_

double L1TriggerRates::deltaT_
protected

Definition at line 156 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaT().

◆ deltaTActive_

double L1TriggerRates::deltaTActive_
protected

Definition at line 157 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaTActive().

◆ deltaTRun_

double L1TriggerRates::deltaTRun_
protected

Definition at line 182 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRun().

◆ deltaTRunActive_

double L1TriggerRates::deltaTRunActive_
protected

Definition at line 183 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRunActive().

◆ eventNumberRate_

double L1TriggerRates::eventNumberRate_
protected

Definition at line 160 of file L1TriggerRates.h.

Referenced by computeRates(), and eventNumberRate().

◆ eventNumberRunRate_

double L1TriggerRates::eventNumberRunRate_
protected

Definition at line 186 of file L1TriggerRates.h.

Referenced by computeRunRates(), and eventNumberRunRate().

◆ finalTriggersDistributedRate_

double L1TriggerRates::finalTriggersDistributedRate_
protected

Definition at line 161 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersDistributedRate().

◆ finalTriggersDistributedRunRate_

double L1TriggerRates::finalTriggersDistributedRunRate_
protected

Definition at line 187 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersDistributedRunRate().

◆ finalTriggersGeneratedRate_

double L1TriggerRates::finalTriggersGeneratedRate_
protected

Definition at line 162 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersGeneratedRate().

◆ finalTriggersGeneratedRunRate_

double L1TriggerRates::finalTriggersGeneratedRunRate_
protected

Definition at line 188 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersGeneratedRunRate().

◆ finalTriggersInvalidBCPercent_

double L1TriggerRates::finalTriggersInvalidBCPercent_
protected

Definition at line 175 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersInvalidBCPercent().

◆ finalTriggersInvalidBCRunPercent_

double L1TriggerRates::finalTriggersInvalidBCRunPercent_
protected

Definition at line 201 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersInvalidBCRunPercent().

◆ lostFinalTriggersActivePercent_

double L1TriggerRates::lostFinalTriggersActivePercent_
protected

Definition at line 177 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersActivePercent().

◆ lostFinalTriggersActiveRunPercent_

double L1TriggerRates::lostFinalTriggersActiveRunPercent_
protected

Definition at line 203 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersActiveRunPercent().

◆ lostFinalTriggersPercent_

double L1TriggerRates::lostFinalTriggersPercent_
protected

Definition at line 176 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersPercent().

◆ lostFinalTriggersRunPercent_

double L1TriggerRates::lostFinalTriggersRunPercent_
protected

Definition at line 202 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersRunPercent().

◆ N_BX

constexpr int L1TriggerRates::N_BX = 3654
static

Definition at line 32 of file L1TriggerRates.h.

Referenced by computeRates(), and computeRunRates().

◆ N_BX_ACTIVE

constexpr int L1TriggerRates::N_BX_ACTIVE = 2808
static

Definition at line 32 of file L1TriggerRates.h.

Referenced by computeRates(), and computeRunRates().

◆ numberResetsRate_

double L1TriggerRates::numberResetsRate_
protected

Definition at line 167 of file L1TriggerRates.h.

Referenced by computeRates(), and numberResetsRate().

◆ numberResetsRunRate_

double L1TriggerRates::numberResetsRunRate_
protected

Definition at line 193 of file L1TriggerRates.h.

Referenced by computeRunRates(), and numberResetsRunRate().

◆ orbitNumberRate_

double L1TriggerRates::orbitNumberRate_
protected

Definition at line 166 of file L1TriggerRates.h.

Referenced by computeRates(), and orbitNumberRate().

◆ orbitNumberRunRate_

double L1TriggerRates::orbitNumberRunRate_
protected

Definition at line 192 of file L1TriggerRates.h.

Referenced by computeRunRates(), and orbitNumberRunRate().

◆ randomTriggersRate_

double L1TriggerRates::randomTriggersRate_
protected

Definition at line 163 of file L1TriggerRates.h.

Referenced by computeRates(), and randomTriggersRate().

◆ randomTriggersRunRate_

double L1TriggerRates::randomTriggersRunRate_
protected

Definition at line 189 of file L1TriggerRates.h.

Referenced by computeRunRates(), and randomTriggersRunRate().

◆ testTriggersRate_

std::vector<double> L1TriggerRates::testTriggersRate_
protected

Definition at line 180 of file L1TriggerRates.h.

Referenced by computeRates(), and testTriggersRate().

◆ testTriggersRunRate_

std::vector<double> L1TriggerRates::testTriggersRunRate_
protected

Definition at line 207 of file L1TriggerRates.h.

Referenced by testTriggersRunRate().

◆ totalTestTriggersRate_

double L1TriggerRates::totalTestTriggersRate_
protected

Definition at line 165 of file L1TriggerRates.h.

Referenced by computeRates(), and totalTestTriggersRate().

◆ totalTestTriggersRunRate_

double L1TriggerRates::totalTestTriggersRunRate_
protected

Definition at line 191 of file L1TriggerRates.h.

Referenced by computeRunRates(), and totalTestTriggersRunRate().

◆ triggerNumberRate_

double L1TriggerRates::triggerNumberRate_
protected

Definition at line 159 of file L1TriggerRates.h.

Referenced by computeRates(), and triggerNumberRate().

◆ triggerNumberRunRate_

double L1TriggerRates::triggerNumberRunRate_
protected

Definition at line 185 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggerNumberRunRate().

◆ triggersRate_

std::vector<double> L1TriggerRates::triggersRate_
protected

Definition at line 179 of file L1TriggerRates.h.

Referenced by computeRates(), and triggersRate().

◆ triggersRunRate_

std::vector<double> L1TriggerRates::triggersRunRate_
protected

Definition at line 206 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggersRunRate().

◆ version_

int L1TriggerRates::version_
protected

Definition at line 153 of file L1TriggerRates.h.

Referenced by computeRunRates(), and version().