CMS 3D CMS Logo

ValueQuantity.h
Go to the documentation of this file.
1 #ifndef ValueQuantity_h
2 #define ValueQuantity_h
3 
6 #include <unordered_map>
7 
8 namespace hcaldqm {
9  namespace quantity {
11  fN,
23  fLS,
26  fFG,
47  fBX,
70  fADC_256_4, // ADC from 0-255, with 4 ADC granularity
71  };
72  const std::map<ValueQuantityType, std::string> name_value = {
73  {fN, "N"},
74  {fEvents, "Events"},
75  {fEnergy, "Energy"},
76  {fTiming_ns, "Timing"},
77  {fADC_5, "ADC (QIE8)"},
78  {fADC_15, "ADC (QIE8)"},
79  {fADC_128, "ADC (QIE8)"},
80  {fADC_256, "ADC"},
81  {fQIE10ADC_256, "ADC (QIE10/11)"},
82  {fQIE10ADC_16, "ADC (QIE10/11)"},
83  {ffC_1000, "fC (QIE8)"},
84  {ffC_3000, "fC (QIE8)"},
85  {ffC_10000, "fC (QIE8)"},
86  {fQIE8fC_1000_50, "fC"},
87  {fQIE10fC_2000, "fC"},
88  {fQIE10fC_10000, "fC"},
89  {fQIE10fC_400000, "fC"},
90  {ffC_generic_10000, "fC (QIE8/10/11)"},
91  {ffC_generic_400000, "fC (QIE8/10/11)"},
92  {fTiming_TS, "Timing"},
93  {fTiming_TS200, "Timing"},
94  {fLS, "LS"},
95  {fEt_256, "Et"},
96  {fEt_128, "Et"},
97  {fFG, "FG"},
98  {fRatio, "Ratio"},
99  {fDigiSize, "DigiSize"},
100  {fAroundZero, "Q"},
101  {fRatio2, "Ratio"},
102  {fdEtRatio, "dEtRatio"},
103  {fSumdEt, "SumdEt"},
104  {fTiming_100TS, "Timing"},
105  {fQIE10TDC_64, "TDC"},
106  {fQIE10TDC_16, "TDC"},
107  {fQIE10TDC_4, "TDC"},
108  {fDiffAbs, "Q"},
109  {fRatio_0to2, "Ratio"},
110  {fN_to8000, "N"},
111  {fEnergyTotal, "Energy"},
112  {fN_m0to10000, "N"},
113  {fEtCorr_256, "Et"},
114  {fEtCorr_data, "256*TS + Et (Data TP)"},
115  {fEtCorr_emul, "256*TS + Et (Emul TP)"},
116  {fADCCorr_128, "ADC"},
117  {fBX, "BX"},
118  {fEnergy_1TeV, "Energy"},
119  {fState, "State"},
120  {fDataSize, "FED Data Size (kB)"},
121  {fTime_ns_250, "Time (ns)"},
122  {fDualAnodeAsymmetry, "(q_{1}-q_{2})/(q_{1}+q_{2})"},
123  {fTimingRatio, "q_{SOI+1}/q_{SOI}"},
124  {fQIE10fC_100000Coarse, "fC"},
125  {fBadTDC, "TDC"},
126  {fRBX, "RBX"},
127  {fTimingDiff_ns, "#Delta timing [ns]"},
128  {ffC_1000000, "fC"},
129  {fTime_ns_250_coarse, "Time (ns)"},
130  {fCapidMinusBXmod4, "(CapId - BX) % 4"},
131  {fBX_36, "BX"},
132  {fADC_256_4, "ADC"},
133  };
134  const std::map<ValueQuantityType, double> min_value = {
135  {fN, -0.05},
136  {fEvents, 0},
137  {fEnergy, 0},
138  {fTiming_ns, -50},
139  {fADC_128, -0.5},
140  {fADC_5, -0.5},
141  {fADC_15, -0.5},
142  {ffC_10000, 0},
143  {ffC_1000, 0},
144  {ffC_3000, 0},
145  {fTiming_TS, -0.5},
146  {fTiming_TS200, -0.5},
147  {fLS, 0.5},
148  {fEt_256, 0},
149  {fEt_128, 0},
150  {fFG, 0},
151  {fRatio, 0},
152  {fDigiSize, -0.5},
153  {fAroundZero, -1},
154  {fRatio2, 0.5},
155  {fdEtRatio, 0},
156  {fSumdEt, 0},
157  {fTiming_100TS, -0.5},
158  {fQIE10ADC_256, -0.5},
159  {fQIE10ADC_16, -0.5},
160  {fQIE10TDC_64, -0.5},
161  {fQIE10TDC_16, -0.5},
162  {fQIE10TDC_4, -0.5},
163  {fDiffAbs, 0},
164  {fRatio_0to2, 0},
165  {fN_to8000, 0},
166  {fEnergyTotal, 0},
167  {fN_m0to10000, -0.05},
168  {fEtCorr_256, -1},
169  {fEtCorr_data, -4},
170  {fEtCorr_emul, -4},
171  {fADCCorr_128, -2},
172  {fBX, -0.5},
173  {fEnergy_1TeV, 0},
174  {fState, flag::fNA},
175  {fQIE10fC_400000, 0},
176  {fDataSize, 0},
177  {fQIE10fC_2000, 0},
178  {fQIE10fC_10000, 0},
179  {fQIE8fC_1000_50, 0},
180  {fTime_ns_250, -0.5},
181  {fADC_256, -0.5},
182  {ffC_generic_10000, 0.},
183  {ffC_generic_400000, 0.},
184  {fDualAnodeAsymmetry, -1.},
185  {fTimingRatio, 0.},
187  {fBadTDC, 49.5},
188  {fRBX, 0.5},
189  {fTimingDiff_ns, -125.},
190  {ffC_1000000, 0.},
191  {fTime_ns_250_coarse, -0.5},
192  {fCapidMinusBXmod4, -0.5},
193  {fBX_36, -0.5},
194  {fADC_256_4, -0.5},
195  };
196  const std::map<ValueQuantityType, double> max_value = {
197  {fN, 1000},
198  {fEvents, 1000},
199  {fEnergy, 200},
200  {fTiming_ns, 50},
201  {fADC_128, 127.5},
202  {fADC_5, 5},
203  {fADC_15, 15},
204  {ffC_10000, 10000},
205  {ffC_1000, 1000},
206  {ffC_3000, 3000},
207  {fTiming_TS, 9.5},
208  {fTiming_TS200, 9.5},
209  {fLS, 4000.5},
210  {fEt_256, 255.5},
211  {fEt_128, 255.5},
212  {fFG, 2},
213  {fRatio, 1},
214  {fDigiSize, 20.5},
215  {fAroundZero, 1},
216  {fRatio2, 1.5},
217  {fdEtRatio, 1},
218  {fSumdEt, 1000},
219  {fTiming_100TS, 99.5},
220  {fQIE10ADC_256, 255.5},
221  {fQIE10ADC_16, 15.5},
222  {fQIE10TDC_64, 63.5},
223  {fQIE10TDC_16, 15.5},
224  {fQIE10TDC_4, 3.5},
225  {fDiffAbs, 1},
226  {fRatio_0to2, 2},
227  {fN_to8000, 8000},
228  {fEnergyTotal, 100000},
229  {fN_m0to10000, 10000},
230  {fEtCorr_256, 257},
231  {fEtCorr_data, 1028},
232  {fEtCorr_emul, 1028},
233  {fADCCorr_128, 128},
234  {fBX, 3600.5},
235  {fEnergy_1TeV, 1000},
236  {fState, flag::nState},
237  {fQIE10fC_400000, 400000},
238  {fDataSize, 100},
239  {fQIE10fC_2000, 2000},
240  {fQIE10fC_10000, 10000},
241  {fQIE8fC_1000_50, 1000},
242  {fTime_ns_250, 249.5},
243  {fADC_256, 255.5},
244  {ffC_generic_10000, 10000},
245  {ffC_generic_400000, 400000},
246  {fDualAnodeAsymmetry, 1.},
247  {fTimingRatio, 2.5},
248  {fQIE10fC_100000Coarse, 100000},
249  {fBadTDC, 61.5},
250  {fRBX, 18.5},
251  {fTimingDiff_ns, 125.},
252  {ffC_1000000, 1.e6},
253  {fTime_ns_250_coarse, 249.5},
254  {fCapidMinusBXmod4, 3.5},
255  {fBX_36, 3564. - 0.5},
256  {fADC_256_4, 255},
257  };
258  const std::map<ValueQuantityType, int> nbins_value = {
259  {fN, 200},
260  {fEvents, 200},
261  {fEnergy, 100},
262  {fTiming_ns, 200},
263  {fADC_128, 128},
264  {fADC_5, 100},
265  {fADC_15, 300},
266  {ffC_10000, 1000},
267  {ffC_1000, 200},
268  {ffC_3000, 600},
269  {fTiming_TS, 10},
270  {fTiming_TS200, 200},
271  {fLS, 4000},
272  {fEt_256, 256},
273  {fEt_128, 128},
274  {fFG, 2},
275  {fRatio, 100},
276  {fDigiSize, 21},
277  {fAroundZero, 100},
278  {fRatio2, 100},
279  {fdEtRatio, 100},
280  {fSumdEt, 100},
281  {fTiming_100TS, 100},
282  {fQIE10ADC_256, 256},
283  {fQIE10TDC_64, 64},
284  {fQIE10TDC_16, 16},
285  {fQIE10TDC_4, 4},
286  {fDiffAbs, 200},
287  {fRatio_0to2, 100},
288  {fN_to8000, 8000},
289  {fEnergyTotal, 500},
290  {fN_m0to10000, 100},
291  {fEtCorr_256, 258},
292  {fEtCorr_data, 258},
293  {fEtCorr_emul, 258},
294  {fADCCorr_128, 130},
295  {fBX, 3601},
296  {fEnergy_1TeV, 200},
297  {fState, flag::nState},
298  {fQIE10fC_400000, 1000},
299  {fDataSize, 100},
300  {fQIE10fC_2000, 100},
301  {fQIE10fC_10000, 500},
302  {fQIE8fC_1000_50, 50},
303  {fTime_ns_250, 250},
304  {fADC_256, 256},
305  {ffC_generic_10000, 10000},
306  {ffC_generic_400000, 10000},
307  {fDualAnodeAsymmetry, 40},
308  {fTimingRatio, 50},
309  {fQIE10fC_100000Coarse, 1000},
310  {fBadTDC, 12},
311  {fRBX, 18},
312  {fTimingDiff_ns, 40},
313  {ffC_1000000, 1000},
314  {fTime_ns_250_coarse, 100},
315  {fCapidMinusBXmod4, 4},
316  {fBX_36, 99},
317  {fADC_256_4, 64},
318  };
319  class ValueQuantity : public Quantity {
320  public:
323  ~ValueQuantity() override {}
324 
325  ValueQuantity *makeCopy() override { return new ValueQuantity(_type, _isLog); }
326 
327  // get Value to be overriden
328  int getValue(int x) override {
329  int ret_x = x;
330  if (_showOverflow) {
331  if (x < min()) {
332  ret_x = min();
333  } else if (x > max()) {
334  ret_x = max();
335  }
336  }
337  return ret_x;
338  }
339  double getValue(double x) override {
340  double ret_x = x;
341  if (_showOverflow) {
342  if (x < min()) {
343  ret_x = min();
344  } else if (x > max()) {
345  ret_x = max();
346  }
347  }
348  return ret_x;
349  }
350 
351  // standard properties
352  QuantityType type() override { return fValueQuantity; }
353  int nbins() override { return nbins_value.at(_type); }
354  double min() override { return min_value.at(_type); }
355  double max() override { return max_value.at(_type); }
356 
357  void setBits(TH1 *o) override {
359  setLS(o);
360  }
361  virtual void setLS(TH1 *o) {
362  if (_type == fLS) {
363  // for LS axis - set the bit
364  // set extendable axes.
366  // o->SetCanExtend(TH1::kXaxis);
367  }
368  }
369 
370  protected:
372  };
373 
374  class FlagQuantity : public ValueQuantity {
375  public:
377  FlagQuantity(std::vector<flag::Flag> const &flags) : _flags(flags) {}
378  ~FlagQuantity() override {}
379 
380  FlagQuantity *makeCopy() override { return new FlagQuantity(_flags); }
381 
382  std::string name() override { return "Flag"; }
383  int nbins() override { return _flags.size(); }
384  double min() override { return 0; }
385  double max() override { return _flags.size(); }
386  int getValue(int f) override { return f; }
387  uint32_t getBin(int f) override { return f + 1; }
388  std::vector<std::string> getLabels() override {
389  std::vector<std::string> vnames;
390  for (std::vector<flag::Flag>::const_iterator it = _flags.begin(); it != _flags.end(); ++it)
391  vnames.push_back(it->_name);
392 
393  return vnames;
394  }
395 
396  protected:
397  std::vector<flag::Flag> _flags;
398  };
399 
400  class LumiSection : public ValueQuantity {
401  public:
404  ~LumiSection() override {}
405 
406  LumiSection *makeCopy() override { return new LumiSection(_n); }
407 
408  std::string name() override { return "LS"; }
409  int nbins() override { return _n; }
410  double min() override { return 1; }
411  double max() override { return _n + 1; }
412  int getValue(int l) override { return l; }
413  uint32_t getBin(int l) override { return getValue(l); }
414  void setMax(double x) override { _n = x; }
415 
416  protected:
417  int _n;
418  };
419 
424  public:
427  ~LumiSectionCoarse() override {}
428 
430 
431  std::string name() override { return "LS"; }
432  int nbins() override { return (_n + _binning - 1) / _binning; }
433  double min() override { return 1; }
434  double max() override { return _n + 1; }
435  int getValue(int l) override { return l; }
436  uint32_t getBin(int l) override { return (l + _binning - 1) / _binning; }
437  void setMax(double x) override { _n = x; }
438 
439  protected:
440  int _n;
441  int _binning;
442  };
443 
444  class RunNumber : public ValueQuantity {
445  public:
447  RunNumber(std::vector<int> runs) : _runs(runs) {}
448  ~RunNumber() override {}
449 
450  std::string name() override { return "Run"; }
451  int nbins() override { return _runs.size(); }
452  double min() override { return 0; }
453  double max() override { return _runs.size(); }
454  std::vector<std::string> getLabels() override {
455  char name[10];
456  std::vector<std::string> labels;
457  for (uint32_t i = 0; i < _runs.size(); i++) {
458  sprintf(name, "%d", _runs[i]);
459  labels.push_back(name);
460  }
461  return labels;
462  }
463  int getValue(int run) override {
464  int ir = -1;
465  for (uint32_t i = 0; i < _runs.size(); i++)
466  if (_runs[i] == run) {
467  ir = (int)i;
468  break;
469  }
470 
471  if (ir == -1)
472  throw cms::Exception("HCALDQM") << "run number doens't exist " << run;
473 
474  return ir;
475  }
476 
477  uint32_t getBin(int run) override { return (this->getValue(run) + 1); }
478 
479  protected:
480  std::vector<int> _runs;
481  };
482 
483  class EventNumber : public ValueQuantity {
484  public:
487  ~EventNumber() override {}
488 
489  std::string name() override { return "Event"; }
490  int nbins() override { return _nevents; }
491  double min() override { return 0.5; }
492  double max() override { return _nevents + 0.5; }
493 
494  protected:
495  int _nevents;
496  };
497 
498  class EventType : public ValueQuantity {
499  public:
501  EventType(std::vector<uint32_t> const &vtypes) : ValueQuantity(fN) { this->setup(vtypes); }
502  ~EventType() override {}
503 
504  virtual void setup(std::vector<uint32_t> const &vtypes) {
505  std::cout << "SIZE = " << vtypes.size() << std::endl;
506  for (uint32_t i = 0; i < vtypes.size(); i++)
507  _types.insert(std::make_pair((uint32_t)vtypes[i], i));
508  }
509  int getValue(int v) override { return _types[(uint32_t)v]; }
510  uint32_t getBin(int v) override { return getValue(v) + 1; }
511 
512  int nbins() override { return _types.size(); }
513  double min() override { return 0; }
514  double max() override { return _types.size(); }
515  std::string name() override { return "Event Type"; }
516 
517  protected:
518  typedef std::unordered_map<uint32_t, int> TypeMap;
520 
521  public:
522  std::vector<std::string> getLabels() override {
523  std::vector<std::string> labels(_types.size());
524  std::cout << "SIZE = " << _types.size() << std::endl;
525  for (auto const &v : _types) {
527  }
528  return labels;
529  }
530  EventType *makeCopy() override {
531  std::vector<uint32_t> vtypes;
532  for (auto const &p : _types) {
533  vtypes.push_back(p.first);
534  }
535 
536  std::sort(vtypes.begin(), vtypes.end());
537  return new EventType(vtypes);
538  }
539  };
540  } // namespace quantity
541 } // namespace hcaldqm
542 
543 #endif
hcaldqm::quantity::RunNumber::RunNumber
RunNumber(std::vector< int > runs)
Definition: ValueQuantity.h:447
hcaldqm::quantity::fQIE10TDC_4
Definition: ValueQuantity.h:37
cmsHarvester.nevents
nevents
Definition: cmsHarvester.py:3176
hcaldqm::quantity::FlagQuantity::getBin
uint32_t getBin(int f) override
Definition: ValueQuantity.h:387
hcaldqm::quantity::fADC_128
Definition: ValueQuantity.h:15
hcaldqm::quantity::ValueQuantity::setLS
virtual void setLS(TH1 *o)
Definition: ValueQuantity.h:361
SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
hcaldqm::quantity::RunNumber::min
double min() override
Definition: ValueQuantity.h:452
hcaldqm::quantity::ValueQuantity::nbins
int nbins() override
Definition: ValueQuantity.h:353
hcaldqm::quantity::ValueQuantity::min
double min() override
Definition: ValueQuantity.h:354
hcaldqm::quantity::fCapidMinusBXmod4
Definition: ValueQuantity.h:68
hcaldqm::quantity::FlagQuantity::nbins
int nbins() override
Definition: ValueQuantity.h:383
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::quantity::ffC_1000
Definition: ValueQuantity.h:19
hcaldqm::quantity::LumiSection::LumiSection
LumiSection()
Definition: ValueQuantity.h:402
hcaldqm::quantity::LumiSectionCoarse::setMax
void setMax(double x) override
Definition: ValueQuantity.h:437
hcaldqm::quantity::fRatio_0to2
Definition: ValueQuantity.h:39
hcaldqm::quantity::FlagQuantity::getLabels
std::vector< std::string > getLabels() override
Definition: ValueQuantity.h:388
hcaldqm::quantity::LumiSectionCoarse::getBin
uint32_t getBin(int l) override
Definition: ValueQuantity.h:436
hcaldqm::quantity::fTiming_100TS
Definition: ValueQuantity.h:33
hcaldqm::quantity::LumiSectionCoarse::_binning
int _binning
Definition: ValueQuantity.h:441
hcaldqm::quantity::fTimingRatio
Definition: ValueQuantity.h:61
hcaldqm::quantity::fEnergyTotal
Definition: ValueQuantity.h:41
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
hcaldqm::quantity::LumiSectionCoarse::name
std::string name() override
Definition: ValueQuantity.h:431
hcaldqm::quantity::fRatio
Definition: ValueQuantity.h:27
hcaldqm::quantity::FlagQuantity
Definition: ValueQuantity.h:374
hcaldqm::quantity::EventNumber::nbins
int nbins() override
Definition: ValueQuantity.h:490
hcaldqm::quantity::LumiSection::~LumiSection
~LumiSection() override
Definition: ValueQuantity.h:404
hcaldqm::quantity::EventNumber::_nevents
int _nevents
Definition: ValueQuantity.h:495
hcaldqm::quantity::LumiSectionCoarse::~LumiSectionCoarse
~LumiSectionCoarse() override
Definition: ValueQuantity.h:427
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
hcaldqm::flag::nState
Definition: Flag.h:21
hcaldqm::quantity::ValueQuantity
Definition: ValueQuantity.h:319
hcaldqm::quantity::fN_to8000
Definition: ValueQuantity.h:40
hcaldqm::quantity::ValueQuantity::_type
ValueQuantityType _type
Definition: ValueQuantity.h:371
hcaldqm::quantity::EventNumber::EventNumber
EventNumber()
Definition: ValueQuantity.h:485
Flag.h
hcaldqm::quantity::RunNumber::getBin
uint32_t getBin(int run) override
Definition: ValueQuantity.h:477
hcaldqm::quantity::LumiSectionCoarse::_n
int _n
Definition: ValueQuantity.h:440
hcaldqm
Definition: Constants.h:8
hcaldqm::quantity::RunNumber::_runs
std::vector< int > _runs
Definition: ValueQuantity.h:480
hcaldqm::quantity::LumiSection::LumiSection
LumiSection(int n)
Definition: ValueQuantity.h:403
hcaldqm::quantity::ffC_10000
Definition: ValueQuantity.h:18
hcaldqm::quantity::fQIE10ADC_16
Definition: ValueQuantity.h:59
gather_cfg.cout
cout
Definition: gather_cfg.py:144
hcaldqm::quantity::FlagQuantity::getValue
int getValue(int f) override
Definition: ValueQuantity.h:386
hcaldqm::quantity::fADCCorr_128
Definition: ValueQuantity.h:46
hcaldqm::quantity::Quantity::setBits
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
writedatasetfile.runs
runs
Definition: writedatasetfile.py:27
hcaldqm::quantity::fTime_ns_250_coarse
Definition: ValueQuantity.h:67
hcaldqm::constants::BIT_OFFSET
const int BIT_OFFSET
Definition: Constants.h:282
hcaldqm::quantity::EventType::TypeMap
std::unordered_map< uint32_t, int > TypeMap
Definition: ValueQuantity.h:518
hcaldqm::quantity::EventType::EventType
EventType()
Definition: ValueQuantity.h:500
findQualityFiles.v
v
Definition: findQualityFiles.py:179
hcaldqm::quantity::RunNumber::RunNumber
RunNumber()
Definition: ValueQuantity.h:446
hcaldqm::quantity::fQIE10fC_10000
Definition: ValueQuantity.h:53
hcaldqm::quantity::LumiSectionCoarse
Definition: ValueQuantity.h:423
hcaldqm::quantity::fADC_5
Definition: ValueQuantity.h:16
hcaldqm::quantity::LumiSection::nbins
int nbins() override
Definition: ValueQuantity.h:409
hcaldqm::quantity::FlagQuantity::makeCopy
FlagQuantity * makeCopy() override
Definition: ValueQuantity.h:380
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
hcaldqm::quantity::EventType
Definition: ValueQuantity.h:498
hcaldqm::quantity::fN_m0to10000
Definition: ValueQuantity.h:42
hcaldqm::quantity::ValueQuantity::ValueQuantity
ValueQuantity(ValueQuantityType type, bool isLog=false)
Definition: ValueQuantity.h:322
hcaldqm::quantity::ffC_1000000
Definition: ValueQuantity.h:66
hcaldqm::quantity::FlagQuantity::min
double min() override
Definition: ValueQuantity.h:384
hcaldqm::quantity::Quantity::isLog
virtual bool isLog()
Definition: Quantity.h:35
hcaldqm::quantity::fTimingDiff_ns
Definition: ValueQuantity.h:65
hcaldqm::quantity::fDataSize
Definition: ValueQuantity.h:51
hcaldqm::quantity::ffC_3000
Definition: ValueQuantity.h:20
hcaldqm::quantity::ValueQuantity::setBits
void setBits(TH1 *o) override
Definition: ValueQuantity.h:357
hcaldqm::quantity::EventType::max
double max() override
Definition: ValueQuantity.h:514
hcaldqm::quantity::EventType::~EventType
~EventType() override
Definition: ValueQuantity.h:502
hcaldqm::quantity::fEnergy
Definition: ValueQuantity.h:13
hcaldqm::quantity::EventNumber::max
double max() override
Definition: ValueQuantity.h:492
hcaldqm::quantity::fBX
Definition: ValueQuantity.h:47
hcaldqm::quantity::FlagQuantity::FlagQuantity
FlagQuantity(std::vector< flag::Flag > const &flags)
Definition: ValueQuantity.h:377
hcaldqm::quantity::ValueQuantity::~ValueQuantity
~ValueQuantity() override
Definition: ValueQuantity.h:323
hcaldqm::quantity::fADC_256_4
Definition: ValueQuantity.h:70
hcaldqm::quantity::fQIE10TDC_64
Definition: ValueQuantity.h:35
hcaldqm::quantity::Quantity::_showOverflow
bool _showOverflow
Definition: Quantity.h:74
hcaldqm::constants::OrbitGapType
OrbitGapType
Definition: Constants.h:295
hcaldqm::quantity::EventType::makeCopy
EventType * makeCopy() override
Definition: ValueQuantity.h:530
hcaldqm::quantity::fEtCorr_data
Definition: ValueQuantity.h:44
hcaldqm::quantity::LumiSection::setMax
void setMax(double x) override
Definition: ValueQuantity.h:414
hcaldqm::quantity::FlagQuantity::~FlagQuantity
~FlagQuantity() override
Definition: ValueQuantity.h:378
hcaldqm::quantity::fEtCorr_256
Definition: ValueQuantity.h:43
hcaldqm::quantity::fValueQuantity
Definition: Quantity.h:19
hcaldqm::quantity::fDiffAbs
Definition: ValueQuantity.h:38
hcaldqm::quantity::fdEtRatio
Definition: ValueQuantity.h:31
hcaldqm::quantity::LumiSectionCoarse::LumiSectionCoarse
LumiSectionCoarse()
Definition: ValueQuantity.h:425
hcaldqm::quantity::EventType::getLabels
std::vector< std::string > getLabels() override
Definition: ValueQuantity.h:522
hcaldqm::quantity::EventType::getValue
int getValue(int v) override
Definition: ValueQuantity.h:509
hcaldqm::quantity::min_value
const std::map< ValueQuantityType, double > min_value
Definition: ValueQuantity.h:134
hcaldqm::quantity::EventType::_types
TypeMap _types
Definition: ValueQuantity.h:519
hcaldqm::quantity::fEt_256
Definition: ValueQuantity.h:24
hcaldqm::quantity::RunNumber::~RunNumber
~RunNumber() override
Definition: ValueQuantity.h:448
hcaldqm::quantity::EventNumber::EventNumber
EventNumber(int nevents)
Definition: ValueQuantity.h:486
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
hcaldqm::quantity::LumiSection::min
double min() override
Definition: ValueQuantity.h:410
MjjMonitor_cfi.quantity
quantity
Definition: MjjMonitor_cfi.py:10
hcaldqm::quantity::EventNumber::min
double min() override
Definition: ValueQuantity.h:491
hcaldqm::quantity::fDigiSize
Definition: ValueQuantity.h:28
hcaldqm::quantity::LumiSection::getValue
int getValue(int l) override
Definition: ValueQuantity.h:412
hcaldqm::quantity::EventNumber::~EventNumber
~EventNumber() override
Definition: ValueQuantity.h:487
hcaldqm::flag::fNA
Definition: Flag.h:16
hcaldqm::quantity::name_value
const std::map< ValueQuantityType, std::string > name_value
Definition: ValueQuantity.h:72
hcaldqm::quantity::LumiSection::getBin
uint32_t getBin(int l) override
Definition: ValueQuantity.h:413
hcaldqm::quantity::ValueQuantityType
ValueQuantityType
Definition: ValueQuantity.h:10
hcaldqm::quantity::EventType::setup
virtual void setup(std::vector< uint32_t > const &vtypes)
Definition: ValueQuantity.h:504
hcaldqm::quantity::fQIE10fC_400000
Definition: ValueQuantity.h:50
hcaldqm::quantity::fQIE10fC_100000Coarse
Definition: ValueQuantity.h:62
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
hcaldqm::quantity::fTiming_ns
Definition: ValueQuantity.h:14
listHistos.binning
binning
Definition: listHistos.py:43
hcaldqm::quantity::LumiSectionCoarse::nbins
int nbins() override
Definition: ValueQuantity.h:432
hcaldqm::quantity::LumiSection::makeCopy
LumiSection * makeCopy() override
Definition: ValueQuantity.h:406
hcaldqm::quantity::fEvents
Definition: ValueQuantity.h:12
hcaldqm::quantity::fFG
Definition: ValueQuantity.h:26
hcaldqm::quantity::ValueQuantity::getValue
double getValue(double x) override
Definition: ValueQuantity.h:339
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
hcaldqm::quantity::LumiSectionCoarse::max
double max() override
Definition: ValueQuantity.h:434
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
hcaldqm::quantity::QuantityType
QuantityType
Definition: Quantity.h:15
hcaldqm::quantity::FlagQuantity::name
std::string name() override
Definition: ValueQuantity.h:382
hcaldqm::quantity::fQIE10fC_2000
Definition: ValueQuantity.h:52
createfilelist.int
int
Definition: createfilelist.py:10
hcaldqm::quantity::fQIE10ADC_256
Definition: ValueQuantity.h:34
hcaldqm::utilities::ogtype2string
std::string ogtype2string(constants::OrbitGapType type)
Definition: Utilities.cc:195
hcaldqm::quantity::ValueQuantity::max
double max() override
Definition: ValueQuantity.h:355
hcaldqm::constants::BIT_AXIS_LS
const int BIT_AXIS_LS
Definition: Constants.h:286
hcaldqm::quantity::RunNumber::max
double max() override
Definition: ValueQuantity.h:453
hcaldqm::quantity::LumiSectionCoarse::min
double min() override
Definition: ValueQuantity.h:433
hcaldqm::quantity::fDualAnodeAsymmetry
Definition: ValueQuantity.h:60
hcaldqm::quantity::EventType::getBin
uint32_t getBin(int v) override
Definition: ValueQuantity.h:510
hcaldqm::quantity::fTiming_TS200
Definition: ValueQuantity.h:22
hcaldqm::quantity::fEt_128
Definition: ValueQuantity.h:25
hcaldqm::quantity::Quantity
Definition: Quantity.h:27
hcaldqm::quantity::ValueQuantity::ValueQuantity
ValueQuantity()
Definition: ValueQuantity.h:321
hcaldqm::quantity::fEnergy_1TeV
Definition: ValueQuantity.h:48
hcaldqm::quantity::FlagQuantity::_flags
std::vector< flag::Flag > _flags
Definition: ValueQuantity.h:397
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::quantity::EventType::min
double min() override
Definition: ValueQuantity.h:513
hcaldqm::quantity::RunNumber
Definition: ValueQuantity.h:444
hcaldqm::quantity::fEtCorr_emul
Definition: ValueQuantity.h:45
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
hcaldqm::quantity::fRatio2
Definition: ValueQuantity.h:30
hcaldqm::quantity::Quantity::_isLog
bool _isLog
Definition: Quantity.h:72
Quantity.h
hcaldqm::quantity::fLS
Definition: ValueQuantity.h:23
hcaldqm::quantity::fBadTDC
Definition: ValueQuantity.h:63
hcaldqm::quantity::fSumdEt
Definition: ValueQuantity.h:32
writedatasetfile.run
run
Definition: writedatasetfile.py:27
hcaldqm::quantity::max_value
const std::map< ValueQuantityType, double > max_value
Definition: ValueQuantity.h:196
hcaldqm::quantity::fADC_256
Definition: ValueQuantity.h:56
hcaldqm::quantity::fAroundZero
Definition: ValueQuantity.h:29
hcaldqm::quantity::ffC_generic_400000
Definition: ValueQuantity.h:58
hcaldqm::quantity::LumiSectionCoarse::LumiSectionCoarse
LumiSectionCoarse(int n, int binning)
Definition: ValueQuantity.h:426
hcaldqm::quantity::ffC_generic_10000
Definition: ValueQuantity.h:57
hcaldqm::quantity::ValueQuantity::makeCopy
ValueQuantity * makeCopy() override
Definition: ValueQuantity.h:325
Exception
Definition: hltDiff.cc:245
hcaldqm::quantity::fQIE8fC_1000_50
Definition: ValueQuantity.h:54
hcaldqm::quantity::RunNumber::nbins
int nbins() override
Definition: ValueQuantity.h:451
hcaldqm::quantity::LumiSection::max
double max() override
Definition: ValueQuantity.h:411
hcaldqm::quantity::RunNumber::getLabels
std::vector< std::string > getLabels() override
Definition: ValueQuantity.h:454
hcaldqm::quantity::fRBX
Definition: ValueQuantity.h:64
hcaldqm::quantity::LumiSectionCoarse::getValue
int getValue(int l) override
Definition: ValueQuantity.h:435
hcaldqm::quantity::FlagQuantity::max
double max() override
Definition: ValueQuantity.h:385
hcaldqm::quantity::ValueQuantity::type
QuantityType type() override
Definition: ValueQuantity.h:352
hcaldqm::quantity::EventNumber
Definition: ValueQuantity.h:483
hcaldqm::quantity::ValueQuantity::getValue
int getValue(int x) override
Definition: ValueQuantity.h:328
hcaldqm::quantity::fQIE10TDC_16
Definition: ValueQuantity.h:36
hcaldqm::quantity::fADC_15
Definition: ValueQuantity.h:17
hcaldqm::quantity::fBX_36
Definition: ValueQuantity.h:69
hcaldqm::quantity::fState
Definition: ValueQuantity.h:49
hcaldqm::quantity::LumiSection::_n
int _n
Definition: ValueQuantity.h:417
hcaldqm::quantity::FlagQuantity::FlagQuantity
FlagQuantity()
Definition: ValueQuantity.h:376
hcaldqm::quantity::RunNumber::getValue
int getValue(int run) override
Definition: ValueQuantity.h:463
HLT_FULL_cff.flags
flags
Definition: HLT_FULL_cff.py:13168
hcaldqm::quantity::RunNumber::name
std::string name() override
Definition: ValueQuantity.h:450
hcaldqm::quantity::fTiming_TS
Definition: ValueQuantity.h:21
hcaldqm::quantity::LumiSection::name
std::string name() override
Definition: ValueQuantity.h:408
hcaldqm::quantity::LumiSectionCoarse::makeCopy
LumiSectionCoarse * makeCopy() override
Definition: ValueQuantity.h:429
hcaldqm::quantity::EventType::EventType
EventType(std::vector< uint32_t > const &vtypes)
Definition: ValueQuantity.h:501
hcaldqm::quantity::fTime_ns_250
Definition: ValueQuantity.h:55
hcaldqm::quantity::EventNumber::name
std::string name() override
Definition: ValueQuantity.h:489
hcaldqm::quantity::EventType::name
std::string name() override
Definition: ValueQuantity.h:515
hcaldqm::quantity::LumiSection
Definition: ValueQuantity.h:400
hcaldqm::quantity::nbins_value
const std::map< ValueQuantityType, int > nbins_value
Definition: ValueQuantity.h:258
hcaldqm::quantity::EventType::nbins
int nbins() override
Definition: ValueQuantity.h:512