CMS 3D CMS Logo

Level1TriggerScalers.cc
Go to the documentation of this file.
1 /*
2  * File: DataFormats/Scalers/src/Level1TriggerScalers.cc (W.Badgett)
3  */
4 
7 
8 #include <iostream>
9 #include <ctime>
10 #include <cstdio>
11 
13  : version_(0),
14  trigType_(0),
15  eventID_(0),
16  sourceID_(0),
17  bunchNumber_(0),
18  collectionTime_(0, 0),
19  lumiSegmentNr_(0),
20  lumiSegmentOrbits_(0),
21  orbitNr_(0),
22  gtResets_(0),
23  bunchCrossingErrors_(0),
24  gtTriggers_(0),
25  gtEvents_(0),
26  gtTriggersRate_((float)0.0),
27  gtEventsRate_((float)0.0),
28  prescaleIndexAlgo_(0),
29  prescaleIndexTech_(0),
30  collectionTimeLumiSeg_(0, 0),
31  lumiSegmentNrLumiSeg_(0),
32  triggersPhysicsGeneratedFDL_(0),
33  triggersPhysicsLost_(0),
34  triggersPhysicsLostBeamActive_(0),
35  triggersPhysicsLostBeamInactive_(0),
36  l1AsPhysics_(0),
37  l1AsRandom_(0),
38  l1AsTest_(0),
39  l1AsCalibration_(0),
40  deadtime_(0),
41  deadtimeBeamActive_(0),
42  deadtimeBeamActiveTriggerRules_(0),
43  deadtimeBeamActiveCalibration_(0),
44  deadtimeBeamActivePrivateOrbit_(0),
45  deadtimeBeamActivePartitionController_(0),
46  deadtimeBeamActiveTimeSlot_(0),
47  gtAlgoCounts_(nLevel1Triggers),
48  gtTechCounts_(nLevel1TestTriggers),
49  lastOrbitCounter0_(0),
50  lastTestEnable_(0),
51  lastResync_(0),
52  lastStart_(0),
53  lastEventCounter0_(0),
54  lastHardReset_(0),
55  spare0_(0ULL),
56  spare1_(0ULL),
57  spare2_(0ULL) {}
58 
61 
62  struct ScalersEventRecordRaw_v5 const* raw = reinterpret_cast<struct ScalersEventRecordRaw_v5 const*>(rawData);
63 
64  trigType_ = (raw->header >> 56) & 0xFULL;
65  eventID_ = (raw->header >> 32) & 0x00FFFFFFULL;
66  sourceID_ = (raw->header >> 8) & 0x00000FFFULL;
67  bunchNumber_ = (raw->header >> 20) & 0xFFFULL;
68 
69  version_ = raw->version;
70  if (version_ >= 3) {
71  collectionTime_.set_tv_sec(static_cast<long>(raw->trig.collectionTime_sec));
73 
76  orbitNr_ = raw->trig.orbitNr;
77  gtResets_ = raw->trig.gtResets;
80  gtEvents_ = raw->trig.gtEvents;
85 
88 
94 
97  l1AsTest_ = raw->trig.l1AsTest;
99  deadtime_ = raw->trig.deadtime;
106 
107  for (int i = 0; i < ScalersRaw::N_L1_TRIGGERS_v1; i++) {
108  gtAlgoCounts_.push_back(raw->trig.gtAlgoCounts[i]);
109  }
110 
111  for (int i = 0; i < ScalersRaw::N_L1_TEST_TRIGGERS_v1; i++) {
112  gtTechCounts_.push_back(raw->trig.gtTechCounts[i]);
113  }
114 
115  if (version_ >= 5) {
118  lastResync_ = raw->lastResync;
119  lastStart_ = raw->lastStart;
122  spare0_ = raw->spare[0];
123  spare1_ = raw->spare[1];
124  spare2_ = raw->spare[2];
125  } else {
126  lastOrbitCounter0_ = 0UL;
127  lastTestEnable_ = 0UL;
128  lastResync_ = 0UL;
129  lastStart_ = 0UL;
130  lastEventCounter0_ = 0UL;
131  lastHardReset_ = 0UL;
132  spare0_ = 0ULL;
133  spare1_ = 0ULL;
134  spare2_ = 0ULL;
135  }
136  }
137 }
138 
140 
142 
143 double Level1TriggerScalers::rateLS(unsigned long long counts) { return (rateLS(counts, firstShortLSRun)); }
144 
145 double Level1TriggerScalers::rateLS(unsigned int counts, int runNumber) {
146  unsigned long long counts64 = (unsigned long long)counts;
147  return (rateLS(counts64, runNumber));
148 }
149 
150 double Level1TriggerScalers::rateLS(unsigned long long counts, int runNumber) {
151  double rate;
152  if ((runNumber >= firstShortLSRun) || (runNumber <= 1)) {
153  rate = ((double)counts) / 23.31040958083832;
154  } else {
155  rate = ((double)counts) / 93.24163832335329;
156  }
157  return (rate);
158 }
159 
160 double Level1TriggerScalers::percentLS(unsigned long long counts) { return (percentLS(counts, firstShortLSRun)); }
161 
162 double Level1TriggerScalers::percentLS(unsigned long long counts, int runNumber) {
163  double percent;
164  if ((runNumber >= firstShortLSRun) || (runNumber <= 1)) {
165  percent = ((double)counts) / 9342812.16;
166  } else {
167  percent = ((double)counts) / 37371248.64;
168  }
169  if (percent > 100.0000) {
170  percent = 100.0;
171  }
172  return (percent);
173 }
174 
175 double Level1TriggerScalers::percentLSActive(unsigned long long counts) {
177 }
178 
179 double Level1TriggerScalers::percentLSActive(unsigned long long counts, int runNumber) {
180  double percent;
181  if ((runNumber >= firstShortLSRun) || (runNumber <= 1)) {
182  percent = ((double)counts) / 7361003.52;
183  } else {
184  percent = ((double)counts) / 29444014.08;
185  }
186  if (percent > 100.0000) {
187  percent = 100.0;
188  }
189  return (percent);
190 }
191 
193 std::ostream& operator<<(std::ostream& s, Level1TriggerScalers const& c) {
194  s << "Level1TriggerScalers Version:" << c.version() << " SourceID: " << c.sourceID() << std::endl;
195  constexpr size_t kLineBufferSize = 164;
196  char line[kLineBufferSize];
197  char zeitHeaven[128];
198  struct tm* horaHeaven;
199 
200  snprintf(line,
201  kLineBufferSize,
202  " TrigType: %d EventID: %d BunchNumber: %d",
203  c.trigType(),
204  c.eventID(),
205  c.bunchNumber());
206  s << line << std::endl;
207 
208  struct timespec secondsToHeaven = c.collectionTime();
209  horaHeaven = gmtime(&secondsToHeaven.tv_sec);
210  strftime(zeitHeaven, sizeof(zeitHeaven), "%Y.%m.%d %H:%M:%S", horaHeaven);
211  snprintf(line, kLineBufferSize, " CollectionTime: %s.%9.9d", zeitHeaven, (int)secondsToHeaven.tv_nsec);
212  s << line << std::endl;
213 
214  snprintf(line,
215  kLineBufferSize,
216  " LumiSegmentNr: %10u LumiSegmentOrbits: %10u",
217  c.lumiSegmentNr(),
218  c.lumiSegmentOrbits());
219  s << line << std::endl;
220 
221  snprintf(line,
222  kLineBufferSize,
223  " LumiSegmentNrLumiSeg: %10u OrbitNr: %10u ",
224  c.lumiSegmentNrLumiSeg(),
225  c.orbitNr());
226  s << line << std::endl;
227 
228  snprintf(line,
229  kLineBufferSize,
230  " GtResets: %10u BunchCrossingErrors: %10u",
231  c.gtResets(),
232  c.bunchCrossingErrors());
233  s << line << std::endl;
234 
235  snprintf(line,
236  kLineBufferSize,
237  " PrescaleIndexAlgo: %10d PrescaleIndexTech: %10d",
238  c.prescaleIndexAlgo(),
239  c.prescaleIndexTech());
240  s << line << std::endl;
241 
242  snprintf(
243  line, kLineBufferSize, " GtTriggers: %20llu %22.3f Hz", c.gtTriggers(), c.gtTriggersRate());
244  s << line << std::endl;
245 
246  snprintf(line, kLineBufferSize, " GtEvents: %20llu %22.3f Hz", c.gtEvents(), c.gtEventsRate());
247  s << line << std::endl;
248 
249  secondsToHeaven = c.collectionTimeLumiSeg();
250  horaHeaven = gmtime(&secondsToHeaven.tv_sec);
251  strftime(zeitHeaven, sizeof(zeitHeaven), "%Y.%m.%d %H:%M:%S", horaHeaven);
252  snprintf(line, kLineBufferSize, " CollectionTimeLumiSeg: %s.%9.9d", zeitHeaven, (int)secondsToHeaven.tv_nsec);
253  s << line << std::endl;
254 
255  snprintf(line,
256  kLineBufferSize,
257  " TriggersPhysicsGeneratedFDL: %20llu %22.3f Hz",
258  c.triggersPhysicsGeneratedFDL(),
259  Level1TriggerScalers::rateLS(c.triggersPhysicsGeneratedFDL()));
260  s << line << std::endl;
261 
262  snprintf(line,
263  kLineBufferSize,
264  " TriggersPhysicsLost: %20llu %22.3f Hz",
265  c.triggersPhysicsLost(),
266  Level1TriggerScalers::rateLS(c.triggersPhysicsLost()));
267  s << line << std::endl;
268 
269  snprintf(line,
270  kLineBufferSize,
271  " TriggersPhysicsLostBeamActive: %20llu %22.3f Hz",
272  c.triggersPhysicsLostBeamActive(),
273  Level1TriggerScalers::rateLS(c.triggersPhysicsLostBeamActive()));
274  s << line << std::endl;
275 
276  snprintf(line,
277  kLineBufferSize,
278  " TriggersPhysicsLostBeamInactive: %20llu %22.3f Hz",
279  c.triggersPhysicsLostBeamInactive(),
280  Level1TriggerScalers::rateLS(c.triggersPhysicsLostBeamInactive()));
281  s << line << std::endl;
282 
283  snprintf(line,
284  kLineBufferSize,
285  " L1AsPhysics: %20llu %22.3f Hz",
286  c.l1AsPhysics(),
287  Level1TriggerScalers::rateLS(c.l1AsPhysics()));
288  s << line << std::endl;
289 
290  snprintf(line,
291  kLineBufferSize,
292  " L1AsRandom: %20llu %22.3f Hz",
293  c.l1AsRandom(),
294  Level1TriggerScalers::rateLS(c.l1AsRandom()));
295  s << line << std::endl;
296 
297  snprintf(line,
298  kLineBufferSize,
299  " L1AsTest: %20llu %22.3f Hz",
300  c.l1AsTest(),
301  Level1TriggerScalers::rateLS(c.l1AsTest()));
302  s << line << std::endl;
303 
304  snprintf(line,
305  kLineBufferSize,
306  " L1AsCalibration: %20llu %22.3f Hz",
307  c.l1AsCalibration(),
308  Level1TriggerScalers::rateLS(c.l1AsCalibration()));
309  s << line << std::endl;
310 
311  snprintf(line,
312  kLineBufferSize,
313  " Deadtime: %20llu %17.3f%%",
314  c.deadtime(),
315  Level1TriggerScalers::percentLS(c.deadtime()));
316  s << line << std::endl;
317 
318  snprintf(line,
319  kLineBufferSize,
320  " DeadtimeBeamActive: %20llu %17.3f%%",
321  c.deadtimeBeamActive(),
322  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActive()));
323  s << line << std::endl;
324 
325  snprintf(line,
326  kLineBufferSize,
327  " DeadtimeBeamActiveTriggerRules: %20llu %17.3f%%",
328  c.deadtimeBeamActiveTriggerRules(),
329  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActiveTriggerRules()));
330  s << line << std::endl;
331 
332  snprintf(line,
333  kLineBufferSize,
334  " DeadtimeBeamActiveCalibration: %20llu %17.3f%%",
335  c.deadtimeBeamActiveCalibration(),
336  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActiveCalibration()));
337  s << line << std::endl;
338 
339  snprintf(line,
340  kLineBufferSize,
341  " DeadtimeBeamActivePrivateOrbit: %20llu %17.3f%%",
342  c.deadtimeBeamActivePrivateOrbit(),
343  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActivePrivateOrbit()));
344  s << line << std::endl;
345 
346  snprintf(line,
347  kLineBufferSize,
348  " DeadtimeBeamActivePartitionController:%20llu %17.3f%%",
349  c.deadtimeBeamActivePartitionController(),
350  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActivePartitionController()));
351  s << line << std::endl;
352 
353  snprintf(line,
354  kLineBufferSize,
355  " DeadtimeBeamActiveTimeSlot: %20llu %17.3f%%",
356  c.deadtimeBeamActiveTimeSlot(),
357  Level1TriggerScalers::percentLSActive(c.deadtimeBeamActiveTimeSlot()));
358  s << line << std::endl;
359 
360  s << "Physics GtAlgoCounts" << std::endl;
361  const std::vector<unsigned int> gtAlgoCounts = c.gtAlgoCounts();
362  int length = gtAlgoCounts.size() / 4;
363  for (int i = 0; i < length; i++) {
364  snprintf(line,
365  kLineBufferSize,
366  " %3.3d: %10u %3.3d: %10u %3.3d: %10u %3.3d: %10u",
367  i,
368  gtAlgoCounts[i],
369  (i + length),
370  gtAlgoCounts[i + length],
371  (i + (length * 2)),
372  gtAlgoCounts[i + (length * 2)],
373  (i + (length * 3)),
374  gtAlgoCounts[i + (length * 3)]);
375  s << line << std::endl;
376  }
377 
378  s << "Test GtTechCounts" << std::endl;
379  const std::vector<unsigned int> gtTechCounts = c.gtTechCounts();
380  length = gtTechCounts.size() / 4;
381  for (int i = 0; i < length; i++) {
382  snprintf(line,
383  kLineBufferSize,
384  " %3.3d: %10u %3.3d: %10u %3.3d: %10u %3.3d: %10u",
385  i,
386  gtTechCounts[i],
387  (i + length),
388  gtTechCounts[i + length],
389  (i + (length * 2)),
390  gtTechCounts[i + (length * 2)],
391  (i + (length * 3)),
392  gtTechCounts[i + (length * 3)]);
393  s << line << std::endl;
394  }
395 
396  if (c.version() >= 5) {
397  snprintf(line, kLineBufferSize, " LastOrbitCounter0: %10u 0x%8.8X", c.lastOrbitCounter0(), c.lastOrbitCounter0());
398  s << line << std::endl;
399 
400  snprintf(line, kLineBufferSize, " LastTestEnable: %10u 0x%8.8X", c.lastTestEnable(), c.lastTestEnable());
401  s << line << std::endl;
402 
403  snprintf(line, kLineBufferSize, " LastResync: %10u 0x%8.8X", c.lastResync(), c.lastResync());
404  s << line << std::endl;
405 
406  snprintf(line, kLineBufferSize, " LastStart: %10u 0x%8.8X", c.lastStart(), c.lastStart());
407  s << line << std::endl;
408 
409  snprintf(line, kLineBufferSize, " LastEventCounter0: %10u 0x%8.8X", c.lastEventCounter0(), c.lastEventCounter0());
410  s << line << std::endl;
411 
412  snprintf(line, kLineBufferSize, " LastHardReset: %10u 0x%8.8X", c.lastHardReset(), c.lastHardReset());
413  s << line << std::endl;
414  }
415 
416  return s;
417 }
ScalersEventRecordRaw_v5::version
int version
Definition: ScalersRaw.h:223
ScalersEventRecordRaw_v5::lastResync
unsigned int lastResync
Definition: ScalersRaw.h:230
TriggerScalersRaw_v3::gtTriggers
unsigned long long gtTriggers
Definition: ScalersRaw.h:86
Level1TriggerScalers::l1AsRandom_
unsigned long long l1AsRandom_
Definition: Level1TriggerScalers.h:150
Level1TriggerScalers::lastOrbitCounter0_
unsigned int lastOrbitCounter0_
Definition: Level1TriggerScalers.h:167
operator<<
std::ostream & operator<<(std::ostream &s, Level1TriggerScalers const &c)
Pretty-print operator for Level1TriggerScalers.
Definition: Level1TriggerScalers.cc:193
mps_fire.i
i
Definition: mps_fire.py:428
TriggerScalersRaw_v3::deadtimeBeamActiveCalibration
unsigned long long deadtimeBeamActiveCalibration
Definition: ScalersRaw.h:107
Level1TriggerScalers::firstShortLSRun
Definition: Level1TriggerScalers.h:28
Level1TriggerScalers::deadtimeBeamActivePartitionController_
unsigned long long deadtimeBeamActivePartitionController_
Definition: Level1TriggerScalers.h:158
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
TriggerScalersRaw_v3::lumiSegmentNrLumiSeg
unsigned int lumiSegmentNrLumiSeg
Definition: ScalersRaw.h:95
TriggerScalersRaw_v3::deadtimeBeamActiveTimeSlot
unsigned long long deadtimeBeamActiveTimeSlot
Definition: ScalersRaw.h:110
Level1TriggerScalers::rateLS
static double rateLS(unsigned long long counts)
Definition: Level1TriggerScalers.cc:143
TriggerScalersRaw_v3::l1AsCalibration
unsigned long long l1AsCalibration
Definition: ScalersRaw.h:103
Level1TriggerScalers::triggersPhysicsLostBeamActive_
unsigned long long triggersPhysicsLostBeamActive_
Definition: Level1TriggerScalers.h:147
TriggerScalersRaw_v3::triggersPhysicsLostBeamInactive
unsigned long long triggersPhysicsLostBeamInactive
Definition: ScalersRaw.h:99
TriggerScalersRaw_v3::triggersPhysicsLostBeamActive
unsigned long long triggersPhysicsLostBeamActive
Definition: ScalersRaw.h:98
ScalersEventRecordRaw_v5::lastTestEnable
unsigned int lastTestEnable
Definition: ScalersRaw.h:229
TriggerScalersRaw_v3::prescaleIndexAlgo
int prescaleIndexAlgo
Definition: ScalersRaw.h:90
l1tstage2_dqm_sourceclient-live_cfg.rawData
rawData
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:162
Level1TriggerScalers::lumiSegmentOrbits_
unsigned int lumiSegmentOrbits_
Definition: Level1TriggerScalers.h:132
TriggerScalersRaw_v3::gtTechCounts
unsigned int gtTechCounts[ScalersRaw::N_L1_TEST_TRIGGERS_v1]
Definition: ScalersRaw.h:113
Level1TriggerScalers::bunchCrossingErrors_
unsigned int bunchCrossingErrors_
Definition: Level1TriggerScalers.h:135
TriggerScalersRaw_v3::l1AsTest
unsigned long long l1AsTest
Definition: ScalersRaw.h:102
ScalersEventRecordRaw_v5::header
unsigned long long header
Definition: ScalersRaw.h:222
TimeSpec::set_tv_nsec
void set_tv_nsec(long value)
Definition: TimeSpec.h:19
ScalersRaw.h
TriggerScalersRaw_v3::deadtimeBeamActiveTriggerRules
unsigned long long deadtimeBeamActiveTriggerRules
Definition: ScalersRaw.h:106
TriggerScalersRaw_v3::collectionTime_sec
unsigned int collectionTime_sec
Definition: ScalersRaw.h:79
TriggerScalersRaw_v3::l1AsPhysics
unsigned long long l1AsPhysics
Definition: ScalersRaw.h:100
Level1TriggerScalers::lastResync_
unsigned int lastResync_
Definition: Level1TriggerScalers.h:169
ScalersEventRecordRaw_v5::lastEventCounter0
unsigned int lastEventCounter0
Definition: ScalersRaw.h:232
RPCpg::rate
double rate(double x)
Definition: Constants.cc:3
watchdog.const
const
Definition: watchdog.py:83
Level1TriggerScalers::lumiSegmentNr_
unsigned int lumiSegmentNr_
Definition: Level1TriggerScalers.h:131
Level1TriggerScalers::collectionTime_
TimeSpec collectionTime_
Definition: Level1TriggerScalers.h:130
TriggerScalersRaw_v3::l1AsRandom
unsigned long long l1AsRandom
Definition: ScalersRaw.h:101
Level1TriggerScalers::version_
int version_
Definition: Level1TriggerScalers.h:123
Level1TriggerScalers::Level1TriggerScalers
Level1TriggerScalers()
Definition: Level1TriggerScalers.cc:12
convertSQLiteXML.runNumber
runNumber
Definition: convertSQLiteXML.py:91
Level1TriggerScalers::lumiSegmentNrLumiSeg_
unsigned int lumiSegmentNrLumiSeg_
Definition: Level1TriggerScalers.h:144
Level1TriggerScalers::~Level1TriggerScalers
virtual ~Level1TriggerScalers()
Definition: Level1TriggerScalers.cc:139
TriggerScalersRaw_v3::deadtimeBeamActivePartitionController
unsigned long long deadtimeBeamActivePartitionController
Definition: ScalersRaw.h:109
TriggerScalersRaw_v3::deadtime
unsigned long long deadtime
Definition: ScalersRaw.h:104
alignCSCRings.s
s
Definition: alignCSCRings.py:92
TriggerScalersRaw_v3::collectionTime_nsec
unsigned int collectionTime_nsec
Definition: ScalersRaw.h:80
TriggerScalersRaw_v3::gtResets
unsigned int gtResets
Definition: ScalersRaw.h:84
Level1TriggerScalers.h
Level1TriggerScalers::gtTriggers_
unsigned long long gtTriggers_
Definition: Level1TriggerScalers.h:136
Level1TriggerScalers::lastEventCounter0_
unsigned int lastEventCounter0_
Definition: Level1TriggerScalers.h:171
Level1TriggerScalers::gtTechCounts_
std::vector< unsigned int > gtTechCounts_
Definition: Level1TriggerScalers.h:162
Level1TriggerScalers::eventID_
unsigned int eventID_
Definition: Level1TriggerScalers.h:126
TimeSpec::set_tv_sec
void set_tv_sec(long value)
Definition: TimeSpec.h:18
Level1TriggerScalers::trigType_
unsigned int trigType_
Definition: Level1TriggerScalers.h:125
Level1TriggerScalers::gtEvents_
unsigned long long gtEvents_
Definition: Level1TriggerScalers.h:137
Level1TriggerScalers::deadtimeBeamActiveTriggerRules_
unsigned long long deadtimeBeamActiveTriggerRules_
Definition: Level1TriggerScalers.h:155
Level1TriggerScalers::collectionTimeLumiSeg_
TimeSpec collectionTimeLumiSeg_
Definition: Level1TriggerScalers.h:143
Level1TriggerScalers::spare1_
unsigned long long spare1_
Definition: Level1TriggerScalers.h:176
Level1TriggerScalers::gtResets_
unsigned int gtResets_
Definition: Level1TriggerScalers.h:134
Level1TriggerScalers::deadtime_
unsigned long long deadtime_
Definition: Level1TriggerScalers.h:153
TriggerScalersRaw_v3::triggersPhysicsLost
unsigned long long triggersPhysicsLost
Definition: ScalersRaw.h:97
Level1TriggerScalers::sourceID_
unsigned int sourceID_
Definition: Level1TriggerScalers.h:127
TriggerScalersRaw_v3::triggersPhysicsGeneratedFDL
unsigned long long triggersPhysicsGeneratedFDL
Definition: ScalersRaw.h:96
Level1TriggerScalers::gtAlgoCounts_
std::vector< unsigned int > gtAlgoCounts_
Definition: Level1TriggerScalers.h:161
Level1TriggerScalers::triggersPhysicsLostBeamInactive_
unsigned long long triggersPhysicsLostBeamInactive_
Definition: Level1TriggerScalers.h:148
TriggerScalersRaw_v3::deadtimeBeamActivePrivateOrbit
unsigned long long deadtimeBeamActivePrivateOrbit
Definition: ScalersRaw.h:108
ScalersEventRecordRaw_v5::lastOrbitCounter0
unsigned int lastOrbitCounter0
Definition: ScalersRaw.h:228
ScalersEventRecordRaw_v5::spare
unsigned long long spare[ScalersRaw::N_SPARE_v5]
Definition: ScalersRaw.h:234
ScalersEventRecordRaw_v5::lastHardReset
unsigned int lastHardReset
Definition: ScalersRaw.h:233
ScalersEventRecordRaw_v5::lastStart
unsigned int lastStart
Definition: ScalersRaw.h:231
Level1TriggerScalers::deadtimeBeamActive_
unsigned long long deadtimeBeamActive_
Definition: Level1TriggerScalers.h:154
TriggerScalersRaw_v3::collectionTimeLumiSeg_nsec
unsigned int collectionTimeLumiSeg_nsec
Definition: ScalersRaw.h:94
Level1TriggerScalers::lastHardReset_
unsigned int lastHardReset_
Definition: Level1TriggerScalers.h:172
TriggerScalersRaw_v3::gtAlgoCounts
unsigned int gtAlgoCounts[ScalersRaw::N_L1_TRIGGERS_v1]
Definition: ScalersRaw.h:112
Level1TriggerScalers::percentLSActive
static double percentLSActive(unsigned long long counts)
Definition: Level1TriggerScalers.cc:175
ScalersEventRecordRaw_v5::trig
struct TriggerScalersRaw_v3 trig
Definition: ScalersRaw.h:224
TriggerScalersRaw_v3::prescaleIndexTech
int prescaleIndexTech
Definition: ScalersRaw.h:91
Level1TriggerScalers::l1AsTest_
unsigned long long l1AsTest_
Definition: Level1TriggerScalers.h:151
Level1TriggerScalers::deadtimeBeamActivePrivateOrbit_
unsigned long long deadtimeBeamActivePrivateOrbit_
Definition: Level1TriggerScalers.h:157
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
Level1TriggerScalers::l1AsCalibration_
unsigned long long l1AsCalibration_
Definition: Level1TriggerScalers.h:152
Level1TriggerScalers::bunchNumber_
unsigned int bunchNumber_
Definition: Level1TriggerScalers.h:128
ScalersRaw::N_L1_TEST_TRIGGERS_v1
Definition: ScalersRaw.h:31
Level1TriggerScalers::percentLS
static double percentLS(unsigned long long counts)
Definition: Level1TriggerScalers.cc:160
TriggerScalersRaw_v3::deadtimeBeamActive
unsigned long long deadtimeBeamActive
Definition: ScalersRaw.h:105
Level1TriggerScalers::lastStart_
unsigned int lastStart_
Definition: Level1TriggerScalers.h:170
Level1TriggerScalers::triggersPhysicsLost_
unsigned long long triggersPhysicsLost_
Definition: Level1TriggerScalers.h:146
Level1TriggerScalers::prescaleIndexTech_
int prescaleIndexTech_
Definition: Level1TriggerScalers.h:141
TriggerScalersRaw_v3::collectionTimeLumiSeg_sec
unsigned int collectionTimeLumiSeg_sec
Definition: ScalersRaw.h:93
Level1TriggerScalers
Definition: Level1TriggerScalers.h:26
TriggerScalersRaw_v3::bunchCrossingErrors
unsigned int bunchCrossingErrors
Definition: ScalersRaw.h:85
Level1TriggerScalers::l1AsPhysics_
unsigned long long l1AsPhysics_
Definition: Level1TriggerScalers.h:149
Level1TriggerScalers::spare2_
unsigned long long spare2_
Definition: Level1TriggerScalers.h:177
dqmiodumpmetadata.counts
counts
Definition: dqmiodumpmetadata.py:25
ScalersEventRecordRaw_v5
Definition: ScalersRaw.h:221
TriggerScalersRaw_v3::lumiSegmentNr
unsigned int lumiSegmentNr
Definition: ScalersRaw.h:81
TriggerScalersRaw_v3::orbitNr
unsigned int orbitNr
Definition: ScalersRaw.h:83
Level1TriggerScalers::orbitNr_
unsigned int orbitNr_
Definition: Level1TriggerScalers.h:133
Level1TriggerScalers::triggersPhysicsGeneratedFDL_
unsigned long long triggersPhysicsGeneratedFDL_
Definition: Level1TriggerScalers.h:145
Level1TriggerScalers::gtEventsRate_
float gtEventsRate_
Definition: Level1TriggerScalers.h:139
TriggerScalersRaw_v3::lumiSegmentOrbits
unsigned int lumiSegmentOrbits
Definition: ScalersRaw.h:82
Level1TriggerScalers::prescaleIndexAlgo_
int prescaleIndexAlgo_
Definition: Level1TriggerScalers.h:140
Level1TriggerScalers::gtTriggersRate_
float gtTriggersRate_
Definition: Level1TriggerScalers.h:138
TriggerScalersRaw_v3::gtTriggersRate
float gtTriggersRate
Definition: ScalersRaw.h:88
mps_splice.line
line
Definition: mps_splice.py:76
Level1TriggerScalers::lastTestEnable_
unsigned int lastTestEnable_
Definition: Level1TriggerScalers.h:168
Level1TriggerScalers::deadtimeBeamActiveCalibration_
unsigned long long deadtimeBeamActiveCalibration_
Definition: Level1TriggerScalers.h:156
ScalersRaw::N_L1_TRIGGERS_v1
Definition: ScalersRaw.h:30
TriggerScalersRaw_v3::gtEvents
unsigned long long gtEvents
Definition: ScalersRaw.h:87
Level1TriggerScalers::spare0_
unsigned long long spare0_
Definition: Level1TriggerScalers.h:175
Level1TriggerScalers::deadtimeBeamActiveTimeSlot_
unsigned long long deadtimeBeamActiveTimeSlot_
Definition: Level1TriggerScalers.h:159
TriggerScalersRaw_v3::gtEventsRate
float gtEventsRate
Definition: ScalersRaw.h:89