CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripEnumsAndStrings.cc
Go to the documentation of this file.
2 
3 // -----------------------------------------------------------------------------
4 //
6  if (view == sistrip::READOUT_VIEW) {
8  } else if (view == sistrip::CONTROL_VIEW) {
10  } else if (view == sistrip::DETECTOR_VIEW) {
12  } else if (view == sistrip::UNDEFINED_VIEW) {
14  } else {
15  return sistrip::unknownView_;
16  }
17 }
18 
19 // -----------------------------------------------------------------------------
20 //
22  if (dir.find(sistrip::readoutView_) != std::string::npos) {
23  return sistrip::READOUT_VIEW;
24  } else if (dir.find(sistrip::controlView_) != std::string::npos) {
25  return sistrip::CONTROL_VIEW;
26  } else if (dir.find(sistrip::detectorView_) != std::string::npos) {
28  } else if (dir.find(sistrip::undefinedView_) != std::string::npos) {
30  } else if (dir.empty()) {
32  } else {
33  return sistrip::UNKNOWN_VIEW;
34  }
35 }
36 
37 // -----------------------------------------------------------------------------
38 //
40  if (run_type == sistrip::FAST_CABLING) {
42  } else if (run_type == sistrip::FED_CABLING) {
44  } else if (run_type == sistrip::APV_TIMING) {
46  } else if (run_type == sistrip::FED_TIMING) {
48  } else if (run_type == sistrip::OPTO_SCAN) {
49  return sistrip::optoScanRun_;
50  } else if (run_type == sistrip::VPSP_SCAN) {
51  return sistrip::vpspScanRun_;
52  } else if (run_type == sistrip::PEDESTALS) {
54  } else if (run_type == sistrip::PEDS_ONLY) {
55  return sistrip::pedsOnlyRun_;
56  } else if (run_type == sistrip::NOISE) {
57  return sistrip::noiseRun_;
58  } else if (run_type == sistrip::PEDS_FULL_NOISE) {
60  } else if (run_type == sistrip::APV_LATENCY) {
62  } else if (run_type == sistrip::FINE_DELAY) {
64  } else if (run_type == sistrip::CALIBRATION) {
66  } else if (run_type == sistrip::CALIBRATION_DECO) {
68  } else if (run_type == sistrip::CALIBRATION_SCAN) {
70  } else if (run_type == sistrip::CALIBRATION_SCAN_DECO) {
72  } else if (run_type == sistrip::DAQ_SCOPE_MODE) {
74  } else if (run_type == sistrip::PHYSICS) {
75  return sistrip::physicsRun_;
76  } else if (run_type == sistrip::UNDEFINED_RUN_TYPE) {
78  } else {
80  }
81 }
82 
83 // -----------------------------------------------------------------------------
84 //
86  if (run_type.find(sistrip::fastCablingRun_) != std::string::npos) {
87  return sistrip::FAST_CABLING;
88  } else if (run_type.find(sistrip::fedCablingRun_) != std::string::npos) {
89  return sistrip::FED_CABLING;
90  } else if (run_type.find(sistrip::apvTimingRun_) != std::string::npos) {
91  return sistrip::APV_TIMING;
92  } else if (run_type.find(sistrip::fedTimingRun_) != std::string::npos) {
93  return sistrip::FED_TIMING;
94  } else if (run_type.find(sistrip::optoScanRun_) != std::string::npos) {
95  return sistrip::OPTO_SCAN;
96  } else if (run_type.find(sistrip::vpspScanRun_) != std::string::npos) {
97  return sistrip::VPSP_SCAN;
98  } else if (run_type.find(sistrip::pedestalsRun_) != std::string::npos) {
99  return sistrip::PEDESTALS;
100  } else if (run_type.find(sistrip::pedsOnlyRun_) != std::string::npos) {
101  return sistrip::PEDS_ONLY;
102  } else if (run_type.find(sistrip::pedsFullNoiseRun_) != std::string::npos) {
104  } // needs to be before noise, otherwise name mismatch
105  else if (run_type.find(sistrip::noiseRun_) != std::string::npos) {
106  return sistrip::NOISE;
107  } else if (run_type.find(sistrip::fineDelayRun_) != std::string::npos) {
108  return sistrip::FINE_DELAY;
109  } else if (run_type.find(sistrip::calibPeakRun_) != std::string::npos) {
110  return sistrip::CALIBRATION;
111  } else if (run_type.find(sistrip::calibScanPeakRun_) != std::string::npos) {
113  } else if (run_type.find(sistrip::calibDeconRun_) != std::string::npos) {
115  } else if (run_type.find(sistrip::calibScanDeconRun_) != std::string::npos) {
117  } else if (run_type.find(sistrip::apvLatencyRun_) != std::string::npos) {
118  return sistrip::APV_LATENCY;
119  } else if (run_type.find(sistrip::daqScopeModeRun_) != std::string::npos) {
121  } else if (run_type.find(sistrip::physicsRun_) != std::string::npos) {
122  return sistrip::PHYSICS;
123  } else if (run_type.find(sistrip::undefinedRunType_) != std::string::npos) {
125  } else if (run_type.empty()) {
127  } else if (run_type == "FAST_CABLING") {
128  return sistrip::FAST_CABLING;
129  } else if (run_type == "FED_CABLING") {
130  return sistrip::FED_CABLING;
131  } else if (run_type == "APV_TIMING") {
132  return sistrip::APV_TIMING;
133  } else if (run_type == "FED_TIMING") {
134  return sistrip::FED_TIMING;
135  } else if (run_type == "OPTO_SCAN") {
136  return sistrip::OPTO_SCAN;
137  } else if (run_type == "VPSP_SCAN") {
138  return sistrip::VPSP_SCAN;
139  } else if (run_type == "PEDESTALS") {
140  return sistrip::PEDESTALS;
141  } else if (run_type == "PEDS_FULL_NOISE") {
143  } else if (run_type == "PEDS_ONLY") {
144  return sistrip::PEDS_ONLY;
145  } else if (run_type == "NOISE") {
146  return sistrip::NOISE;
147  } else if (run_type == "APV_LATENCY") {
148  return sistrip::APV_LATENCY;
149  } else if (run_type == "FINE_DELAY") {
150  return sistrip::FINE_DELAY;
151  } else if (run_type == "CALIBRATION") {
152  return sistrip::CALIBRATION;
153  } else if (run_type == "CALIBRATION_SCAN") {
155  } else if (run_type == "CALIBRATION_DECO") {
157  } else if (run_type == "CALIBRATION_SCAN_DECO") {
159  } else if (run_type == "DAQ_SCOPE_MODE") {
161  } else if (run_type == "PHYSICS") {
162  return sistrip::PHYSICS;
163  } else if (run_type == "UNDEFINED") {
165  } else {
167  }
168 }
169 
170 // -----------------------------------------------------------------------------
171 //
173  if (run_type == 1) {
174  return sistrip::PHYSICS;
175  } else if (run_type == 2) {
176  return sistrip::PEDESTALS;
177  } else if (run_type == 3) {
178  return sistrip::CALIBRATION;
179  } else if (run_type == 4) {
180  return sistrip::OPTO_SCAN;
181  } else if (run_type == 5) {
182  return sistrip::APV_TIMING;
183  } else if (run_type == 6) {
184  return sistrip::APV_LATENCY;
185  } else if (run_type == 7) {
187  } else if (run_type == 8) {
189  } else if (run_type == 10) {
190  return sistrip::MULTI_MODE;
191  } else if (run_type == 11) {
192  return sistrip::FED_CABLING;
193  } else if (run_type == 12) {
194  return sistrip::FED_TIMING;
195  } else if (run_type == 13) {
196  return sistrip::FED_CABLING;
197  } else if (run_type == 14) {
198  return sistrip::VPSP_SCAN;
199  } else if (run_type == 15) {
201  } else if (run_type == 16) {
203  } else if (run_type == 17) {
204  return sistrip::FINE_DELAY;
205  } //@@ layer
206  else if (run_type == 18) {
207  return sistrip::PHYSICS_ZS;
208  } else if (run_type == 19) {
210  } else if (run_type == 20) {
212  } else if (run_type == 21) {
213  return sistrip::FAST_CABLING;
214  } else if (run_type == 22) {
215  return sistrip::PEDS_ONLY;
216  } else if (run_type == 23) {
217  return sistrip::NOISE;
218  } else if (run_type == 24) {
220  } else if (run_type == 33) {
222  } else if (run_type == sistrip::invalid_) {
224  } else {
226  }
227 }
228 
229 // -----------------------------------------------------------------------------
230 //
232  if (key_type == sistrip::FED_KEY) {
233  return sistrip::fedKey_;
234  } else if (key_type == sistrip::FEC_KEY) {
235  return sistrip::fecKey_;
236  } else if (key_type == sistrip::DET_KEY) {
237  return sistrip::detKey_;
238  } else if (key_type == sistrip::UNDEFINED_KEY) {
239  return sistrip::undefinedKey_;
240  } else {
241  return sistrip::unknownKey_;
242  }
243 }
244 
245 // -----------------------------------------------------------------------------
246 //
248  if (key_type.find(sistrip::fedKey_) != std::string::npos) {
249  return sistrip::FED_KEY;
250  } else if (key_type.find(sistrip::fecKey_) != std::string::npos) {
251  return sistrip::FEC_KEY;
252  } else if (key_type.find(sistrip::detKey_) != std::string::npos) {
253  return sistrip::DET_KEY;
254  } else if (key_type.find(sistrip::undefinedKey_) != std::string::npos) {
255  return sistrip::UNDEFINED_KEY;
256  } else if (key_type.empty()) {
257  return sistrip::UNDEFINED_KEY;
258  } else {
259  return sistrip::UNKNOWN_KEY;
260  }
261 }
262 
263 // -----------------------------------------------------------------------------
264 //
266  // System
267  if (granularity == sistrip::TRACKER) {
268  return sistrip::tracker_;
269  } else if (granularity == sistrip::PARTITION) {
270  return sistrip::partition_;
271  } else if (granularity == sistrip::TIB) {
272  return sistrip::tib_;
273  } else if (granularity == sistrip::TOB) {
274  return sistrip::tob_;
275  } else if (granularity == sistrip::TEC) {
276  return sistrip::tec_;
277  }
278  // Sub-structure
279  else if (granularity == sistrip::LAYER) {
280  return sistrip::layer_;
281  } else if (granularity == sistrip::ROD) {
282  return sistrip::rod_;
283  } else if (granularity == sistrip::STRING) {
284  return sistrip::string_;
285  } else if (granularity == sistrip::DISK) {
286  return sistrip::disk_;
287  } else if (granularity == sistrip::PETAL) {
288  return sistrip::petal_;
289  } else if (granularity == sistrip::RING) {
290  return sistrip::ring_;
291  }
292  // Module and below
293  else if (granularity == sistrip::MODULE) {
294  return sistrip::module_;
295  } else if (granularity == sistrip::LLD_CHAN) {
296  return sistrip::lldChan_;
297  } else if (granularity == sistrip::APV) {
298  return sistrip::apv_;
299  }
300  // Readout
301  else if (granularity == sistrip::FED_SYSTEM) {
302  return sistrip::fedSystem_;
303  } else if (granularity == sistrip::FE_DRIVER) {
304  return sistrip::feDriver_;
305  } else if (granularity == sistrip::FE_UNIT) {
306  return sistrip::feUnit_;
307  } else if (granularity == sistrip::FE_CHAN) {
308  return sistrip::feChan_;
309  } else if (granularity == sistrip::FED_APV) {
310  return sistrip::fedApv_;
311  } else if (granularity == sistrip::FED_CHANNEL) {
312  return sistrip::fedChannel_;
313  }
314  // Control
315  else if (granularity == sistrip::FEC_SYSTEM) {
316  return sistrip::fecSystem_;
317  } else if (granularity == sistrip::FEC_CRATE) {
318  return sistrip::fecCrate_;
319  } else if (granularity == sistrip::FEC_SLOT) {
320  return sistrip::fecSlot_;
321  } else if (granularity == sistrip::FEC_RING) {
322  return sistrip::fecRing_;
323  } else if (granularity == sistrip::CCU_ADDR) {
324  return sistrip::ccuAddr_;
325  } else if (granularity == sistrip::CCU_CHAN) {
326  return sistrip::ccuChan_;
327  }
328  // Unknown
329  else if (granularity == sistrip::UNDEFINED_GRAN) {
331  } else {
333  }
334 }
335 
336 // -----------------------------------------------------------------------------
337 //
339  // System
340  if (granularity.find(sistrip::tracker_) != std::string::npos) {
341  return sistrip::TRACKER;
342  } else if (granularity.find(sistrip::partition_) != std::string::npos) {
343  return sistrip::PARTITION;
344  } else if (granularity.find(sistrip::tib_) != std::string::npos) {
345  return sistrip::TIB;
346  } else if (granularity.find(sistrip::tob_) != std::string::npos) {
347  return sistrip::TOB;
348  } else if (granularity.find(sistrip::tec_) != std::string::npos) {
349  return sistrip::TEC;
350  }
351  // Readout
352  else if (granularity.find(sistrip::fedSystem_) != std::string::npos) {
353  return sistrip::FED_SYSTEM;
354  } else if (granularity.find(sistrip::feDriver_) != std::string::npos) {
355  return sistrip::FE_DRIVER;
356  } else if (granularity.find(sistrip::feUnit_) != std::string::npos) {
357  return sistrip::FE_UNIT;
358  } else if (granularity.find(sistrip::feChan_) != std::string::npos) {
359  return sistrip::FE_CHAN;
360  } else if (granularity.find(sistrip::fedApv_) != std::string::npos) {
361  return sistrip::FED_APV;
362  } else if (granularity.find(sistrip::fedChannel_) != std::string::npos) {
363  return sistrip::FED_CHANNEL;
364  }
365  // Control
366  else if (granularity.find(sistrip::fecSystem_) != std::string::npos) {
367  return sistrip::FEC_SYSTEM;
368  } else if (granularity.find(sistrip::fecCrate_) != std::string::npos) {
369  return sistrip::FEC_CRATE;
370  } else if (granularity.find(sistrip::fecSlot_) != std::string::npos) {
371  return sistrip::FEC_SLOT;
372  } else if (granularity.find(sistrip::fecRing_) != std::string::npos) {
373  return sistrip::FEC_RING;
374  } else if (granularity.find(sistrip::ccuAddr_) != std::string::npos) {
375  return sistrip::CCU_ADDR;
376  } else if (granularity.find(sistrip::ccuChan_) != std::string::npos) {
377  return sistrip::CCU_CHAN;
378  }
379  // Sub-structure
380  else if (granularity.find(sistrip::layer_) != std::string::npos) {
381  return sistrip::LAYER;
382  } else if (granularity.find(sistrip::rod_) != std::string::npos) {
383  return sistrip::ROD;
384  } else if (granularity.find(sistrip::string_) != std::string::npos) {
385  return sistrip::STRING;
386  } else if (granularity.find(sistrip::disk_) != std::string::npos) {
387  return sistrip::DISK;
388  } else if (granularity.find(sistrip::petal_) != std::string::npos) {
389  return sistrip::PETAL;
390  } else if (granularity.find(sistrip::ring_) != std::string::npos) {
391  return sistrip::RING;
392  }
393  // Module and below
394  else if (granularity.find(sistrip::module_) != std::string::npos) {
395  return sistrip::MODULE;
396  } else if (granularity.find(sistrip::lldChan_) != std::string::npos) {
397  return sistrip::LLD_CHAN;
398  } else if (granularity.find(sistrip::apv_) != std::string::npos) {
399  return sistrip::APV;
400  } //@@ bug if before "FedApv"!
401  // Unknown
402  else if (granularity.find(sistrip::undefinedGranularity_) != std::string::npos) {
404  } else if (granularity.empty()) {
406  } else {
407  return sistrip::UNKNOWN_GRAN;
408  }
409 }
410 
411 // -----------------------------------------------------------------------------
412 //
414  if (mode == sistrip::APV_PEAK_MODE) {
415  return sistrip::apvPeakMode_;
416  } else if (mode == sistrip::APV_DECON_MODE) {
417  return sistrip::apvDeconMode_;
418  } else if (mode == sistrip::APV_MULTI_MODE) {
419  return sistrip::apvMultiMode_;
420  } else if (mode == sistrip::UNDEFINED_APV_READOUT_MODE) {
422  } else {
424  }
425 }
426 
427 // -----------------------------------------------------------------------------
428 //
430  if (mode.find(sistrip::apvPeakMode_) != std::string::npos) {
431  return sistrip::APV_PEAK_MODE;
432  } else if (mode.find(sistrip::apvDeconMode_) != std::string::npos) {
434  } else if (mode.find(sistrip::apvMultiMode_) != std::string::npos) {
436  } else if (mode.find(sistrip::undefinedApvReadoutMode_) != std::string::npos) {
438  } else if (mode.empty()) {
440  } else {
442  }
443 }
444 
445 // -----------------------------------------------------------------------------
446 //
448  if (mode == sistrip::FED_SCOPE_MODE) {
449  return sistrip::fedScopeMode_;
450  } else if (mode == sistrip::FED_VIRGIN_RAW) {
451  return sistrip::fedVirginRaw_;
452  } else if (mode == sistrip::FED_PROC_RAW) {
453  return sistrip::fedProcRaw_;
454  } else if (mode == sistrip::FED_ZERO_SUPPR) {
455  return sistrip::fedZeroSuppr_;
456  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE) {
458  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE_CMO) {
460  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_TT) {
462  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_TT_CMO) {
464  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_TB) {
466  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_TB_CMO) {
468  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_BB) {
470  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_BB_CMO) {
472  } else if (mode == sistrip::UNDEFINED_FED_READOUT_MODE) {
474  } else {
476  }
477 }
478 
479 // -----------------------------------------------------------------------------
480 //
482  if (mode.find(sistrip::fedScopeMode_) != std::string::npos) {
484  } else if (mode.find(sistrip::fedVirginRaw_) != std::string::npos) {
486  } else if (mode.find(sistrip::fedProcRaw_) != std::string::npos) {
487  return sistrip::FED_PROC_RAW;
488  } else if (mode.find(sistrip::fedZeroSuppr_) != std::string::npos) {
490  } else if (mode.find(sistrip::fedZeroSupprLite_) != std::string::npos) {
492  } else if (mode.find(sistrip::fedZeroSupprLiteCMO_) != std::string::npos) {
494  } else if (mode.find(sistrip::fedZeroSupprLite8TT_) != std::string::npos) {
496  } else if (mode.find(sistrip::fedZeroSupprLite8TTCMO_) != std::string::npos) {
498  } else if (mode.find(sistrip::fedZeroSupprLite8TB_) != std::string::npos) {
500  } else if (mode.find(sistrip::fedZeroSupprLite8TBCMO_) != std::string::npos) {
502  } else if (mode.find(sistrip::fedZeroSupprLite8BB_) != std::string::npos) {
504  } else if (mode.find(sistrip::fedZeroSupprLite8BBCMO_) != std::string::npos) {
506  } else if (mode.find(sistrip::undefinedFedReadoutMode_) != std::string::npos) {
508  } else if (mode.empty()) {
510  } else {
512  }
513 }
514 
515 // -----------------------------------------------------------------------------
516 //
518  if (type == sistrip::EXPERT_HISTO) {
519  return sistrip::expertHisto_;
520  } else if (type == sistrip::SUMMARY_HISTO) {
521  return sistrip::summaryHisto_;
522  } else if (type == sistrip::UNDEFINED_HISTO_TYPE) {
524  } else {
526  }
527 }
528 
529 // -----------------------------------------------------------------------------
530 //
532  if (type.find(sistrip::expertHisto_) != std::string::npos) {
533  return sistrip::EXPERT_HISTO;
534  } else if (type.find(sistrip::summaryHisto_) != std::string::npos) {
535  return sistrip::SUMMARY_HISTO;
536  } else if (type.find(sistrip::undefinedHistoType_) != std::string::npos) {
538  } else if (type.empty()) {
540  } else {
542  }
543 }
544 
545 // -----------------------------------------------------------------------------
546 //
548  // fed cabling
549  if (mon == sistrip::FED_CABLING_FED_ID) {
551  } else if (mon == sistrip::FED_CABLING_FED_CH) {
553  } else if (mon == sistrip::FED_CABLING_ADC_LEVEL) {
555  }
556 
557  // fast fed cabling
558  else if (mon == sistrip::FAST_CABLING_DCU_ID) {
560  } else if (mon == sistrip::FAST_CABLING_LLD_CH) {
562  } else if (mon == sistrip::FAST_CABLING_HIGH_LEVEL) {
564  } else if (mon == sistrip::FAST_CABLING_HIGH_RMS) {
566  } else if (mon == sistrip::FAST_CABLING_LOW_LEVEL) {
568  } else if (mon == sistrip::FAST_CABLING_LOW_RMS) {
570  } else if (mon == sistrip::FAST_CABLING_MAX) {
572  } else if (mon == sistrip::FAST_CABLING_MIN) {
574  } else if (mon == sistrip::FAST_CABLING_CONNS_PER_FED) {
576  }
577 
578  // apv timing
579  else if (mon == sistrip::APV_TIMING_TIME) {
581  } else if (mon == sistrip::APV_TIMING_MAX_TIME) {
582  return sistrip::apvTimingMax_;
583  } else if (mon == sistrip::APV_TIMING_DELAY) {
585  } else if (mon == sistrip::APV_TIMING_ERROR) {
587  } else if (mon == sistrip::APV_TIMING_BASE) {
589  } else if (mon == sistrip::APV_TIMING_PEAK) {
591  } else if (mon == sistrip::APV_TIMING_HEIGHT) {
593  }
594 
595  // fed timing
596  else if (mon == sistrip::FED_TIMING_TIME) {
598  } else if (mon == sistrip::FED_TIMING_MAX_TIME) {
599  return sistrip::fedTimingMax_;
600  } else if (mon == sistrip::FED_TIMING_DELAY) {
602  } else if (mon == sistrip::FED_TIMING_ERROR) {
604  } else if (mon == sistrip::FED_TIMING_BASE) {
606  } else if (mon == sistrip::FED_TIMING_PEAK) {
608  } else if (mon == sistrip::FED_TIMING_HEIGHT) {
610  }
611 
612  // opto scan
613  else if (mon == sistrip::OPTO_SCAN_LLD_GAIN_SETTING) {
615  } else if (mon == sistrip::OPTO_SCAN_LLD_BIAS_SETTING) {
617  } else if (mon == sistrip::OPTO_SCAN_MEASURED_GAIN) {
619  } else if (mon == sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL) {
621  } else if (mon == sistrip::OPTO_SCAN_LINK_NOISE) {
623  } else if (mon == sistrip::OPTO_SCAN_BASELINE_LIFT_OFF) {
625  } else if (mon == sistrip::OPTO_SCAN_LASER_THRESHOLD) {
627  } else if (mon == sistrip::OPTO_SCAN_TICK_HEIGHT) {
629  }
630 
631  // vpsp scan
632  else if (mon == sistrip::VPSP_SCAN_APV_SETTINGS) {
634  } else if (mon == sistrip::VPSP_SCAN_APV0_SETTING) {
635  return sistrip::vpspScanApv0_;
636  } else if (mon == sistrip::VPSP_SCAN_APV1_SETTING) {
637  return sistrip::vpspScanApv1_;
638  } else if (mon == sistrip::VPSP_SCAN_ADC_LEVEL) {
640  } else if (mon == sistrip::VPSP_SCAN_DIGITAL_HIGH) {
642  } else if (mon == sistrip::VPSP_SCAN_DIGITAL_LOW) {
644  }
645 
646  // pedestals / noise
647  else if (mon == sistrip::PEDESTALS_ALL_STRIPS) {
649  } else if (mon == sistrip::PEDESTALS_MEAN) {
651  } else if (mon == sistrip::PEDESTALS_SPREAD) {
653  } else if (mon == sistrip::PEDESTALS_MAX) {
654  return sistrip::pedestalsMax_;
655  } else if (mon == sistrip::PEDESTALS_MIN) {
656  return sistrip::pedestalsMin_;
657  } else if (mon == sistrip::NOISE_ALL_STRIPS) {
659  } else if (mon == sistrip::NOISE_MEAN) {
660  return sistrip::noiseMean_;
661  } else if (mon == sistrip::NOISE_SPREAD) {
662  return sistrip::noiseSpread_;
663  } else if (mon == sistrip::NOISE_MAX) {
664  return sistrip::noiseMax_;
665  } else if (mon == sistrip::NOISE_MIN) {
666  return sistrip::noiseMin_;
667  } else if (mon == sistrip::NUM_OF_DEAD) {
669  } else if (mon == sistrip::NUM_OF_NOISY) {
670  return sistrip::numOfNoisy_;
671  } else if (mon == sistrip::NUM_OF_BAD) {
673  } else if (mon == sistrip::NUM_OF_BAD_SHIFTED) {
675  } else if (mon == sistrip::NUM_OF_BAD_LOW_NOISE) {
677  } else if (mon == sistrip::NUM_OF_BAD_LARGE_NOISE) {
679  } else if (mon == sistrip::NUM_OF_BAD_LARGE_SIGNIF) {
681  } else if (mon == sistrip::NUM_OF_BAD_FIT_STATUS) {
683  } else if (mon == sistrip::NUM_OF_BAD_AD_PROBAB) {
685  } else if (mon == sistrip::NUM_OF_BAD_KS_PROBAB) {
687  } else if (mon == sistrip::NUM_OF_BAD_JB_PROBAB) {
689  } else if (mon == sistrip::NUM_OF_BAD_CHI2_PROBAB) {
691  } else if (mon == sistrip::NUM_OF_BAD_TAIL) {
693  } else if (mon == sistrip::NUM_OF_BAD_DOUBLE_PEAK) {
695  }
696 
697  else if (mon == sistrip::BAD_STRIP_BIT_ALL_STRIPS) {
698  return sistrip::badStripBit_;
699  } else if (mon == sistrip::DEAD_STRIP_BIT_ALL_STRIPS) {
700  return sistrip::deadStripBit_;
701  } else if (mon == sistrip::AD_PROBAB_ALL_STRIPS) {
703  } else if (mon == sistrip::KS_PROBAB_ALL_STRIPS) {
705  } else if (mon == sistrip::JB_PROBAB_ALL_STRIPS) {
707  } else if (mon == sistrip::CHI2_PROBAB_ALL_STRIPS) {
709  } else if (mon == sistrip::RESIDUAL_RMS_ALL_STRIPS) {
711  } else if (mon == sistrip::RESIDUAL_GAUS_ALL_STRIPS) {
713  } else if (mon == sistrip::NOISE_SIGNIFICANCE_ALL_STRIPS) {
715  } else if (mon == sistrip::RESIDUAL_MEAN_ALL_STRIPS) {
717  } else if (mon == sistrip::RESIDUAL_SKEWNESS_ALL_STRIPS) {
719  } else if (mon == sistrip::RESIDUAL_KURTOSIS_ALL_STRIPS) {
723  } else if (mon == sistrip::RESIDUAL_INTEGRAL_ALL_STRIPS) {
725  }
726 
727  // fine delay
728  else if (mon == sistrip::FINE_DELAY_POS) {
729  return sistrip::fineDelayPos_;
730  } else if (mon == sistrip::FINE_DELAY_ERROR) {
731  return sistrip::fineDelayErr_;
732  }
733 
734  else if (mon == sistrip::CALIBRATION_AMPLITUDE_MEAN) {
736  } else if (mon == sistrip::CALIBRATION_TAIL_MEAN) {
738  } else if (mon == sistrip::CALIBRATION_RISETIME_MEAN) {
740  } else if (mon == sistrip::CALIBRATION_DECAYTIME_MEAN) {
742  } else if (mon == sistrip::CALIBRATION_PEAKTIME_MEAN) {
744  } else if (mon == sistrip::CALIBRATION_TURNON_MEAN) {
746  } else if (mon == sistrip::CALIBRATION_BASELINE_MEAN) {
748  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_MEAN) {
750  } else if (mon == sistrip::CALIBRATION_SMEARING_MEAN) {
752  } else if (mon == sistrip::CALIBRATION_CHI2_MEAN) {
754  }
755 
756  else if (mon == sistrip::CALIBRATION_AMPLITUDE_MIN) {
758  } else if (mon == sistrip::CALIBRATION_TAIL_MIN) {
760  } else if (mon == sistrip::CALIBRATION_RISETIME_MIN) {
762  } else if (mon == sistrip::CALIBRATION_DECAYTIME_MIN) {
764  } else if (mon == sistrip::CALIBRATION_PEAKTIME_MIN) {
766  } else if (mon == sistrip::CALIBRATION_TURNON_MIN) {
768  } else if (mon == sistrip::CALIBRATION_BASELINE_MIN) {
770  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_MIN) {
772  } else if (mon == sistrip::CALIBRATION_SMEARING_MIN) {
774  } else if (mon == sistrip::CALIBRATION_CHI2_MIN) {
776  }
777 
778  else if (mon == sistrip::CALIBRATION_AMPLITUDE_MAX) {
780  } else if (mon == sistrip::CALIBRATION_TAIL_MAX) {
782  } else if (mon == sistrip::CALIBRATION_RISETIME_MAX) {
784  } else if (mon == sistrip::CALIBRATION_DECAYTIME_MAX) {
786  } else if (mon == sistrip::CALIBRATION_PEAKTIME_MAX) {
788  } else if (mon == sistrip::CALIBRATION_TURNON_MAX) {
790  } else if (mon == sistrip::CALIBRATION_BASELINE_MAX) {
792  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_MAX) {
794  } else if (mon == sistrip::CALIBRATION_SMEARING_MAX) {
796  } else if (mon == sistrip::CALIBRATION_CHI2_MAX) {
798  }
799 
800  else if (mon == sistrip::CALIBRATION_AMPLITUDE_SPREAD) {
802  } else if (mon == sistrip::CALIBRATION_TAIL_SPREAD) {
804  } else if (mon == sistrip::CALIBRATION_RISETIME_SPREAD) {
806  } else if (mon == sistrip::CALIBRATION_DECAYTIME_SPREAD) {
808  } else if (mon == sistrip::CALIBRATION_PEAKTIME_SPREAD) {
810  } else if (mon == sistrip::CALIBRATION_TURNON_SPREAD) {
812  } else if (mon == sistrip::CALIBRATION_BASELINE_SPREAD) {
814  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_SPREAD) {
816  } else if (mon == sistrip::CALIBRATION_SMEARING_SPREAD) {
818  } else if (mon == sistrip::CALIBRATION_CHI2_SPREAD) {
820  }
821 
824  } else if (mon == sistrip::CALIBRATION_TAIL_ALL_STRIPS) {
826  } else if (mon == sistrip::CALIBRATION_RISETIME_ALL_STRIPS) {
828  } else if (mon == sistrip::CALIBRATION_DECAYTIME_ALL_STRIPS) {
830  } else if (mon == sistrip::CALIBRATION_PEAKTIME_ALL_STRIPS) {
832  } else if (mon == sistrip::CALIBRATION_TURNON_ALL_STRIPS) {
834  } else if (mon == sistrip::CALIBRATION_BASELINE_ALL_STRIPS) {
836  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_ALL_STRIPS) {
838  } else if (mon == sistrip::CALIBRATION_SMEARING_ALL_STRIPS) {
840  } else if (mon == sistrip::CALIBRATION_CHI2_ALL_STRIPS) {
842  }
843 
844  else if (mon == sistrip::CALIBRATION_AMPLITUDE_TUNED) {
846  } else if (mon == sistrip::CALIBRATION_TAIL_TUNED) {
848  } else if (mon == sistrip::CALIBRATION_RISETIME_TUNED) {
850  } else if (mon == sistrip::CALIBRATION_DECAYTIME_TUNED) {
852  } else if (mon == sistrip::CALIBRATION_PEAKTIME_TUNED) {
854  } else if (mon == sistrip::CALIBRATION_TURNON_TUNED) {
856  } else if (mon == sistrip::CALIBRATION_BASELINE_TUNED) {
858  } else if (mon == sistrip::CALIBRATION_UNDERSHOOT_TUNED) {
860  } else if (mon == sistrip::CALIBRATION_SMEARING_TUNED) {
862  } else if (mon == sistrip::CALIBRATION_CHI2_TUNED) {
864  } else if (mon == sistrip::CALIBRATION_ISHA_TUNED) {
866  } else if (mon == sistrip::CALIBRATION_VFS_TUNED) {
868  } else if (mon == sistrip::CALIBRATION_ISHA_BEST) {
870  } else if (mon == sistrip::CALIBRATION_VFS_BEST) {
872  }
873 
874  // scope mode
875  else if (mon == sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL) {
877  }
878 
879  // unknown
880  else if (mon == sistrip::UNDEFINED_MONITORABLE) {
882  } else {
884  }
885 }
886 
887 // -----------------------------------------------------------------------------
888 //
890  // fed cabling
891  if (mon.find(sistrip::fedCablingFedId_) != std::string::npos) {
893  } else if (mon.find(sistrip::fedCablingFedCh_) != std::string::npos) {
895  } else if (mon.find(sistrip::fedCablingAdcLevel_) != std::string::npos) {
897  }
898 
899  // fed cabling
900  else if (mon.find(sistrip::fastCablingDcuId_) != std::string::npos) {
902  } else if (mon.find(sistrip::fastCablingLldCh_) != std::string::npos) {
904  } else if (mon.find(sistrip::fastCablingHighLevel_) != std::string::npos) {
906  } else if (mon.find(sistrip::fastCablingHighRms_) != std::string::npos) {
908  } else if (mon.find(sistrip::fastCablingLowLevel_) != std::string::npos) {
910  } else if (mon.find(sistrip::fastCablingLowRms_) != std::string::npos) {
912  } else if (mon.find(sistrip::fastCablingMax_) != std::string::npos) {
914  } else if (mon.find(sistrip::fastCablingMin_) != std::string::npos) {
916  } else if (mon.find(sistrip::fastCablingConnsPerFed_) != std::string::npos) {
918  }
919 
920  // apv timing
921  else if (mon.find(sistrip::apvTimingTime_) != std::string::npos) {
923  } else if (mon.find(sistrip::apvTimingMax_) != std::string::npos) {
925  } else if (mon.find(sistrip::apvTimingDelay_) != std::string::npos) {
927  } else if (mon.find(sistrip::apvTimingError_) != std::string::npos) {
929  } else if (mon.find(sistrip::apvTimingBase_) != std::string::npos) {
931  } else if (mon.find(sistrip::apvTimingPeak_) != std::string::npos) {
933  } else if (mon.find(sistrip::apvTimingHeight_) != std::string::npos) {
935  }
936 
937  // fed timing
938  else if (mon.find(sistrip::fedTimingTime_) != std::string::npos) {
940  } else if (mon.find(sistrip::fedTimingMax_) != std::string::npos) {
942  } else if (mon.find(sistrip::fedTimingDelay_) != std::string::npos) {
944  } else if (mon.find(sistrip::fedTimingError_) != std::string::npos) {
946  } else if (mon.find(sistrip::fedTimingBase_) != std::string::npos) {
948  } else if (mon.find(sistrip::fedTimingPeak_) != std::string::npos) {
950  } else if (mon.find(sistrip::fedTimingHeight_) != std::string::npos) {
952  }
953 
954  // opto scan
955  else if (mon.find(sistrip::optoScanLldGain_) != std::string::npos) {
957  } else if (mon.find(sistrip::optoScanLldBias_) != std::string::npos) {
959  } else if (mon.find(sistrip::optoScanMeasGain_) != std::string::npos) {
961  } else if (mon.find(sistrip::optoScanZeroLight_) != std::string::npos) {
963  } else if (mon.find(sistrip::optoScanLinkNoise_) != std::string::npos) {
965  } else if (mon.find(sistrip::optoScanBaseLiftOff_) != std::string::npos) {
967  } else if (mon.find(sistrip::optoScanLaserThresh_) != std::string::npos) {
969  } else if (mon.find(sistrip::optoScanTickHeight_) != std::string::npos) {
971  }
972 
973  // vpsp scan
974  else if (mon.find(sistrip::vpspScanBothApvs_) != std::string::npos) {
976  } else if (mon.find(sistrip::vpspScanApv0_) != std::string::npos) {
978  } else if (mon.find(sistrip::vpspScanApv1_) != std::string::npos) {
980  } else if (mon.find(sistrip::vpspScanAdcLevel_) != std::string::npos) {
982  } else if (mon.find(sistrip::vpspScanDigitalHigh_) != std::string::npos) {
984  } else if (mon.find(sistrip::vpspScanDigitalLow_) != std::string::npos) {
986  }
987 
988  // pedestals / noise
989  else if (mon.find(sistrip::pedestalsAllStrips_) != std::string::npos) {
991  } else if (mon.find(sistrip::pedestalsMean_) != std::string::npos) {
993  } else if (mon.find(sistrip::pedestalsSpread_) != std::string::npos) {
995  } else if (mon.find(sistrip::pedestalsMax_) != std::string::npos) {
996  return sistrip::PEDESTALS_MAX;
997  } else if (mon.find(sistrip::pedestalsMin_) != std::string::npos) {
998  return sistrip::PEDESTALS_MIN;
999  }
1000 
1001  // noiseKS must come before the more general noiseAllStrips, since it contains that string
1002  else if (mon.find(sistrip::noiseAllStrips_) != std::string::npos) {
1004  } else if (mon.find(sistrip::noiseMean_) != std::string::npos) {
1005  return sistrip::NOISE_MEAN;
1006  } else if (mon.find(sistrip::noiseSpread_) != std::string::npos) {
1007  return sistrip::NOISE_SPREAD;
1008  } else if (mon.find(sistrip::noiseMax_) != std::string::npos) {
1009  return sistrip::NOISE_MAX;
1010  } else if (mon.find(sistrip::noiseMin_) != std::string::npos) {
1011  return sistrip::NOISE_MIN;
1012  } else if (mon.find(sistrip::numOfDeadStrips_) != std::string::npos) {
1013  return sistrip::NUM_OF_DEAD;
1014  } else if (mon.find(sistrip::numOfNoisy_) != std::string::npos) {
1015  return sistrip::NUM_OF_NOISY;
1016  } else if (mon.find(sistrip::numOfBadStrips_) != std::string::npos) {
1017  return sistrip::NUM_OF_BAD;
1018  } else if (mon.find(sistrip::numOfBadShiftedStrips_) != std::string::npos) {
1020  } else if (mon.find(sistrip::numOfBadLowNoiseStrips_) != std::string::npos) {
1022  } else if (mon.find(sistrip::numOfBadLargeNoiseStrips_) != std::string::npos) {
1024  } else if (mon.find(sistrip::numOfBadLargeNoiseSignificanceStrips_) != std::string::npos) {
1026  } else if (mon.find(sistrip::numOfBadFitStatusStrips_) != std::string::npos) {
1028  } else if (mon.find(sistrip::numOfBadADProbabStrips_) != std::string::npos) {
1030  } else if (mon.find(sistrip::numOfBadKSProbabStrips_) != std::string::npos) {
1032  } else if (mon.find(sistrip::numOfBadJBProbabStrips_) != std::string::npos) {
1034  } else if (mon.find(sistrip::numOfBadChi2ProbabStrips_) != std::string::npos) {
1036  } else if (mon.find(sistrip::numOfBadTailStrips_) != std::string::npos) {
1037  return sistrip::NUM_OF_BAD_TAIL;
1038  } else if (mon.find(sistrip::numOfBadDoublePeakStrips_) != std::string::npos) {
1040  }
1041 
1042  else if (mon.find(sistrip::badStripBit_) != std::string::npos) {
1044  } else if (mon.find(sistrip::deadStripBit_) != std::string::npos) {
1046  } else if (mon.find(sistrip::adProbabAllStrips_) != std::string::npos) {
1048  } else if (mon.find(sistrip::ksProbabAllStrips_) != std::string::npos) {
1050  } else if (mon.find(sistrip::jbProbabAllStrips_) != std::string::npos) {
1052  } else if (mon.find(sistrip::chi2ProbabAllStrips_) != std::string::npos) {
1054  } else if (mon.find(sistrip::residualRMSAllStrips_) != std::string::npos) {
1056  } else if (mon.find(sistrip::residualSigmaGausAllStrips_) != std::string::npos) {
1058  } else if (mon.find(sistrip::noiseSignificanceAllStrips_) != std::string::npos) {
1060  } else if (mon.find(sistrip::residualMeanAllStrips_) != std::string::npos) {
1062  } else if (mon.find(sistrip::residualSkewnessAllStrips_) != std::string::npos) {
1064  } else if (mon.find(sistrip::residualKurtosisAllStrips_) != std::string::npos) {
1066  } else if (mon.find(sistrip::residualIntegralNsigmaAllStrips_) != std::string::npos) {
1068  } else if (mon.find(sistrip::residualIntegralAllStrips_) != std::string::npos) {
1070  }
1071 
1072  // fine delay
1073  else if (mon.find(sistrip::fineDelayPos_) != std::string::npos) {
1074  return sistrip::FINE_DELAY_POS;
1075  } else if (mon.find(sistrip::fineDelayErr_) != std::string::npos) {
1077  }
1078 
1079  // calibration
1080  else if (mon.find(sistrip::calibrationAmplitudeMean_) != std::string::npos) {
1082  } else if (mon.find(sistrip::calibrationTailMean_) != std::string::npos) {
1084  } else if (mon.find(sistrip::calibrationRiseTimeMean_) != std::string::npos) {
1086  } else if (mon.find(sistrip::calibrationDecayTimeMean_) != std::string::npos) {
1088  } else if (mon.find(sistrip::calibrationPeakTimeMean_) != std::string::npos) {
1090  } else if (mon.find(sistrip::calibrationTurnOnMean_) != std::string::npos) {
1092  } else if (mon.find(sistrip::calibrationBaselineMean_) != std::string::npos) {
1094  } else if (mon.find(sistrip::calibrationUndershootMean_) != std::string::npos) {
1096  } else if (mon.find(sistrip::calibrationSmearingMean_) != std::string::npos) {
1098  } else if (mon.find(sistrip::calibrationChi2Mean_) != std::string::npos) {
1100  }
1101 
1102  else if (mon.find(sistrip::calibrationAmplitudeMax_) != std::string::npos) {
1104  } else if (mon.find(sistrip::calibrationTailMax_) != std::string::npos) {
1106  } else if (mon.find(sistrip::calibrationRiseTimeMax_) != std::string::npos) {
1108  } else if (mon.find(sistrip::calibrationDecayTimeMax_) != std::string::npos) {
1110  } else if (mon.find(sistrip::calibrationPeakTimeMax_) != std::string::npos) {
1112  } else if (mon.find(sistrip::calibrationTurnOnMax_) != std::string::npos) {
1114  } else if (mon.find(sistrip::calibrationBaselineMax_) != std::string::npos) {
1116  } else if (mon.find(sistrip::calibrationUndershootMax_) != std::string::npos) {
1118  } else if (mon.find(sistrip::calibrationSmearingMax_) != std::string::npos) {
1120  } else if (mon.find(sistrip::calibrationChi2Max_) != std::string::npos) {
1122  }
1123 
1124  else if (mon.find(sistrip::calibrationAmplitudeMin_) != std::string::npos) {
1126  } else if (mon.find(sistrip::calibrationTailMin_) != std::string::npos) {
1128  } else if (mon.find(sistrip::calibrationRiseTimeMin_) != std::string::npos) {
1130  } else if (mon.find(sistrip::calibrationDecayTimeMin_) != std::string::npos) {
1132  } else if (mon.find(sistrip::calibrationPeakTimeMin_) != std::string::npos) {
1134  } else if (mon.find(sistrip::calibrationTurnOnMin_) != std::string::npos) {
1136  } else if (mon.find(sistrip::calibrationBaselineMin_) != std::string::npos) {
1138  } else if (mon.find(sistrip::calibrationUndershootMin_) != std::string::npos) {
1140  } else if (mon.find(sistrip::calibrationSmearingMin_) != std::string::npos) {
1142  } else if (mon.find(sistrip::calibrationChi2Min_) != std::string::npos) {
1144  }
1145 
1146  else if (mon.find(sistrip::calibrationAmplitudeSpread_) != std::string::npos) {
1148  } else if (mon.find(sistrip::calibrationTailSpread_) != std::string::npos) {
1150  } else if (mon.find(sistrip::calibrationRiseTimeSpread_) != std::string::npos) {
1152  } else if (mon.find(sistrip::calibrationDecayTimeSpread_) != std::string::npos) {
1154  } else if (mon.find(sistrip::calibrationPeakTimeSpread_) != std::string::npos) {
1156  } else if (mon.find(sistrip::calibrationTurnOnSpread_) != std::string::npos) {
1158  } else if (mon.find(sistrip::calibrationBaselineSpread_) != std::string::npos) {
1160  } else if (mon.find(sistrip::calibrationUndershootSpread_) != std::string::npos) {
1162  } else if (mon.find(sistrip::calibrationSmearingSpread_) != std::string::npos) {
1164  } else if (mon.find(sistrip::calibrationChi2Spread_) != std::string::npos) {
1166  }
1167 
1168  else if (mon.find(sistrip::calibrationAmplitudeTuned_) != std::string::npos) {
1170  } else if (mon.find(sistrip::calibrationTailTuned_) != std::string::npos) {
1172  } else if (mon.find(sistrip::calibrationRiseTimeTuned_) != std::string::npos) {
1174  } else if (mon.find(sistrip::calibrationDecayTimeTuned_) != std::string::npos) {
1176  } else if (mon.find(sistrip::calibrationPeakTimeTuned_) != std::string::npos) {
1178  } else if (mon.find(sistrip::calibrationTurnOnTuned_) != std::string::npos) {
1180  } else if (mon.find(sistrip::calibrationBaselineTuned_) != std::string::npos) {
1182  } else if (mon.find(sistrip::calibrationUndershootTuned_) != std::string::npos) {
1184  } else if (mon.find(sistrip::calibrationSmearingTuned_) != std::string::npos) {
1186  } else if (mon.find(sistrip::calibrationChi2Tuned_) != std::string::npos) {
1188  } else if (mon.find(sistrip::calibrationISHATuned_) != std::string::npos) {
1190  } else if (mon.find(sistrip::calibrationVFSTuned_) != std::string::npos) {
1192  } else if (mon.find(sistrip::calibrationISHABest_) != std::string::npos) {
1194  } else if (mon.find(sistrip::calibrationVFSBest_) != std::string::npos) {
1196  }
1197 
1198  else if (mon.find(sistrip::calibrationAmplitude_) != std::string::npos) {
1200  } else if (mon.find(sistrip::calibrationTail_) != std::string::npos) {
1202  } else if (mon.find(sistrip::calibrationRiseTime_) != std::string::npos) {
1204  } else if (mon.find(sistrip::calibrationDecayTime_) != std::string::npos) {
1206  } else if (mon.find(sistrip::calibrationPeakTime_) != std::string::npos) {
1208  } else if (mon.find(sistrip::calibrationTurnOn_) != std::string::npos) {
1210  } else if (mon.find(sistrip::calibrationBaseline_) != std::string::npos) {
1212  } else if (mon.find(sistrip::calibrationUndershoot_) != std::string::npos) {
1214  } else if (mon.find(sistrip::calibrationSmearing_) != std::string::npos) {
1216  } else if (mon.find(sistrip::calibrationChi2_) != std::string::npos) {
1218  }
1219 
1220  // scope mode
1221  else if (mon.find(sistrip::daqScopeModeMeanSignal_) != std::string::npos) {
1223  }
1224 
1225  // unknown
1226  else if (mon.find(sistrip::undefinedMonitorable_) != std::string::npos) {
1228  } else if (mon.empty()) {
1230  } else {
1232  }
1233 }
1234 
1235 // -----------------------------------------------------------------------------
1236 //
1238  if (type == sistrip::HISTO_1D) {
1239  return sistrip::histo1d_;
1240  } else if (type == sistrip::HISTO_2D_SUM) {
1241  return sistrip::histo2dSum_;
1242  } else if (type == sistrip::HISTO_2D_SCATTER) {
1243  return sistrip::histo2dScatter_;
1244  } else if (type == sistrip::PROFILE_1D) {
1245  return sistrip::profile1D_;
1246  } else if (type == sistrip::UNDEFINED_PRESENTATION) {
1248  } else {
1250  }
1251 }
1252 
1253 // -----------------------------------------------------------------------------
1254 //
1256  if (type.find(sistrip::histo1d_) != std::string::npos) {
1257  return sistrip::HISTO_1D;
1258  } else if (type.find(sistrip::histo2dSum_) != std::string::npos) {
1259  return sistrip::HISTO_2D_SUM;
1260  } else if (type.find(sistrip::histo2dScatter_) != std::string::npos) {
1262  } else if (type.find(sistrip::profile1D_) != std::string::npos) {
1263  return sistrip::PROFILE_1D;
1264  } else if (type.find(sistrip::undefinedPresentation_) != std::string::npos) {
1266  } else if (type.empty()) {
1268  } else {
1270  }
1271 }
1272 
1273 // -----------------------------------------------------------------------------
1274 //
1276  if (source == sistrip::CABLING_FROM_CONNS) {
1278  } else if (source == sistrip::CABLING_FROM_DEVICES) {
1280  } else if (source == sistrip::CABLING_FROM_DETIDS) {
1282  } else if (source == sistrip::UNDEFINED_CABLING_SOURCE) {
1284  } else {
1286  }
1287 }
1288 
1289 // -----------------------------------------------------------------------------
1290 //
1292  if (source.find(sistrip::cablingFromConns_) != std::string::npos) {
1294  } else if (source.find(sistrip::cablingFromDevices_) != std::string::npos) {
1296  } else if (source.find(sistrip::cablingFromDetIds_) != std::string::npos) {
1298  } else if (source.find(sistrip::undefinedCablingSource_) != std::string::npos) {
1300  } else if (source.empty()) {
1302  } else if (source == "CONNECTIONS") {
1304  } else if (source == "DEVICES") {
1306  } else if (source == "DETIDS") {
1308  } else if (source == "UNDEFINED") {
1310  } else {
1312  }
1313 }
static const char unknownView_[]
static const char module_[]
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char feDriver_[]
static std::string monitorable(const sistrip::Monitorable &)
static const char fastCablingRun_[]
static const char optoScanLldGain_[]
static const char calibrationTurnOnMean_[]
static const char layer_[]
static const char tec_[]
static const char undefinedKey_[]
static const char vpspScanRun_[]
static const char apvDeconMode_[]
static const char tracker_[]
static const char residualKurtosisAllStrips_[]
static const char summaryHisto_[]
static const char calibrationTailTuned_[]
static const char calibrationRiseTimeMax_[]
static const char numOfBadFitStatusStrips_[]
static const char fedTimingError_[]
static const char calibScanPeakRun_[]
static const char tob_[]
static const char unknownCablingSource_[]
static const char noiseMean_[]
static const char residualIntegralNsigmaAllStrips_[]
static const char calibrationVFSBest_[]
static const char unknownKey_[]
static const char fastCablingMin_[]
static const char calibScanDeconRun_[]
static const char calibrationDecayTime_[]
static const char unknownHistoType_[]
static const char fedCablingAdcLevel_[]
static const char calibrationAmplitudeMax_[]
static const char unknownPresentation_[]
static const char residualSkewnessAllStrips_[]
static const char apvTimingHeight_[]
static const char histo2dScatter_[]
static const char profile1D_[]
static const char physicsRun_[]
static const char apvTimingMax_[]
static const char numOfBadJBProbabStrips_[]
static const char numOfBadLargeNoiseStrips_[]
static const char optoScanTickHeight_[]
static const char fedKey_[]
static const char calibrationUndershootMin_[]
static const char calibrationSmearingSpread_[]
static std::string granularity(const sistrip::Granularity &)
static const char fineDelayPos_[]
static const char calibrationBaselineMax_[]
static const char chi2ProbabAllStrips_[]
static const char noiseMax_[]
static const char numOfBadChi2ProbabStrips_[]
static const char rod_[]
static const char calibrationChi2Mean_[]
static const char noiseMin_[]
static const char fedZeroSupprLite8BB_[]
static const char fedZeroSupprLite_[]
static const char calibrationTurnOnMax_[]
static const char calibrationUndershootMean_[]
static const char optoScanMeasGain_[]
static const char calibrationTurnOn_[]
static const char fineDelayRun_[]
static const char calibrationRiseTimeTuned_[]
static const char pedestalsMean_[]
static const char detectorView_[]
static const char calibrationBaselineMin_[]
static const char fedTimingHeight_[]
static const char calibrationDecayTimeMin_[]
static const char string_[]
static const char histo2dSum_[]
static const char numOfBadLargeNoiseSignificanceStrips_[]
static const char fecSlot_[]
static const char calibrationDecayTimeMax_[]
static const char undefinedView_[]
static const char ccuChan_[]
static const char ccuAddr_[]
static const char apvTimingRun_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static std::string view(const sistrip::View &)
static std::string runType(const sistrip::RunType &)
static const char optoScanLldBias_[]
static const char pedsOnlyRun_[]
static const char lldChan_[]
static const char undefinedGranularity_[]
static const char calibrationAmplitudeMin_[]
static std::string apvReadoutMode(const sistrip::ApvReadoutMode &)
static const char apvTimingDelay_[]
static const char calibrationAmplitudeSpread_[]
static const char pedestalsRun_[]
static const char calibrationSmearing_[]
static const char undefinedCablingSource_[]
static const char noiseRun_[]
static const char partition_[]
static const char numOfBadTailStrips_[]
static const char numOfNoisy_[]
static const char calibrationTailMin_[]
static const char vpspScanDigitalHigh_[]
static const char fedApv_[]
static const char pedsFullNoiseRun_[]
static const char expertHisto_[]
static const char calibrationISHABest_[]
static const char undefinedMonitorable_[]
static const char undefinedPresentation_[]
static const char controlView_[]
static const char fastCablingLowRms_[]
static const char calibrationRiseTimeMean_[]
static const char optoScanBaseLiftOff_[]
static const char fedProcRaw_[]
static const char calibrationTailMax_[]
static const char fastCablingLldCh_[]
static const char optoScanZeroLight_[]
static const char vpspScanDigitalLow_[]
static const char unknownGranularity_[]
static const char ring_[]
static std::string histoType(const sistrip::HistoType &)
static const char undefinedRunType_[]
static const char calibrationBaselineMean_[]
static const char calibrationBaselineSpread_[]
static const char fedVirginRaw_[]
static const char fecCrate_[]
static const char cablingFromDevices_[]
static const char calibPeakRun_[]
static const char calibrationBaselineTuned_[]
static const char unknownMonitorable_[]
static const char fedChannel_[]
static const char fedTimingRun_[]
static const char noiseSpread_[]
static const char calibrationSmearingMean_[]
static const char calibrationUndershootSpread_[]
static const char adProbabAllStrips_[]
static const char fecKey_[]
static const char calibrationPeakTimeMin_[]
static const char unknownFedReadoutMode_[]
static const char calibrationBaseline_[]
static const char residualMeanAllStrips_[]
static const char unknownRunType_[]
static const char numOfBadShiftedStrips_[]
static const char fastCablingMax_[]
static const char fedScopeMode_[]
static const char pedestalsMin_[]
static const char fedZeroSupprLite8TB_[]
static const char jbProbabAllStrips_[]
static const char calibrationTailMean_[]
static const char calibrationUndershootMax_[]
static const char calibrationISHATuned_[]
static const char apv_[]
static const char fineDelayErr_[]
static const char optoScanRun_[]
static const char residualSigmaGausAllStrips_[]
static const char residualIntegralAllStrips_[]
static const char calibrationTurnOnSpread_[]
static const char undefinedFedReadoutMode_[]
static const char fastCablingLowLevel_[]
static const char fedCablingRun_[]
static const char calibrationTailSpread_[]
static const char calibrationPeakTime_[]
static const char calibrationRiseTime_[]
static const char calibrationChi2Tuned_[]
static const char apvTimingError_[]
static const char fedTimingPeak_[]
static const char fastCablingConnsPerFed_[]
static const char calibrationRiseTimeMin_[]
static const char calibrationUndershootTuned_[]
static const char tib_[]
static const char calibrationPeakTimeTuned_[]
static const char calibrationDecayTimeMean_[]
static const char calibDeconRun_[]
static const char feChan_[]
static const char daqScopeModeRun_[]
static const char calibrationVFSTuned_[]
static const char fedTimingMax_[]
static const char calibrationAmplitudeTuned_[]
static const char fedZeroSupprLiteCMO_[]
static const char fedSystem_[]
static std::string presentation(const sistrip::Presentation &)
static const char deadStripBit_[]
static const char apvPeakMode_[]
static const char calibrationChi2Spread_[]
static const char calibrationTurnOnMin_[]
static const char fecRing_[]
static const char calibrationRiseTimeSpread_[]
static const char calibrationChi2_[]
static std::string keyType(const sistrip::KeyType &)
static const uint16_t invalid_
Definition: Constants.h:16
static const char calibrationSmearingMin_[]
static const char apvTimingBase_[]
static const char fedTimingBase_[]
static const char noiseSignificanceAllStrips_[]
static const char residualRMSAllStrips_[]
static const char optoScanLaserThresh_[]
static const char ksProbabAllStrips_[]
static const char numOfBadADProbabStrips_[]
static const char vpspScanAdcLevel_[]
static const char fedZeroSupprLite8BBCMO_[]
static const char cablingFromConns_[]
static const char cablingFromDetIds_[]
static const char detKey_[]
static const char calibrationPeakTimeSpread_[]
static const char apvTimingTime_[]
static const char fedTimingDelay_[]
static const char undefinedApvReadoutMode_[]
static const char histo1d_[]
static std::string cablingSource(const sistrip::CablingSource &)
static const char numOfBadDoublePeakStrips_[]
static const char calibrationPeakTimeMean_[]
static const char daqScopeModeMeanSignal_[]
static const char calibrationSmearingMax_[]
static const char calibrationTail_[]
static const char calibrationSmearingTuned_[]
static const char fedZeroSupprLite8TTCMO_[]
static const char noiseAllStrips_[]
static const char fedTimingTime_[]
static const char feUnit_[]
static const char calibrationChi2Min_[]
static const char calibrationChi2Max_[]
static const char badStripBit_[]
static const char numOfBadLowNoiseStrips_[]
static const char pedestalsMax_[]
static const char fastCablingHighLevel_[]
static const char fecSystem_[]
static const char vpspScanApv1_[]
static const char calibrationTurnOnTuned_[]
static const char calibrationDecayTimeSpread_[]
static const char apvTimingPeak_[]
static const char calibrationAmplitudeMean_[]
static const char calibrationUndershoot_[]
static const char vpspScanApv0_[]
static const char numOfBadKSProbabStrips_[]
static const char numOfDeadStrips_[]
static const char readoutView_[]
static std::string const source
Definition: EdmProvDump.cc:46
static const char fedZeroSupprLite8TT_[]
static const char disk_[]
static const char apvLatencyRun_[]
static const char pedestalsSpread_[]
static const char fedZeroSupprLite8TBCMO_[]
static const char undefinedHistoType_[]
static const char vpspScanBothApvs_[]
static const char unknownApvReadoutMode_[]
static const char calibrationPeakTimeMax_[]
static const char fedZeroSuppr_[]
static const char apvMultiMode_[]
static const char fastCablingHighRms_[]
static const char numOfBadStrips_[]
static std::string fedReadoutMode(const sistrip::FedReadoutMode &)
static const char calibrationDecayTimeTuned_[]
static const char petal_[]
static const char pedestalsAllStrips_[]