CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Protected Attributes
L1TriggerRates Class Reference

#include <L1TriggerRates.h>

Classes

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

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 31 of file L1TriggerRates.h.

Member Enumeration Documentation

anonymous enum
Enumerator
N_BX 
N_BX_ACTIVE 

Definition at line 35 of file L1TriggerRates.h.

36  {
37  N_BX = 3654,
38  N_BX_ACTIVE = 2808
39  };

Constructor & Destructor Documentation

L1TriggerRates::L1TriggerRates ( )

Definition at line 11 of file L1TriggerRates.cc.

Referenced by L1TriggerRates().

11  :
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),
59 {
60 }
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::L1TriggerRates ( L1TriggerScalers const &  s)

Definition at line 62 of file L1TriggerRates.cc.

References computeRunRates(), and L1TriggerRates().

63 {
66 }
void computeRunRates(L1TriggerScalers const &t)
L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s1,
L1TriggerScalers const &  s2 
)

Definition at line 68 of file L1TriggerRates.cc.

References computeRates(), computeRunRates(), L1TriggerRates(), L1TriggerScalers::orbitNumber(), and indexGen::s2.

70 {
72 
73  const L1TriggerScalers *t1 = &s1;
74  const L1TriggerScalers *t2 = &s2;
75 
76  // Choose the later sample to be t2
77  if ( t1->orbitNumber() > t2->orbitNumber())
78  {
79  t1 = &s2;
80  t2 = &s1;
81  }
82 
83  computeRunRates(*t2);
84  computeRates(*t1,*t2);
85 }
tuple s2
Definition: indexGen.py:106
void computeRunRates(L1TriggerScalers const &t)
void computeRates(L1TriggerScalers const &t1, L1TriggerScalers const &t2)
unsigned int orbitNumber() const
L1TriggerRates::~L1TriggerRates ( )
virtual

Definition at line 87 of file L1TriggerRates.cc.

87 { }

Member Function Documentation

double L1TriggerRates::calibrationTriggersRate ( ) const
inline

Definition at line 83 of file L1TriggerRates.h.

References calibrationTriggersRate_.

Referenced by operator<<().

84  { return(calibrationTriggersRate_);}
double calibrationTriggersRate_
double L1TriggerRates::calibrationTriggersRunRate ( ) const
inline

Definition at line 148 of file L1TriggerRates.h.

References calibrationTriggersRunRate_.

Referenced by operator<<().

149  { return(calibrationTriggersRunRate_);}
double calibrationTriggersRunRate_
timespec L1TriggerRates::collectionTimeDetails ( ) const
inline

Definition at line 125 of file L1TriggerRates.h.

References collectionTimeDetails_, and TimeSpec::get_timespec().

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

Definition at line 61 of file L1TriggerRates.h.

References collectionTimeSummary_, and TimeSpec::get_timespec().

TimeSpec collectionTimeSummary_
timespec get_timespec() const
Definition: TimeSpec.cc:4
void L1TriggerRates::computeRates ( L1TriggerScalers const &  t1,
L1TriggerScalers const &  t2 
)

Definition at line 90 of file L1TriggerRates.cc.

References BX_SPACING, L1TriggerScalers::calibrationTriggers(), calibrationTriggersRate_, L1TriggerScalers::deadTime(), L1TriggerScalers::deadTimeActive(), L1TriggerScalers::deadTimeActiveCalibration(), deadTimeActiveCalibrationPercent_, L1TriggerScalers::deadTimeActivePartition(), deadTimeActivePartitionPercent_, deadTimeActivePercent_, L1TriggerScalers::deadTimeActivePrivate(), deadTimeActivePrivatePercent_, L1TriggerScalers::deadTimeActiveThrottle(), deadTimeActiveThrottlePercent_, L1TriggerScalers::deadTimeActiveTimeSlot(), deadTimeActiveTimeSlotPercent_, deadTimePercent_, deltaT_, deltaTActive_, L1TriggerScalers::eventNumber(), eventNumberRate_, L1TriggerScalers::finalTriggersDistributed(), finalTriggersDistributedRate_, L1TriggerScalers::finalTriggersGenerated(), finalTriggersGeneratedRate_, L1TriggerScalers::finalTriggersInvalidBC(), finalTriggersInvalidBCPercent_, i, L1TriggerScalers::lostFinalTriggers(), L1TriggerScalers::lostFinalTriggersActive(), lostFinalTriggersActivePercent_, lostFinalTriggersPercent_, N_BX, N_BX_ACTIVE, L1TriggerScalers::numberResets(), numberResetsRate_, L1TriggerScalers::orbitNumber(), orbitNumberRate_, L1TriggerScalers::randomTriggers(), randomTriggersRate_, RPCpg::rate(), L1TriggerScalers::testTriggers(), testTriggersRate_, L1TriggerScalers::totalTestTriggers(), totalTestTriggersRate_, L1TriggerScalers::triggerNumber(), triggerNumberRate_, L1TriggerScalers::triggers(), and triggersRate_.

Referenced by L1TriggerRates().

92 {
93  double deltaOrbit = (double)t2.orbitNumber() - (double)t1.orbitNumber();
94  if ( deltaOrbit > 0 )
95  {
96  // Convert orbits into crossings and time in seconds
97  double deltaBC = deltaOrbit * N_BX;
98  double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
99  deltaT_ = deltaBC * BX_SPACING;
100  deltaTActive_ = deltaBCActive * BX_SPACING;
101 
102  triggerNumberRate_ = ((double)t2.triggerNumber()
103  - (double)t1.triggerNumber()) / deltaT_;
104  eventNumberRate_ = ((double)t2.eventNumber()
105  - (double)t1.eventNumber()) / deltaT_;
106  finalTriggersDistributedRate_ = ((double)t2.finalTriggersDistributed()
107  - (double)t1.finalTriggersDistributed()) / deltaT_;
108  finalTriggersGeneratedRate_ = ((double)t2.finalTriggersGenerated()
109  - (double)t1.finalTriggersGenerated()) / deltaT_;
110  randomTriggersRate_ = ((double)t2.randomTriggers()
111  - (double)t1.randomTriggers()) / deltaT_;
112  calibrationTriggersRate_ = ((double)t2.calibrationTriggers()
113  - (double)t1.calibrationTriggers()) / deltaT_;
114  totalTestTriggersRate_ = ((double)t2.totalTestTriggers()
115  - (double)t1.totalTestTriggers()) / deltaT_;
116  orbitNumberRate_ = ((double)t2.orbitNumber()
117  - (double)t1.orbitNumber()) / deltaT_;
118  numberResetsRate_ = ((double)t2.numberResets()
119  - (double)t1.numberResets()) / deltaT_;
120 
121  deadTimePercent_ = 100.0 * ((double)t2.deadTime()
122  - (double)t1.deadTime()) / deltaBC;
123  deadTimeActivePercent_ = 100.0 * ((double)t2.deadTimeActive()
124  - (double)t1.deadTimeActive()) / deltaBCActive;
125  deadTimeActiveCalibrationPercent_ = 100.0 * ((double)t2.deadTimeActiveCalibration()
126  - (double)t1.deadTimeActiveCalibration()) / deltaBCActive;
127  deadTimeActivePrivatePercent_ = 100.0 * ((double)t2.deadTimeActivePrivate()
128  - (double)t1.deadTimeActivePrivate()) / deltaBCActive;
129  deadTimeActivePartitionPercent_ = 100.0 * ((double)t2.deadTimeActivePartition()
130  - (double)t1.deadTimeActivePartition()) / deltaBCActive;
131  deadTimeActiveThrottlePercent_ = 100.0 * ((double)t2.deadTimeActiveThrottle()
132  - (double)t1.deadTimeActiveThrottle()) / deltaBCActive;
133  deadTimeActiveTimeSlotPercent_ = 100.0 * ((double)t2.deadTimeActiveTimeSlot()
134  - (double)t1.deadTimeActiveTimeSlot()) / deltaBCActive;
135  finalTriggersInvalidBCPercent_ = 100.0 * ((double)t2.finalTriggersInvalidBC()
136  - (double)t1.finalTriggersInvalidBC()) / deltaBC;
137  lostFinalTriggersPercent_ = 100.0 * ((double)t2.lostFinalTriggers()
138  - (double)t1.lostFinalTriggers()) / deltaBC;
139  lostFinalTriggersActivePercent_ = 100.0 * ((double)t2.lostFinalTriggersActive()
140  - (double)t1.lostFinalTriggersActive()) / deltaBCActive;
141 
142  int length1 = t1.triggers().size();
143  int length2 = t2.triggers().size();
144  int minLength;
145  ( length1 >= length2 ) ? minLength = length2 : minLength=length1;
146  std::vector<unsigned int> triggers1 = t1.triggers();
147  std::vector<unsigned int> triggers2 = t2.triggers();
148  for ( int i=0; i<minLength; i++)
149  {
150  double rate = ((double)triggers2[i] -
151  (double)triggers1[i] ) / deltaT_;
152  triggersRate_.push_back(rate);
153  }
154 
155 
156  length1 = t1.testTriggers().size();
157  length2 = t2.testTriggers().size();
158  ( length1 >= length2 ) ? minLength = length2 : minLength=length1;
159  std::vector<unsigned int> testTriggers1 = t1.testTriggers();
160  std::vector<unsigned int> testTriggers2 = t2.testTriggers();
161  for ( int i=0; i<minLength; i++)
162  {
163  double rate = ((double)testTriggers2[i] -
164  (double)testTriggers1[i] ) / deltaT_;
165  testTriggersRate_.push_back(rate);
166  }
167  }
168 }
int i
Definition: DBlmapReader.cc:9
double deadTimeActiveCalibrationPercent_
double finalTriggersGeneratedRate_
std::vector< double > triggersRate_
double finalTriggersInvalidBCPercent_
double numberResetsRate_
double randomTriggersRate_
double deadTimePercent_
double triggerNumberRate_
double eventNumberRate_
double lostFinalTriggersActivePercent_
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_
void L1TriggerRates::computeRunRates ( L1TriggerScalers const &  t)

Definition at line 170 of file L1TriggerRates.cc.

References BX_SPACING, L1TriggerScalers::calibrationTriggers(), calibrationTriggersRunRate_, L1TriggerScalers::collectionTimeDetails(), collectionTimeDetails_, L1TriggerScalers::collectionTimeSummary(), collectionTimeSummary_, L1TriggerScalers::deadTime(), L1TriggerScalers::deadTimeActive(), L1TriggerScalers::deadTimeActiveCalibration(), deadTimeActiveCalibrationRunPercent_, L1TriggerScalers::deadTimeActivePartition(), deadTimeActivePartitionRunPercent_, L1TriggerScalers::deadTimeActivePrivate(), deadTimeActivePrivateRunPercent_, deadTimeActiveRunPercent_, L1TriggerScalers::deadTimeActiveThrottle(), deadTimeActiveThrottleRunPercent_, L1TriggerScalers::deadTimeActiveTimeSlot(), deadTimeActiveTimeSlotRunPercent_, deadTimeRunPercent_, deltaTRun_, deltaTRunActive_, L1TriggerScalers::eventNumber(), eventNumberRunRate_, L1TriggerScalers::finalTriggersDistributed(), finalTriggersDistributedRunRate_, L1TriggerScalers::finalTriggersGenerated(), finalTriggersGeneratedRunRate_, L1TriggerScalers::finalTriggersInvalidBC(), finalTriggersInvalidBCRunPercent_, i, L1TriggerScalers::lostFinalTriggers(), L1TriggerScalers::lostFinalTriggersActive(), lostFinalTriggersActiveRunPercent_, lostFinalTriggersRunPercent_, N_BX, N_BX_ACTIVE, L1TriggerScalers::numberResets(), numberResetsRunRate_, L1TriggerScalers::orbitNumber(), orbitNumberRunRate_, L1TriggerScalers::randomTriggers(), randomTriggersRunRate_, RPCpg::rate(), TimeSpec::set_tv_nsec(), TimeSpec::set_tv_sec(), L1TriggerScalers::totalTestTriggers(), totalTestTriggersRunRate_, L1TriggerScalers::triggerNumber(), triggerNumberRunRate_, L1TriggerScalers::triggers(), triggersRunRate_, L1TriggerScalers::version(), and version_.

Referenced by L1TriggerRates().

171 {
172  version_ = t.version();
173 
174  collectionTimeSummary_.set_tv_sec(static_cast<long>(t.collectionTimeSummary().tv_sec));
175  collectionTimeSummary_.set_tv_nsec(t.collectionTimeSummary().tv_nsec);
176 
177  collectionTimeDetails_.set_tv_sec(static_cast<long>(t.collectionTimeDetails().tv_sec));
178  collectionTimeDetails_.set_tv_nsec(t.collectionTimeDetails().tv_nsec);
179 
180  double deltaOrbit = (double)t.orbitNumber();
181  if ( deltaOrbit > 0 )
182  {
183  // Convert orbits into crossings and time in seconds
184  double deltaBC = deltaOrbit * N_BX;
185  double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
186  deltaTRun_ = deltaBC * BX_SPACING;
187  deltaTRunActive_ = deltaBCActive * BX_SPACING;
188 
189  triggerNumberRunRate_ = (double)t.triggerNumber() / deltaTRun_;
190  eventNumberRunRate_ = (double)t.eventNumber() / deltaTRun_;
191  finalTriggersDistributedRunRate_ = (double)t.finalTriggersDistributed()
192  / deltaTRun_;
193  finalTriggersGeneratedRunRate_ = (double)t.finalTriggersGenerated() / deltaTRun_;
194  randomTriggersRunRate_ = (double)t.randomTriggers() / deltaTRun_;
195  calibrationTriggersRunRate_ = (double)t.calibrationTriggers() / deltaTRun_;
196  totalTestTriggersRunRate_ = (double)t.totalTestTriggers() / deltaTRun_;
197  orbitNumberRunRate_ = (double)t.orbitNumber() / deltaTRun_;
198  numberResetsRunRate_ = (double)t.numberResets() / deltaTRun_;
199 
200  deadTimeRunPercent_ = 100.0 * (double)t.deadTime() / deltaBC;
201  deadTimeActiveRunPercent_ = 100.0 * (double)t.deadTimeActive() / deltaBCActive;
202  deadTimeActiveCalibrationRunPercent_ = 100.0 * (double)t.deadTimeActiveCalibration() / deltaBCActive;
203  deadTimeActivePrivateRunPercent_ = 100.0 * (double)t.deadTimeActivePrivate() / deltaBCActive;
204  deadTimeActivePartitionRunPercent_ = 100.0 * (double)t.deadTimeActivePartition() / deltaBCActive;
205  deadTimeActiveThrottleRunPercent_ = 100.0 * (double)t.deadTimeActiveThrottle() / deltaBCActive;
206  deadTimeActiveTimeSlotRunPercent_ = 100.0 * (double)t.deadTimeActiveTimeSlot() / deltaBCActive;
207  finalTriggersInvalidBCRunPercent_ = 100.0 * (double)t.finalTriggersInvalidBC() / deltaBC;
208  lostFinalTriggersRunPercent_ = 100.0 * (double)t.lostFinalTriggers() / deltaBC;
209  lostFinalTriggersActiveRunPercent_ = 100.0 * (double)t.lostFinalTriggersActive() / deltaBCActive;
210 
211  int length = t.triggers().size();
212  for ( int i=0; i<length; i++)
213  {
214  double rate = ((double)t.triggers()[i]) / deltaTRun_;
215  triggersRunRate_.push_back(rate);
216  }
217  }
218 }
double deadTimeActivePrivateRunPercent_
tuple t
Definition: tree.py:139
double lostFinalTriggersActiveRunPercent_
int i
Definition: DBlmapReader.cc:9
double orbitNumberRunRate_
void set_tv_nsec(long value)
Definition: TimeSpec.h:27
double deadTimeActiveThrottleRunPercent_
double numberResetsRunRate_
double finalTriggersDistributedRunRate_
double deadTimeActiveRunPercent_
double randomTriggersRunRate_
TimeSpec collectionTimeSummary_
double deadTimeRunPercent_
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:26
std::vector< double > triggersRunRate_
double lostFinalTriggersRunPercent_
#define BX_SPACING
double L1TriggerRates::deadTimeActiveCalibrationPercent ( ) const
inline

Definition at line 101 of file L1TriggerRates.h.

References deadTimeActiveCalibrationPercent_.

Referenced by operator<<().

double deadTimeActiveCalibrationPercent_
double L1TriggerRates::deadTimeActiveCalibrationRunPercent ( ) const
inline

Definition at line 166 of file L1TriggerRates.h.

References deadTimeActiveCalibrationRunPercent_.

Referenced by operator<<().

double deadTimeActiveCalibrationRunPercent_
double L1TriggerRates::deadTimeActivePartitionPercent ( ) const
inline

Definition at line 107 of file L1TriggerRates.h.

References deadTimeActivePartitionPercent_.

Referenced by operator<<().

double deadTimeActivePartitionPercent_
double L1TriggerRates::deadTimeActivePartitionRunPercent ( ) const
inline

Definition at line 172 of file L1TriggerRates.h.

References deadTimeActivePartitionRunPercent_.

Referenced by operator<<().

double deadTimeActivePartitionRunPercent_
double L1TriggerRates::deadTimeActivePercent ( ) const
inline

Definition at line 98 of file L1TriggerRates.h.

References deadTimeActivePercent_.

Referenced by operator<<().

99  { return(deadTimeActivePercent_);}
double deadTimeActivePercent_
double L1TriggerRates::deadTimeActivePrivatePercent ( ) const
inline

Definition at line 104 of file L1TriggerRates.h.

References deadTimeActivePrivatePercent_.

Referenced by operator<<().

double deadTimeActivePrivatePercent_
double L1TriggerRates::deadTimeActivePrivateRunPercent ( ) const
inline

Definition at line 169 of file L1TriggerRates.h.

References deadTimeActivePrivateRunPercent_.

Referenced by operator<<().

double deadTimeActivePrivateRunPercent_
double L1TriggerRates::deadTimeActiveRunPercent ( ) const
inline

Definition at line 163 of file L1TriggerRates.h.

References deadTimeActiveRunPercent_.

Referenced by operator<<().

164  { return(deadTimeActiveRunPercent_);}
double deadTimeActiveRunPercent_
double L1TriggerRates::deadTimeActiveThrottlePercent ( ) const
inline

Definition at line 110 of file L1TriggerRates.h.

References deadTimeActiveThrottlePercent_.

Referenced by operator<<().

double deadTimeActiveThrottlePercent_
double L1TriggerRates::deadTimeActiveThrottleRunPercent ( ) const
inline

Definition at line 175 of file L1TriggerRates.h.

References deadTimeActiveThrottleRunPercent_.

Referenced by operator<<().

double deadTimeActiveThrottleRunPercent_
double L1TriggerRates::deadTimeActiveTimeSlotPercent ( ) const
inline

Definition at line 113 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotPercent_.

Referenced by operator<<().

double deadTimeActiveTimeSlotPercent_
double L1TriggerRates::deadTimeActiveTimeSlotRunPercent ( ) const
inline

Definition at line 178 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotRunPercent_.

Referenced by operator<<().

double deadTimeActiveTimeSlotRunPercent_
double L1TriggerRates::deadTimePercent ( ) const
inline

Definition at line 95 of file L1TriggerRates.h.

References deadTimePercent_.

Referenced by operator<<().

96  { return(deadTimePercent_);}
double deadTimePercent_
double L1TriggerRates::deadTimeRunPercent ( ) const
inline

Definition at line 160 of file L1TriggerRates.h.

References deadTimeRunPercent_.

Referenced by operator<<().

161  { return(deadTimeRunPercent_);}
double deadTimeRunPercent_
double L1TriggerRates::deltaT ( ) const
inline

Definition at line 63 of file L1TriggerRates.h.

References deltaT_.

Referenced by operator<<().

63 { return(deltaT_);}
double L1TriggerRates::deltaTActive ( ) const
inline

Definition at line 64 of file L1TriggerRates.h.

References deltaTActive_.

64 { return(deltaTActive_);}
double L1TriggerRates::deltaTRun ( ) const
inline

Definition at line 65 of file L1TriggerRates.h.

References deltaTRun_.

Referenced by operator<<().

65 { return(deltaTRun_);}
double L1TriggerRates::deltaTRunActive ( ) const
inline

Definition at line 66 of file L1TriggerRates.h.

References deltaTRunActive_.

66 { return(deltaTRunActive_);}
double deltaTRunActive_
bool L1TriggerRates::empty ( ) const
inline

empty method (= false)

Definition at line 56 of file L1TriggerRates.h.

Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().

56 { return false; }
double L1TriggerRates::eventNumberRate ( ) const
inline

Definition at line 72 of file L1TriggerRates.h.

References eventNumberRate_.

Referenced by operator<<().

73  { return(eventNumberRate_);}
double eventNumberRate_
double L1TriggerRates::eventNumberRunRate ( ) const
inline

Definition at line 136 of file L1TriggerRates.h.

References eventNumberRunRate_.

Referenced by operator<<().

137  { return(eventNumberRunRate_);}
double eventNumberRunRate_
double L1TriggerRates::finalTriggersDistributedRate ( ) const
inline

Definition at line 77 of file L1TriggerRates.h.

References finalTriggersDistributedRate_.

Referenced by operator<<().

double finalTriggersDistributedRate_
double L1TriggerRates::finalTriggersDistributedRunRate ( ) const
inline

Definition at line 139 of file L1TriggerRates.h.

References finalTriggersDistributedRunRate_.

Referenced by operator<<().

double finalTriggersDistributedRunRate_
double L1TriggerRates::finalTriggersGeneratedRate ( ) const
inline

Definition at line 75 of file L1TriggerRates.h.

References finalTriggersGeneratedRate_.

Referenced by operator<<().

76  { return(finalTriggersGeneratedRate_);}
double finalTriggersGeneratedRate_
double L1TriggerRates::finalTriggersGeneratedRunRate ( ) const
inline

Definition at line 142 of file L1TriggerRates.h.

References finalTriggersGeneratedRunRate_.

Referenced by operator<<().

double finalTriggersGeneratedRunRate_
double L1TriggerRates::finalTriggersInvalidBCPercent ( ) const
inline

Definition at line 116 of file L1TriggerRates.h.

References finalTriggersInvalidBCPercent_.

Referenced by operator<<().

double finalTriggersInvalidBCPercent_
double L1TriggerRates::finalTriggersInvalidBCRunPercent ( ) const
inline

Definition at line 181 of file L1TriggerRates.h.

References finalTriggersInvalidBCRunPercent_.

Referenced by operator<<().

double finalTriggersInvalidBCRunPercent_
double L1TriggerRates::lostFinalTriggersActivePercent ( ) const
inline

Definition at line 122 of file L1TriggerRates.h.

References lostFinalTriggersActivePercent_.

Referenced by operator<<().

double lostFinalTriggersActivePercent_
double L1TriggerRates::lostFinalTriggersActiveRunPercent ( ) const
inline

Definition at line 187 of file L1TriggerRates.h.

References lostFinalTriggersActiveRunPercent_.

Referenced by operator<<().

double lostFinalTriggersActiveRunPercent_
double L1TriggerRates::lostFinalTriggersPercent ( ) const
inline

Definition at line 119 of file L1TriggerRates.h.

References lostFinalTriggersPercent_.

Referenced by operator<<().

120  { return(lostFinalTriggersPercent_);}
double lostFinalTriggersPercent_
double L1TriggerRates::lostFinalTriggersRunPercent ( ) const
inline

Definition at line 184 of file L1TriggerRates.h.

References lostFinalTriggersRunPercent_.

Referenced by operator<<().

185  { return(lostFinalTriggersRunPercent_);}
double lostFinalTriggersRunPercent_
std::string L1TriggerRates::name ( ) const
inline
double L1TriggerRates::numberResetsRate ( ) const
inline

Definition at line 92 of file L1TriggerRates.h.

References numberResetsRate_.

Referenced by operator<<().

93  { return(numberResetsRate_);}
double numberResetsRate_
double L1TriggerRates::numberResetsRunRate ( ) const
inline

Definition at line 157 of file L1TriggerRates.h.

References numberResetsRunRate_.

Referenced by operator<<().

158  { return(numberResetsRunRate_);}
double numberResetsRunRate_
int L1TriggerRates::operator!= ( const L1TriggerRates e) const
inline

inequality operator

Definition at line 200 of file L1TriggerRates.h.

200 { return false; }
int L1TriggerRates::operator== ( const L1TriggerRates e) const
inline

equality operator

Definition at line 197 of file L1TriggerRates.h.

197 { return false; }
double L1TriggerRates::orbitNumberRate ( ) const
inline

Definition at line 89 of file L1TriggerRates.h.

References orbitNumberRate_.

Referenced by operator<<().

90  { return(orbitNumberRate_);}
double orbitNumberRate_
double L1TriggerRates::orbitNumberRunRate ( ) const
inline

Definition at line 154 of file L1TriggerRates.h.

References orbitNumberRunRate_.

Referenced by operator<<().

155  { return(orbitNumberRunRate_);}
double orbitNumberRunRate_
double L1TriggerRates::randomTriggersRate ( ) const
inline

Definition at line 80 of file L1TriggerRates.h.

References randomTriggersRate_.

Referenced by operator<<().

81  { return(randomTriggersRate_);}
double randomTriggersRate_
double L1TriggerRates::randomTriggersRunRate ( ) const
inline

Definition at line 145 of file L1TriggerRates.h.

References randomTriggersRunRate_.

Referenced by operator<<().

146  { return(randomTriggersRunRate_);}
double randomTriggersRunRate_
std::vector<double> L1TriggerRates::testTriggersRate ( ) const
inline

Definition at line 129 of file L1TriggerRates.h.

References testTriggersRate_.

Referenced by operator<<().

130  { return(testTriggersRate_);}
std::vector< double > testTriggersRate_
std::vector<double> L1TriggerRates::testTriggersRunRate ( ) const
inline

Definition at line 193 of file L1TriggerRates.h.

References testTriggersRunRate_.

194  { return(testTriggersRunRate_);}
std::vector< double > testTriggersRunRate_
double L1TriggerRates::totalTestTriggersRate ( ) const
inline

Definition at line 86 of file L1TriggerRates.h.

References totalTestTriggersRate_.

Referenced by operator<<().

87  { return(totalTestTriggersRate_);}
double totalTestTriggersRate_
double L1TriggerRates::totalTestTriggersRunRate ( ) const
inline

Definition at line 151 of file L1TriggerRates.h.

References totalTestTriggersRunRate_.

Referenced by operator<<().

152  { return(totalTestTriggersRunRate_);}
double totalTestTriggersRunRate_
double L1TriggerRates::triggerNumberRate ( ) const
inline

Definition at line 69 of file L1TriggerRates.h.

References triggerNumberRate_.

Referenced by operator<<().

70  { return(triggerNumberRate_);}
double triggerNumberRate_
double L1TriggerRates::triggerNumberRunRate ( ) const
inline

Definition at line 133 of file L1TriggerRates.h.

References triggerNumberRunRate_.

Referenced by operator<<().

134  { return(triggerNumberRunRate_);}
double triggerNumberRunRate_
std::vector<double> L1TriggerRates::triggersRate ( ) const
inline

Definition at line 128 of file L1TriggerRates.h.

References triggersRate_.

Referenced by operator<<().

128 { return(triggersRate_);}
std::vector< double > triggersRate_
std::vector<double> L1TriggerRates::triggersRunRate ( ) const
inline

Definition at line 190 of file L1TriggerRates.h.

References triggersRunRate_.

Referenced by operator<<().

191  { return(triggersRunRate_);}
std::vector< double > triggersRunRate_
int L1TriggerRates::version ( ) const
inline

get the data

Definition at line 60 of file L1TriggerRates.h.

References version_.

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

60 { return(version_);}

Member Data Documentation

double L1TriggerRates::calibrationTriggersRate_
protected

Definition at line 215 of file L1TriggerRates.h.

Referenced by calibrationTriggersRate(), and computeRates().

double L1TriggerRates::calibrationTriggersRunRate_
protected

Definition at line 241 of file L1TriggerRates.h.

Referenced by calibrationTriggersRunRate(), and computeRunRates().

TimeSpec L1TriggerRates::collectionTimeDetails_
protected

Definition at line 256 of file L1TriggerRates.h.

Referenced by collectionTimeDetails(), and computeRunRates().

TimeSpec L1TriggerRates::collectionTimeSummary_
protected

Definition at line 205 of file L1TriggerRates.h.

Referenced by collectionTimeSummary(), and computeRunRates().

double L1TriggerRates::deadTimeActiveCalibrationPercent_
protected

Definition at line 221 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveCalibrationPercent().

double L1TriggerRates::deadTimeActiveCalibrationRunPercent_
protected

Definition at line 247 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveCalibrationRunPercent().

double L1TriggerRates::deadTimeActivePartitionPercent_
protected

Definition at line 223 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePartitionPercent().

double L1TriggerRates::deadTimeActivePartitionRunPercent_
protected

Definition at line 249 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePartitionRunPercent().

double L1TriggerRates::deadTimeActivePercent_
protected

Definition at line 220 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePercent().

double L1TriggerRates::deadTimeActivePrivatePercent_
protected

Definition at line 222 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePrivatePercent().

double L1TriggerRates::deadTimeActivePrivateRunPercent_
protected

Definition at line 248 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePrivateRunPercent().

double L1TriggerRates::deadTimeActiveRunPercent_
protected

Definition at line 246 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveRunPercent().

double L1TriggerRates::deadTimeActiveThrottlePercent_
protected

Definition at line 224 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveThrottlePercent().

double L1TriggerRates::deadTimeActiveThrottleRunPercent_
protected

Definition at line 250 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveThrottleRunPercent().

double L1TriggerRates::deadTimeActiveTimeSlotPercent_
protected

Definition at line 225 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveTimeSlotPercent().

double L1TriggerRates::deadTimeActiveTimeSlotRunPercent_
protected

Definition at line 251 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveTimeSlotRunPercent().

double L1TriggerRates::deadTimePercent_
protected

Definition at line 219 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimePercent().

double L1TriggerRates::deadTimeRunPercent_
protected

Definition at line 245 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeRunPercent().

double L1TriggerRates::deltaT_
protected

Definition at line 207 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaT().

double L1TriggerRates::deltaTActive_
protected

Definition at line 208 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaTActive().

double L1TriggerRates::deltaTRun_
protected

Definition at line 233 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRun().

double L1TriggerRates::deltaTRunActive_
protected

Definition at line 234 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRunActive().

double L1TriggerRates::eventNumberRate_
protected

Definition at line 211 of file L1TriggerRates.h.

Referenced by computeRates(), and eventNumberRate().

double L1TriggerRates::eventNumberRunRate_
protected

Definition at line 237 of file L1TriggerRates.h.

Referenced by computeRunRates(), and eventNumberRunRate().

double L1TriggerRates::finalTriggersDistributedRate_
protected

Definition at line 212 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersDistributedRate().

double L1TriggerRates::finalTriggersDistributedRunRate_
protected

Definition at line 238 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersDistributedRunRate().

double L1TriggerRates::finalTriggersGeneratedRate_
protected

Definition at line 213 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersGeneratedRate().

double L1TriggerRates::finalTriggersGeneratedRunRate_
protected

Definition at line 239 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersGeneratedRunRate().

double L1TriggerRates::finalTriggersInvalidBCPercent_
protected

Definition at line 226 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersInvalidBCPercent().

double L1TriggerRates::finalTriggersInvalidBCRunPercent_
protected

Definition at line 252 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersInvalidBCRunPercent().

double L1TriggerRates::lostFinalTriggersActivePercent_
protected

Definition at line 228 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersActivePercent().

double L1TriggerRates::lostFinalTriggersActiveRunPercent_
protected

Definition at line 254 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersActiveRunPercent().

double L1TriggerRates::lostFinalTriggersPercent_
protected

Definition at line 227 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersPercent().

double L1TriggerRates::lostFinalTriggersRunPercent_
protected

Definition at line 253 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersRunPercent().

double L1TriggerRates::numberResetsRate_
protected

Definition at line 218 of file L1TriggerRates.h.

Referenced by computeRates(), and numberResetsRate().

double L1TriggerRates::numberResetsRunRate_
protected

Definition at line 244 of file L1TriggerRates.h.

Referenced by computeRunRates(), and numberResetsRunRate().

double L1TriggerRates::orbitNumberRate_
protected

Definition at line 217 of file L1TriggerRates.h.

Referenced by computeRates(), and orbitNumberRate().

double L1TriggerRates::orbitNumberRunRate_
protected

Definition at line 243 of file L1TriggerRates.h.

Referenced by computeRunRates(), and orbitNumberRunRate().

double L1TriggerRates::randomTriggersRate_
protected

Definition at line 214 of file L1TriggerRates.h.

Referenced by computeRates(), and randomTriggersRate().

double L1TriggerRates::randomTriggersRunRate_
protected

Definition at line 240 of file L1TriggerRates.h.

Referenced by computeRunRates(), and randomTriggersRunRate().

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

Definition at line 231 of file L1TriggerRates.h.

Referenced by computeRates(), and testTriggersRate().

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

Definition at line 258 of file L1TriggerRates.h.

Referenced by testTriggersRunRate().

double L1TriggerRates::totalTestTriggersRate_
protected

Definition at line 216 of file L1TriggerRates.h.

Referenced by computeRates(), and totalTestTriggersRate().

double L1TriggerRates::totalTestTriggersRunRate_
protected

Definition at line 242 of file L1TriggerRates.h.

Referenced by computeRunRates(), and totalTestTriggersRunRate().

double L1TriggerRates::triggerNumberRate_
protected

Definition at line 210 of file L1TriggerRates.h.

Referenced by computeRates(), and triggerNumberRate().

double L1TriggerRates::triggerNumberRunRate_
protected

Definition at line 236 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggerNumberRunRate().

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

Definition at line 230 of file L1TriggerRates.h.

Referenced by computeRates(), and triggersRate().

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

Definition at line 257 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggersRunRate().

int L1TriggerRates::version_
protected

Definition at line 204 of file L1TriggerRates.h.

Referenced by computeRunRates(), and version().