CMS 3D CMS Logo

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

#include <L1TriggerRates.h>

Public Types

enum  { N_BX = 3654, N_BX_ACTIVE = 2808 }
 

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 ()
 

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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
N_BX 
N_BX_ACTIVE 

Definition at line 32 of file L1TriggerRates.h.

32 { N_BX = 3654, N_BX_ACTIVE = 2808 };

Constructor & Destructor Documentation

◆ L1TriggerRates() [1/3]

L1TriggerRates::L1TriggerRates ( )

Definition at line 11 of file L1TriggerRates.cc.

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),

Referenced by L1TriggerRates().

◆ L1TriggerRates() [2/3]

L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s)

Definition at line 60 of file L1TriggerRates.cc.

60  {
63 }

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

◆ L1TriggerRates() [3/3]

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

Definition at line 65 of file L1TriggerRates.cc.

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 }

References computeRates(), computeRunRates(), L1TriggerRates(), indexGen::s2, RandomServiceHelper::t1, and RandomServiceHelper::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.

70 { return (calibrationTriggersRate_); }

References calibrationTriggersRate_.

◆ calibrationTriggersRunRate()

double L1TriggerRates::calibrationTriggersRunRate ( ) const
inline

Definition at line 114 of file L1TriggerRates.h.

114 { return (calibrationTriggersRunRate_); }

References calibrationTriggersRunRate_.

◆ collectionTimeDetails()

timespec L1TriggerRates::collectionTimeDetails ( ) const
inline

Definition at line 98 of file L1TriggerRates.h.

References collectionTimeDetails_, and TimeSpec::get_timespec().

◆ collectionTimeSummary()

timespec L1TriggerRates::collectionTimeSummary ( )
inline

Definition at line 53 of file L1TriggerRates.h.

References collectionTimeSummary_, and TimeSpec::get_timespec().

◆ computeRates()

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

Definition at line 83 of file L1TriggerRates.cc.

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 }

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().

◆ computeRunRates()

void L1TriggerRates::computeRunRates ( L1TriggerScalers const &  t)

Definition at line 144 of file L1TriggerRates.cc.

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 }

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().

◆ deadTimeActiveCalibrationPercent()

double L1TriggerRates::deadTimeActiveCalibrationPercent ( ) const
inline

Definition at line 82 of file L1TriggerRates.h.

References deadTimeActiveCalibrationPercent_.

◆ deadTimeActiveCalibrationRunPercent()

double L1TriggerRates::deadTimeActiveCalibrationRunPercent ( ) const
inline

Definition at line 126 of file L1TriggerRates.h.

References deadTimeActiveCalibrationRunPercent_.

◆ deadTimeActivePartitionPercent()

double L1TriggerRates::deadTimeActivePartitionPercent ( ) const
inline

Definition at line 86 of file L1TriggerRates.h.

References deadTimeActivePartitionPercent_.

◆ deadTimeActivePartitionRunPercent()

double L1TriggerRates::deadTimeActivePartitionRunPercent ( ) const
inline

Definition at line 130 of file L1TriggerRates.h.

References deadTimeActivePartitionRunPercent_.

◆ deadTimeActivePercent()

double L1TriggerRates::deadTimeActivePercent ( ) const
inline

Definition at line 80 of file L1TriggerRates.h.

80 { return (deadTimeActivePercent_); }

References deadTimeActivePercent_.

◆ deadTimeActivePrivatePercent()

double L1TriggerRates::deadTimeActivePrivatePercent ( ) const
inline

Definition at line 84 of file L1TriggerRates.h.

References deadTimeActivePrivatePercent_.

◆ deadTimeActivePrivateRunPercent()

double L1TriggerRates::deadTimeActivePrivateRunPercent ( ) const
inline

Definition at line 128 of file L1TriggerRates.h.

References deadTimeActivePrivateRunPercent_.

◆ deadTimeActiveRunPercent()

double L1TriggerRates::deadTimeActiveRunPercent ( ) const
inline

Definition at line 124 of file L1TriggerRates.h.

124 { return (deadTimeActiveRunPercent_); }

References deadTimeActiveRunPercent_.

◆ deadTimeActiveThrottlePercent()

double L1TriggerRates::deadTimeActiveThrottlePercent ( ) const
inline

Definition at line 88 of file L1TriggerRates.h.

References deadTimeActiveThrottlePercent_.

◆ deadTimeActiveThrottleRunPercent()

double L1TriggerRates::deadTimeActiveThrottleRunPercent ( ) const
inline

Definition at line 132 of file L1TriggerRates.h.

References deadTimeActiveThrottleRunPercent_.

◆ deadTimeActiveTimeSlotPercent()

double L1TriggerRates::deadTimeActiveTimeSlotPercent ( ) const
inline

Definition at line 90 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotPercent_.

◆ deadTimeActiveTimeSlotRunPercent()

double L1TriggerRates::deadTimeActiveTimeSlotRunPercent ( ) const
inline

Definition at line 134 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotRunPercent_.

◆ deadTimePercent()

double L1TriggerRates::deadTimePercent ( ) const
inline

Definition at line 78 of file L1TriggerRates.h.

78 { return (deadTimePercent_); }

References deadTimePercent_.

◆ deadTimeRunPercent()

double L1TriggerRates::deadTimeRunPercent ( ) const
inline

Definition at line 122 of file L1TriggerRates.h.

122 { return (deadTimeRunPercent_); }

References deadTimeRunPercent_.

◆ deltaT()

double L1TriggerRates::deltaT ( ) const
inline

Definition at line 55 of file L1TriggerRates.h.

55 { return (deltaT_); }

References deltaT_.

◆ deltaTActive()

double L1TriggerRates::deltaTActive ( ) const
inline

Definition at line 56 of file L1TriggerRates.h.

56 { return (deltaTActive_); }

References deltaTActive_.

◆ deltaTRun()

double L1TriggerRates::deltaTRun ( ) const
inline

Definition at line 57 of file L1TriggerRates.h.

57 { return (deltaTRun_); }

References deltaTRun_.

◆ deltaTRunActive()

double L1TriggerRates::deltaTRunActive ( ) const
inline

Definition at line 58 of file L1TriggerRates.h.

58 { return (deltaTRunActive_); }

References 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.

63 { return (eventNumberRate_); }

References eventNumberRate_.

◆ eventNumberRunRate()

double L1TriggerRates::eventNumberRunRate ( ) const
inline

Definition at line 106 of file L1TriggerRates.h.

106 { return (eventNumberRunRate_); }

References eventNumberRunRate_.

◆ finalTriggersDistributedRate()

double L1TriggerRates::finalTriggersDistributedRate ( ) const
inline

Definition at line 66 of file L1TriggerRates.h.

References finalTriggersDistributedRate_.

◆ finalTriggersDistributedRunRate()

double L1TriggerRates::finalTriggersDistributedRunRate ( ) const
inline

Definition at line 108 of file L1TriggerRates.h.

References finalTriggersDistributedRunRate_.

◆ finalTriggersGeneratedRate()

double L1TriggerRates::finalTriggersGeneratedRate ( ) const
inline

Definition at line 65 of file L1TriggerRates.h.

65 { return (finalTriggersGeneratedRate_); }

References finalTriggersGeneratedRate_.

◆ finalTriggersGeneratedRunRate()

double L1TriggerRates::finalTriggersGeneratedRunRate ( ) const
inline

Definition at line 110 of file L1TriggerRates.h.

110 { return (finalTriggersGeneratedRunRate_); }

References finalTriggersGeneratedRunRate_.

◆ finalTriggersInvalidBCPercent()

double L1TriggerRates::finalTriggersInvalidBCPercent ( ) const
inline

Definition at line 92 of file L1TriggerRates.h.

References finalTriggersInvalidBCPercent_.

◆ finalTriggersInvalidBCRunPercent()

double L1TriggerRates::finalTriggersInvalidBCRunPercent ( ) const
inline

Definition at line 136 of file L1TriggerRates.h.

References finalTriggersInvalidBCRunPercent_.

◆ lostFinalTriggersActivePercent()

double L1TriggerRates::lostFinalTriggersActivePercent ( ) const
inline

Definition at line 96 of file L1TriggerRates.h.

References lostFinalTriggersActivePercent_.

◆ lostFinalTriggersActiveRunPercent()

double L1TriggerRates::lostFinalTriggersActiveRunPercent ( ) const
inline

Definition at line 140 of file L1TriggerRates.h.

References lostFinalTriggersActiveRunPercent_.

◆ lostFinalTriggersPercent()

double L1TriggerRates::lostFinalTriggersPercent ( ) const
inline

Definition at line 94 of file L1TriggerRates.h.

94 { return (lostFinalTriggersPercent_); }

References lostFinalTriggersPercent_.

◆ lostFinalTriggersRunPercent()

double L1TriggerRates::lostFinalTriggersRunPercent ( ) const
inline

Definition at line 138 of file L1TriggerRates.h.

138 { return (lostFinalTriggersRunPercent_); }

References lostFinalTriggersRunPercent_.

◆ name()

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

name method

Definition at line 45 of file L1TriggerRates.h.

45 { return "L1TriggerRates"; }

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

◆ numberResetsRate()

double L1TriggerRates::numberResetsRate ( ) const
inline

Definition at line 76 of file L1TriggerRates.h.

76 { return (numberResetsRate_); }

References numberResetsRate_.

◆ numberResetsRunRate()

double L1TriggerRates::numberResetsRunRate ( ) const
inline

Definition at line 120 of file L1TriggerRates.h.

120 { return (numberResetsRunRate_); }

References 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.

74 { return (orbitNumberRate_); }

References orbitNumberRate_.

◆ orbitNumberRunRate()

double L1TriggerRates::orbitNumberRunRate ( ) const
inline

Definition at line 118 of file L1TriggerRates.h.

118 { return (orbitNumberRunRate_); }

References orbitNumberRunRate_.

◆ randomTriggersRate()

double L1TriggerRates::randomTriggersRate ( ) const
inline

Definition at line 68 of file L1TriggerRates.h.

68 { return (randomTriggersRate_); }

References randomTriggersRate_.

◆ randomTriggersRunRate()

double L1TriggerRates::randomTriggersRunRate ( ) const
inline

Definition at line 112 of file L1TriggerRates.h.

112 { return (randomTriggersRunRate_); }

References randomTriggersRunRate_.

◆ testTriggersRate()

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

Definition at line 101 of file L1TriggerRates.h.

101 { return (testTriggersRate_); }

References testTriggersRate_.

◆ testTriggersRunRate()

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

Definition at line 144 of file L1TriggerRates.h.

144 { return (testTriggersRunRate_); }

References testTriggersRunRate_.

◆ totalTestTriggersRate()

double L1TriggerRates::totalTestTriggersRate ( ) const
inline

Definition at line 72 of file L1TriggerRates.h.

72 { return (totalTestTriggersRate_); }

References totalTestTriggersRate_.

◆ totalTestTriggersRunRate()

double L1TriggerRates::totalTestTriggersRunRate ( ) const
inline

Definition at line 116 of file L1TriggerRates.h.

116 { return (totalTestTriggersRunRate_); }

References totalTestTriggersRunRate_.

◆ triggerNumberRate()

double L1TriggerRates::triggerNumberRate ( ) const
inline

Definition at line 61 of file L1TriggerRates.h.

61 { return (triggerNumberRate_); }

References triggerNumberRate_.

◆ triggerNumberRunRate()

double L1TriggerRates::triggerNumberRunRate ( ) const
inline

Definition at line 104 of file L1TriggerRates.h.

104 { return (triggerNumberRunRate_); }

References triggerNumberRunRate_.

◆ triggersRate()

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

Definition at line 100 of file L1TriggerRates.h.

100 { return (triggersRate_); }

References triggersRate_.

◆ triggersRunRate()

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

Definition at line 142 of file L1TriggerRates.h.

142 { return (triggersRunRate_); }

References triggersRunRate_.

◆ version()

int L1TriggerRates::version ( ) const
inline

get the data

Definition at line 52 of file L1TriggerRates.h.

52 { return (version_); }

References version_.

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

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().

◆ 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().

L1TriggerRates::finalTriggersDistributedRate_
double finalTriggersDistributedRate_
Definition: L1TriggerRates.h:161
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
L1TriggerRates::randomTriggersRunRate_
double randomTriggersRunRate_
Definition: L1TriggerRates.h:189
L1TriggerRates::deltaTRunActive_
double deltaTRunActive_
Definition: L1TriggerRates.h:183
mps_fire.i
i
Definition: mps_fire.py:428
L1TriggerRates::lostFinalTriggersActiveRunPercent_
double lostFinalTriggersActiveRunPercent_
Definition: L1TriggerRates.h:203
L1TriggerRates::totalTestTriggersRate_
double totalTestTriggersRate_
Definition: L1TriggerRates.h:165
L1TriggerRates::numberResetsRunRate_
double numberResetsRunRate_
Definition: L1TriggerRates.h:193
L1TriggerRates::finalTriggersDistributedRunRate_
double finalTriggersDistributedRunRate_
Definition: L1TriggerRates.h:187
L1TriggerRates::eventNumberRunRate_
double eventNumberRunRate_
Definition: L1TriggerRates.h:186
L1TriggerRates::numberResetsRate_
double numberResetsRate_
Definition: L1TriggerRates.h:167
L1TriggerRates::deadTimeActivePrivateRunPercent_
double deadTimeActivePrivateRunPercent_
Definition: L1TriggerRates.h:197
L1TriggerRates::deltaTActive_
double deltaTActive_
Definition: L1TriggerRates.h:157
L1TriggerRates::finalTriggersInvalidBCPercent_
double finalTriggersInvalidBCPercent_
Definition: L1TriggerRates.h:175
L1TriggerRates::deltaTRun_
double deltaTRun_
Definition: L1TriggerRates.h:182
L1TriggerRates::orbitNumberRunRate_
double orbitNumberRunRate_
Definition: L1TriggerRates.h:192
L1TriggerRates::finalTriggersGeneratedRate_
double finalTriggersGeneratedRate_
Definition: L1TriggerRates.h:162
L1TriggerRates::testTriggersRunRate_
std::vector< double > testTriggersRunRate_
Definition: L1TriggerRates.h:207
TimeSpec::set_tv_nsec
void set_tv_nsec(long value)
Definition: TimeSpec.h:19
TimeSpec::get_timespec
timespec get_timespec() const
Definition: TimeSpec.cc:4
indexGen.s2
s2
Definition: indexGen.py:107
RPCpg::rate
double rate(double x)
Definition: Constants.cc:3
L1TriggerRates::deadTimeActiveRunPercent_
double deadTimeActiveRunPercent_
Definition: L1TriggerRates.h:195
L1TriggerRates::deadTimeActivePercent_
double deadTimeActivePercent_
Definition: L1TriggerRates.h:169
L1TriggerRates::deadTimeActiveThrottleRunPercent_
double deadTimeActiveThrottleRunPercent_
Definition: L1TriggerRates.h:199
L1TriggerRates::collectionTimeSummary_
TimeSpec collectionTimeSummary_
Definition: L1TriggerRates.h:154
L1TriggerRates::N_BX
Definition: L1TriggerRates.h:32
L1TriggerRates::randomTriggersRate_
double randomTriggersRate_
Definition: L1TriggerRates.h:163
alignCSCRings.s
s
Definition: alignCSCRings.py:92
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
L1TriggerScalers::nL1TestTriggers
Definition: L1TriggerScalers.h:30
TimeSpec::set_tv_sec
void set_tv_sec(long value)
Definition: TimeSpec.h:18
L1TriggerRates::triggerNumberRate_
double triggerNumberRate_
Definition: L1TriggerRates.h:159
L1TriggerRates::deadTimeRunPercent_
double deadTimeRunPercent_
Definition: L1TriggerRates.h:194
L1TriggerRates::version_
int version_
Definition: L1TriggerRates.h:153
L1TriggerRates::deadTimePercent_
double deadTimePercent_
Definition: L1TriggerRates.h:168
L1TriggerRates::triggerNumberRunRate_
double triggerNumberRunRate_
Definition: L1TriggerRates.h:185
L1TriggerRates::deadTimeActiveThrottlePercent_
double deadTimeActiveThrottlePercent_
Definition: L1TriggerRates.h:173
L1TriggerRates::deadTimeActivePartitionPercent_
double deadTimeActivePartitionPercent_
Definition: L1TriggerRates.h:172
L1TriggerRates::eventNumberRate_
double eventNumberRate_
Definition: L1TriggerRates.h:160
L1TriggerRates::deadTimeActiveCalibrationRunPercent_
double deadTimeActiveCalibrationRunPercent_
Definition: L1TriggerRates.h:196
L1TriggerRates::computeRunRates
void computeRunRates(L1TriggerScalers const &t)
Definition: L1TriggerRates.cc:144
L1TriggerRates::deadTimeActivePartitionRunPercent_
double deadTimeActivePartitionRunPercent_
Definition: L1TriggerRates.h:198
L1TriggerRates::lostFinalTriggersPercent_
double lostFinalTriggersPercent_
Definition: L1TriggerRates.h:176
L1TriggerRates::lostFinalTriggersActivePercent_
double lostFinalTriggersActivePercent_
Definition: L1TriggerRates.h:177
L1TriggerRates::finalTriggersInvalidBCRunPercent_
double finalTriggersInvalidBCRunPercent_
Definition: L1TriggerRates.h:201
L1TriggerRates::testTriggersRate_
std::vector< double > testTriggersRate_
Definition: L1TriggerRates.h:180
L1TriggerRates::deadTimeActiveTimeSlotPercent_
double deadTimeActiveTimeSlotPercent_
Definition: L1TriggerRates.h:174
L1TriggerRates::finalTriggersGeneratedRunRate_
double finalTriggersGeneratedRunRate_
Definition: L1TriggerRates.h:188
L1TriggerRates::totalTestTriggersRunRate_
double totalTestTriggersRunRate_
Definition: L1TriggerRates.h:191
L1TriggerRates::L1TriggerRates
L1TriggerRates()
Definition: L1TriggerRates.cc:11
L1TriggerRates::orbitNumberRate_
double orbitNumberRate_
Definition: L1TriggerRates.h:166
L1TriggerRates::calibrationTriggersRate_
double calibrationTriggersRate_
Definition: L1TriggerRates.h:164
L1TriggerRates::calibrationTriggersRunRate_
double calibrationTriggersRunRate_
Definition: L1TriggerRates.h:190
L1TriggerRates::computeRates
void computeRates(L1TriggerScalers const &t1, L1TriggerScalers const &t2)
Definition: L1TriggerRates.cc:83
L1TriggerRates::deltaT_
double deltaT_
Definition: L1TriggerRates.h:156
BX_SPACING
#define BX_SPACING
Definition: L1TriggerRates.h:34
L1TriggerRates::collectionTimeDetails_
TimeSpec collectionTimeDetails_
Definition: L1TriggerRates.h:205
L1TriggerRates::triggersRunRate_
std::vector< double > triggersRunRate_
Definition: L1TriggerRates.h:206
L1TriggerRates::N_BX_ACTIVE
Definition: L1TriggerRates.h:32
L1TriggerRates::deadTimeActiveTimeSlotRunPercent_
double deadTimeActiveTimeSlotRunPercent_
Definition: L1TriggerRates.h:200
L1TriggerRates::deadTimeActivePrivatePercent_
double deadTimeActivePrivatePercent_
Definition: L1TriggerRates.h:171
L1TriggerRates::triggersRate_
std::vector< double > triggersRate_
Definition: L1TriggerRates.h:179
L1TriggerScalers::nL1Triggers
Definition: L1TriggerScalers.h:30
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
L1TriggerRates::deadTimeActiveCalibrationPercent_
double deadTimeActiveCalibrationPercent_
Definition: L1TriggerRates.h:170
L1TriggerRates::lostFinalTriggersRunPercent_
double lostFinalTriggersRunPercent_
Definition: L1TriggerRates.h:202
L1TriggerScalers
Definition: L1TriggerScalers.h:28