CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
SiStripEnumsAndStrings Class Reference

#include <SiStripEnumsAndStrings.h>

Static Public Member Functions

static std::string apvReadoutMode (const sistrip::ApvReadoutMode &)
 
static sistrip::ApvReadoutMode apvReadoutMode (const std::string &apv_readout_mode)
 
static std::string cablingSource (const sistrip::CablingSource &)
 
static sistrip::CablingSource cablingSource (const std::string &cabling_source)
 
static std::string fedReadoutMode (const sistrip::FedReadoutMode &)
 
static sistrip::FedReadoutMode fedReadoutMode (const std::string &fed_readout_mode)
 
static std::string granularity (const sistrip::Granularity &)
 
static sistrip::Granularity granularity (const std::string &granularity)
 
static std::string histoType (const sistrip::HistoType &)
 
static sistrip::HistoType histoType (const std::string &histo_type)
 
static std::string keyType (const sistrip::KeyType &)
 
static sistrip::KeyType keyType (const std::string &key_type)
 
static std::string monitorable (const sistrip::Monitorable &)
 
static sistrip::Monitorable monitorable (const std::string &histo_monitorable)
 
static std::string presentation (const sistrip::Presentation &)
 
static sistrip::Presentation presentation (const std::string &histo_presentation)
 
static std::string runType (const sistrip::RunType &)
 
static sistrip::RunType runType (const std::string &run_type)
 
static sistrip::RunType runType (const uint16_t &)
 
static std::string view (const sistrip::View &)
 
static sistrip::View view (const std::string &directory)
 

Detailed Description

Definition at line 9 of file SiStripEnumsAndStrings.h.

Member Function Documentation

std::string SiStripEnumsAndStrings::apvReadoutMode ( const sistrip::ApvReadoutMode mode)
static

Definition at line 413 of file SiStripEnumsAndStrings.cc.

References sistrip::APV_DECON_MODE, sistrip::APV_MULTI_MODE, sistrip::APV_PEAK_MODE, sistrip::apvDeconMode_, sistrip::apvMultiMode_, sistrip::apvPeakMode_, sistrip::UNDEFINED_APV_READOUT_MODE, sistrip::undefinedApvReadoutMode_, and sistrip::unknownApvReadoutMode_.

Referenced by operator<<().

sistrip::ApvReadoutMode SiStripEnumsAndStrings::apvReadoutMode ( const std::string &  apv_readout_mode)
static

Definition at line 429 of file SiStripEnumsAndStrings.cc.

References sistrip::APV_DECON_MODE, sistrip::APV_MULTI_MODE, sistrip::APV_PEAK_MODE, sistrip::apvDeconMode_, sistrip::apvMultiMode_, sistrip::apvPeakMode_, sistrip::UNDEFINED_APV_READOUT_MODE, sistrip::undefinedApvReadoutMode_, and sistrip::UNKNOWN_APV_READOUT_MODE.

429  {
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 }
static const char apvDeconMode_[]
static const char apvPeakMode_[]
static const char undefinedApvReadoutMode_[]
static const char apvMultiMode_[]
std::string SiStripEnumsAndStrings::cablingSource ( const sistrip::CablingSource source)
static

Definition at line 1275 of file SiStripEnumsAndStrings.cc.

References sistrip::CABLING_FROM_CONNS, sistrip::CABLING_FROM_DETIDS, sistrip::CABLING_FROM_DEVICES, sistrip::cablingFromConns_, sistrip::cablingFromDetIds_, sistrip::cablingFromDevices_, sistrip::UNDEFINED_CABLING_SOURCE, sistrip::undefinedCablingSource_, and sistrip::unknownCablingSource_.

Referenced by SiStripFedCablingBuilderFromDb::buildFecCabling(), and SiStripFedCablingBuilderFromDb::SiStripFedCablingBuilderFromDb().

1275  {
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 }
static const char unknownCablingSource_[]
static const char undefinedCablingSource_[]
static const char cablingFromDevices_[]
static const char cablingFromConns_[]
static const char cablingFromDetIds_[]
static std::string const source
Definition: EdmProvDump.cc:46
sistrip::CablingSource SiStripEnumsAndStrings::cablingSource ( const std::string &  cabling_source)
static

Definition at line 1291 of file SiStripEnumsAndStrings.cc.

References sistrip::CABLING_FROM_CONNS, sistrip::CABLING_FROM_DETIDS, sistrip::CABLING_FROM_DEVICES, sistrip::cablingFromConns_, sistrip::cablingFromDetIds_, sistrip::cablingFromDevices_, sistrip::UNDEFINED_CABLING_SOURCE, sistrip::undefinedCablingSource_, and sistrip::UNKNOWN_CABLING_SOURCE.

1291  {
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 undefinedCablingSource_[]
static const char cablingFromDevices_[]
static const char cablingFromConns_[]
static const char cablingFromDetIds_[]
static std::string const source
Definition: EdmProvDump.cc:46
std::string SiStripEnumsAndStrings::fedReadoutMode ( const sistrip::FedReadoutMode mode)
static

Definition at line 447 of file SiStripEnumsAndStrings.cc.

References sistrip::FED_PROC_RAW, sistrip::FED_SCOPE_MODE, sistrip::FED_VIRGIN_RAW, sistrip::FED_ZERO_SUPPR, sistrip::FED_ZERO_SUPPR_LITE, sistrip::FED_ZERO_SUPPR_LITE8_BB, sistrip::FED_ZERO_SUPPR_LITE8_BB_CMO, sistrip::FED_ZERO_SUPPR_LITE8_TB, sistrip::FED_ZERO_SUPPR_LITE8_TB_CMO, sistrip::FED_ZERO_SUPPR_LITE8_TT, sistrip::FED_ZERO_SUPPR_LITE8_TT_CMO, sistrip::FED_ZERO_SUPPR_LITE_CMO, sistrip::fedProcRaw_, sistrip::fedScopeMode_, sistrip::fedVirginRaw_, sistrip::fedZeroSuppr_, sistrip::fedZeroSupprLite8BB_, sistrip::fedZeroSupprLite8BBCMO_, sistrip::fedZeroSupprLite8TB_, sistrip::fedZeroSupprLite8TBCMO_, sistrip::fedZeroSupprLite8TT_, sistrip::fedZeroSupprLite8TTCMO_, sistrip::fedZeroSupprLite_, sistrip::fedZeroSupprLiteCMO_, sistrip::UNDEFINED_FED_READOUT_MODE, sistrip::undefinedFedReadoutMode_, and sistrip::unknownFedReadoutMode_.

Referenced by SiStripCommissioningSource::analyze(), and operator<<().

447  {
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) {
464  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_TB) {
468  } else if (mode == sistrip::FED_ZERO_SUPPR_LITE8_BB) {
474  } else {
476  }
477 }
static const char fedZeroSupprLite8BB_[]
static const char fedZeroSupprLite_[]
static const char fedProcRaw_[]
static const char fedVirginRaw_[]
static const char unknownFedReadoutMode_[]
static const char fedScopeMode_[]
static const char fedZeroSupprLite8TB_[]
static const char undefinedFedReadoutMode_[]
static const char fedZeroSupprLiteCMO_[]
static const char fedZeroSupprLite8BBCMO_[]
static const char fedZeroSupprLite8TTCMO_[]
static const char fedZeroSupprLite8TT_[]
static const char fedZeroSupprLite8TBCMO_[]
static const char fedZeroSuppr_[]
sistrip::FedReadoutMode SiStripEnumsAndStrings::fedReadoutMode ( const std::string &  fed_readout_mode)
static

Definition at line 481 of file SiStripEnumsAndStrings.cc.

References sistrip::FED_PROC_RAW, sistrip::FED_SCOPE_MODE, sistrip::FED_VIRGIN_RAW, sistrip::FED_ZERO_SUPPR, sistrip::FED_ZERO_SUPPR_LITE, sistrip::FED_ZERO_SUPPR_LITE8_BB, sistrip::FED_ZERO_SUPPR_LITE8_BB_CMO, sistrip::FED_ZERO_SUPPR_LITE8_TB, sistrip::FED_ZERO_SUPPR_LITE8_TB_CMO, sistrip::FED_ZERO_SUPPR_LITE8_TT, sistrip::FED_ZERO_SUPPR_LITE8_TT_CMO, sistrip::FED_ZERO_SUPPR_LITE_CMO, sistrip::fedProcRaw_, sistrip::fedScopeMode_, sistrip::fedVirginRaw_, sistrip::fedZeroSuppr_, sistrip::fedZeroSupprLite8BB_, sistrip::fedZeroSupprLite8BBCMO_, sistrip::fedZeroSupprLite8TB_, sistrip::fedZeroSupprLite8TBCMO_, sistrip::fedZeroSupprLite8TT_, sistrip::fedZeroSupprLite8TTCMO_, sistrip::fedZeroSupprLite_, sistrip::fedZeroSupprLiteCMO_, sistrip::UNDEFINED_FED_READOUT_MODE, sistrip::undefinedFedReadoutMode_, and sistrip::UNKNOWN_FED_READOUT_MODE.

481  {
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 }
static const char fedZeroSupprLite8BB_[]
static const char fedZeroSupprLite_[]
static const char fedProcRaw_[]
static const char fedVirginRaw_[]
static const char fedScopeMode_[]
static const char fedZeroSupprLite8TB_[]
static const char undefinedFedReadoutMode_[]
static const char fedZeroSupprLiteCMO_[]
static const char fedZeroSupprLite8BBCMO_[]
static const char fedZeroSupprLite8TTCMO_[]
static const char fedZeroSupprLite8TT_[]
static const char fedZeroSupprLite8TBCMO_[]
static const char fedZeroSuppr_[]
std::string SiStripEnumsAndStrings::granularity ( const sistrip::Granularity granularity)
static

Definition at line 265 of file SiStripEnumsAndStrings.cc.

References sistrip::APV, sistrip::apv_, sistrip::CCU_ADDR, sistrip::CCU_CHAN, sistrip::ccuAddr_, sistrip::ccuChan_, sistrip::DISK, sistrip::disk_, sistrip::FE_CHAN, sistrip::FE_DRIVER, sistrip::FE_UNIT, sistrip::FEC_CRATE, sistrip::FEC_RING, sistrip::FEC_SLOT, sistrip::FEC_SYSTEM, sistrip::fecCrate_, sistrip::feChan_, sistrip::fecRing_, sistrip::fecSlot_, sistrip::fecSystem_, sistrip::FED_APV, sistrip::FED_CHANNEL, sistrip::FED_SYSTEM, sistrip::fedApv_, sistrip::fedChannel_, sistrip::feDriver_, sistrip::fedSystem_, sistrip::feUnit_, sistrip::LAYER, sistrip::layer_, sistrip::LLD_CHAN, sistrip::lldChan_, sistrip::MODULE, sistrip::module_, sistrip::PARTITION, sistrip::partition_, sistrip::PETAL, sistrip::petal_, sistrip::RING, sistrip::ring_, sistrip::ROD, sistrip::rod_, sistrip::STRING, sistrip::string_, sistrip::TEC, sistrip::tec_, sistrip::TIB, sistrip::tib_, sistrip::TOB, sistrip::tob_, sistrip::TRACKER, sistrip::tracker_, sistrip::UNDEFINED_GRAN, sistrip::undefinedGranularity_, and sistrip::unknownGranularity_.

Referenced by SiStripHistoTitle::extractTitle(), SummaryGeneratorControlView::fill(), SummaryGeneratorReadoutView::fill(), SummaryGenerator::format(), SummaryPlotFactoryBase::init(), operator<<(), SamplingAnalysis::print(), SiStripNullKey::print(), SummaryPlot::print(), SiStripKey::print(), SiStripDetKey::print(), SiStripFecKey::print(), SiStripFedKey::print(), SiStripHistoTitle::setTitle(), and SummaryPlot::SummaryPlot().

265  {
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 }
static const char module_[]
static const char feDriver_[]
static const char layer_[]
static const char tec_[]
static const char tracker_[]
static const char tob_[]
static std::string granularity(const sistrip::Granularity &)
static const char rod_[]
static const char string_[]
static const char fecSlot_[]
static const char ccuChan_[]
static const char ccuAddr_[]
static const char lldChan_[]
static const char undefinedGranularity_[]
static const char partition_[]
static const char fedApv_[]
static const char unknownGranularity_[]
static const char ring_[]
static const char fecCrate_[]
static const char fedChannel_[]
static const char apv_[]
static const char tib_[]
static const char feChan_[]
static const char fedSystem_[]
static const char fecRing_[]
static const char feUnit_[]
static const char fecSystem_[]
static const char disk_[]
static const char petal_[]
sistrip::Granularity SiStripEnumsAndStrings::granularity ( const std::string &  granularity)
static

Definition at line 338 of file SiStripEnumsAndStrings.cc.

References sistrip::APV, sistrip::apv_, sistrip::CCU_ADDR, sistrip::CCU_CHAN, sistrip::ccuAddr_, sistrip::ccuChan_, sistrip::DISK, sistrip::disk_, sistrip::FE_CHAN, sistrip::FE_DRIVER, sistrip::FE_UNIT, sistrip::FEC_CRATE, sistrip::FEC_RING, sistrip::FEC_SLOT, sistrip::FEC_SYSTEM, sistrip::fecCrate_, sistrip::feChan_, sistrip::fecRing_, sistrip::fecSlot_, sistrip::fecSystem_, sistrip::FED_APV, sistrip::FED_CHANNEL, sistrip::FED_SYSTEM, sistrip::fedApv_, sistrip::fedChannel_, sistrip::feDriver_, sistrip::fedSystem_, sistrip::feUnit_, sistrip::LAYER, sistrip::layer_, sistrip::LLD_CHAN, sistrip::lldChan_, sistrip::MODULE, sistrip::module_, sistrip::PARTITION, sistrip::partition_, sistrip::PETAL, sistrip::petal_, sistrip::RING, sistrip::ring_, sistrip::ROD, sistrip::rod_, sistrip::STRING, sistrip::string_, sistrip::TEC, sistrip::tec_, sistrip::TIB, sistrip::tib_, sistrip::TOB, sistrip::tob_, sistrip::TRACKER, sistrip::tracker_, sistrip::UNDEFINED_GRAN, sistrip::undefinedGranularity_, and sistrip::UNKNOWN_GRAN.

338  {
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 }
static const char module_[]
static const char feDriver_[]
static const char layer_[]
static const char tec_[]
static const char tracker_[]
static const char tob_[]
static std::string granularity(const sistrip::Granularity &)
static const char rod_[]
static const char string_[]
static const char fecSlot_[]
static const char ccuChan_[]
static const char ccuAddr_[]
static const char lldChan_[]
static const char undefinedGranularity_[]
static const char partition_[]
static const char fedApv_[]
static const char ring_[]
static const char fecCrate_[]
static const char fedChannel_[]
static const char apv_[]
static const char tib_[]
static const char feChan_[]
static const char fedSystem_[]
static const char fecRing_[]
static const char feUnit_[]
static const char fecSystem_[]
static const char disk_[]
static const char petal_[]
std::string SiStripEnumsAndStrings::histoType ( const sistrip::HistoType type)
static
sistrip::HistoType SiStripEnumsAndStrings::histoType ( const std::string &  histo_type)
static

Definition at line 531 of file SiStripEnumsAndStrings.cc.

References sistrip::EXPERT_HISTO, sistrip::expertHisto_, sistrip::SUMMARY_HISTO, sistrip::summaryHisto_, sistrip::UNDEFINED_HISTO_TYPE, sistrip::undefinedHistoType_, and sistrip::UNKNOWN_HISTO_TYPE.

531  {
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 }
static const char summaryHisto_[]
static const char expertHisto_[]
static const char undefinedHistoType_[]
std::string SiStripEnumsAndStrings::keyType ( const sistrip::KeyType key_type)
static

Definition at line 231 of file SiStripEnumsAndStrings.cc.

References sistrip::DET_KEY, sistrip::detKey_, sistrip::FEC_KEY, sistrip::fecKey_, sistrip::FED_KEY, sistrip::fedKey_, sistrip::UNDEFINED_KEY, sistrip::undefinedKey_, and sistrip::unknownKey_.

Referenced by SiStripHistoTitle::extractTitle(), operator<<(), and SiStripHistoTitle::setTitle().

231  {
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 }
static const char undefinedKey_[]
static const char unknownKey_[]
static const char fedKey_[]
static const char fecKey_[]
static const char detKey_[]
sistrip::KeyType SiStripEnumsAndStrings::keyType ( const std::string &  key_type)
static

Definition at line 247 of file SiStripEnumsAndStrings.cc.

References sistrip::DET_KEY, sistrip::detKey_, sistrip::FEC_KEY, sistrip::fecKey_, sistrip::FED_KEY, sistrip::fedKey_, sistrip::UNDEFINED_KEY, sistrip::undefinedKey_, and sistrip::UNKNOWN_KEY.

247  {
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 }
static const char undefinedKey_[]
static const char fedKey_[]
static const char fecKey_[]
static const char detKey_[]
std::string SiStripEnumsAndStrings::monitorable ( const sistrip::Monitorable mon)
static

Definition at line 547 of file SiStripEnumsAndStrings.cc.

References sistrip::AD_PROBAB_ALL_STRIPS, sistrip::adProbabAllStrips_, sistrip::APV_TIMING_BASE, sistrip::APV_TIMING_DELAY, sistrip::APV_TIMING_ERROR, sistrip::APV_TIMING_HEIGHT, sistrip::APV_TIMING_MAX_TIME, sistrip::APV_TIMING_PEAK, sistrip::APV_TIMING_TIME, sistrip::apvTimingBase_, sistrip::apvTimingDelay_, sistrip::apvTimingError_, sistrip::apvTimingHeight_, sistrip::apvTimingMax_, sistrip::apvTimingPeak_, sistrip::apvTimingTime_, sistrip::BAD_STRIP_BIT_ALL_STRIPS, sistrip::badStripBit_, sistrip::CALIBRATION_AMPLITUDE_ALL_STRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MEAN, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_AMPLITUDE_SPREAD, sistrip::CALIBRATION_AMPLITUDE_TUNED, sistrip::CALIBRATION_BASELINE_ALL_STRIPS, sistrip::CALIBRATION_BASELINE_MAX, sistrip::CALIBRATION_BASELINE_MEAN, sistrip::CALIBRATION_BASELINE_MIN, sistrip::CALIBRATION_BASELINE_SPREAD, sistrip::CALIBRATION_BASELINE_TUNED, sistrip::CALIBRATION_CHI2_ALL_STRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MEAN, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_CHI2_SPREAD, sistrip::CALIBRATION_CHI2_TUNED, sistrip::CALIBRATION_DECAYTIME_ALL_STRIPS, sistrip::CALIBRATION_DECAYTIME_MAX, sistrip::CALIBRATION_DECAYTIME_MEAN, sistrip::CALIBRATION_DECAYTIME_MIN, sistrip::CALIBRATION_DECAYTIME_SPREAD, sistrip::CALIBRATION_DECAYTIME_TUNED, sistrip::CALIBRATION_ISHA_BEST, sistrip::CALIBRATION_ISHA_TUNED, sistrip::CALIBRATION_PEAKTIME_ALL_STRIPS, sistrip::CALIBRATION_PEAKTIME_MAX, sistrip::CALIBRATION_PEAKTIME_MEAN, sistrip::CALIBRATION_PEAKTIME_MIN, sistrip::CALIBRATION_PEAKTIME_SPREAD, sistrip::CALIBRATION_PEAKTIME_TUNED, sistrip::CALIBRATION_RISETIME_ALL_STRIPS, sistrip::CALIBRATION_RISETIME_MAX, sistrip::CALIBRATION_RISETIME_MEAN, sistrip::CALIBRATION_RISETIME_MIN, sistrip::CALIBRATION_RISETIME_SPREAD, sistrip::CALIBRATION_RISETIME_TUNED, sistrip::CALIBRATION_SMEARING_ALL_STRIPS, sistrip::CALIBRATION_SMEARING_MAX, sistrip::CALIBRATION_SMEARING_MEAN, sistrip::CALIBRATION_SMEARING_MIN, sistrip::CALIBRATION_SMEARING_SPREAD, sistrip::CALIBRATION_SMEARING_TUNED, sistrip::CALIBRATION_TAIL_ALL_STRIPS, sistrip::CALIBRATION_TAIL_MAX, sistrip::CALIBRATION_TAIL_MEAN, sistrip::CALIBRATION_TAIL_MIN, sistrip::CALIBRATION_TAIL_SPREAD, sistrip::CALIBRATION_TAIL_TUNED, sistrip::CALIBRATION_TURNON_ALL_STRIPS, sistrip::CALIBRATION_TURNON_MAX, sistrip::CALIBRATION_TURNON_MEAN, sistrip::CALIBRATION_TURNON_MIN, sistrip::CALIBRATION_TURNON_SPREAD, sistrip::CALIBRATION_TURNON_TUNED, sistrip::CALIBRATION_UNDERSHOOT_ALL_STRIPS, sistrip::CALIBRATION_UNDERSHOOT_MAX, sistrip::CALIBRATION_UNDERSHOOT_MEAN, sistrip::CALIBRATION_UNDERSHOOT_MIN, sistrip::CALIBRATION_UNDERSHOOT_SPREAD, sistrip::CALIBRATION_UNDERSHOOT_TUNED, sistrip::CALIBRATION_VFS_BEST, sistrip::CALIBRATION_VFS_TUNED, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMean_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationAmplitudeSpread_, sistrip::calibrationAmplitudeTuned_, sistrip::calibrationBaseline_, sistrip::calibrationBaselineMax_, sistrip::calibrationBaselineMean_, sistrip::calibrationBaselineMin_, sistrip::calibrationBaselineSpread_, sistrip::calibrationBaselineTuned_, sistrip::calibrationChi2_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Mean_, sistrip::calibrationChi2Min_, sistrip::calibrationChi2Spread_, sistrip::calibrationChi2Tuned_, sistrip::calibrationDecayTime_, sistrip::calibrationDecayTimeMax_, sistrip::calibrationDecayTimeMean_, sistrip::calibrationDecayTimeMin_, sistrip::calibrationDecayTimeSpread_, sistrip::calibrationDecayTimeTuned_, sistrip::calibrationISHABest_, sistrip::calibrationISHATuned_, sistrip::calibrationPeakTime_, sistrip::calibrationPeakTimeMax_, sistrip::calibrationPeakTimeMean_, sistrip::calibrationPeakTimeMin_, sistrip::calibrationPeakTimeSpread_, sistrip::calibrationPeakTimeTuned_, sistrip::calibrationRiseTime_, sistrip::calibrationRiseTimeMax_, sistrip::calibrationRiseTimeMean_, sistrip::calibrationRiseTimeMin_, sistrip::calibrationRiseTimeSpread_, sistrip::calibrationRiseTimeTuned_, sistrip::calibrationSmearing_, sistrip::calibrationSmearingMax_, sistrip::calibrationSmearingMean_, sistrip::calibrationSmearingMin_, sistrip::calibrationSmearingSpread_, sistrip::calibrationSmearingTuned_, sistrip::calibrationTail_, sistrip::calibrationTailMax_, sistrip::calibrationTailMean_, sistrip::calibrationTailMin_, sistrip::calibrationTailSpread_, sistrip::calibrationTailTuned_, sistrip::calibrationTurnOn_, sistrip::calibrationTurnOnMax_, sistrip::calibrationTurnOnMean_, sistrip::calibrationTurnOnMin_, sistrip::calibrationTurnOnSpread_, sistrip::calibrationTurnOnTuned_, sistrip::calibrationUndershoot_, sistrip::calibrationUndershootMax_, sistrip::calibrationUndershootMean_, sistrip::calibrationUndershootMin_, sistrip::calibrationUndershootSpread_, sistrip::calibrationUndershootTuned_, sistrip::calibrationVFSBest_, sistrip::calibrationVFSTuned_, sistrip::CHI2_PROBAB_ALL_STRIPS, sistrip::chi2ProbabAllStrips_, sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL, sistrip::daqScopeModeMeanSignal_, sistrip::DEAD_STRIP_BIT_ALL_STRIPS, sistrip::deadStripBit_, sistrip::FAST_CABLING_CONNS_PER_FED, sistrip::FAST_CABLING_DCU_ID, sistrip::FAST_CABLING_HIGH_LEVEL, sistrip::FAST_CABLING_HIGH_RMS, sistrip::FAST_CABLING_LLD_CH, sistrip::FAST_CABLING_LOW_LEVEL, sistrip::FAST_CABLING_LOW_RMS, sistrip::FAST_CABLING_MAX, sistrip::FAST_CABLING_MIN, sistrip::fastCablingConnsPerFed_, sistrip::fastCablingDcuId_, sistrip::fastCablingHighLevel_, sistrip::fastCablingHighRms_, sistrip::fastCablingLldCh_, sistrip::fastCablingLowLevel_, sistrip::fastCablingLowRms_, sistrip::fastCablingMax_, sistrip::fastCablingMin_, sistrip::FED_CABLING_ADC_LEVEL, sistrip::FED_CABLING_FED_CH, sistrip::FED_CABLING_FED_ID, sistrip::FED_TIMING_BASE, sistrip::FED_TIMING_DELAY, sistrip::FED_TIMING_ERROR, sistrip::FED_TIMING_HEIGHT, sistrip::FED_TIMING_MAX_TIME, sistrip::FED_TIMING_PEAK, sistrip::FED_TIMING_TIME, sistrip::fedCablingAdcLevel_, sistrip::fedCablingFedCh_, sistrip::fedCablingFedId_, sistrip::fedTimingBase_, sistrip::fedTimingDelay_, sistrip::fedTimingError_, sistrip::fedTimingHeight_, sistrip::fedTimingMax_, sistrip::fedTimingPeak_, sistrip::fedTimingTime_, sistrip::FINE_DELAY_ERROR, sistrip::FINE_DELAY_POS, sistrip::fineDelayErr_, sistrip::fineDelayPos_, sistrip::JB_PROBAB_ALL_STRIPS, sistrip::jbProbabAllStrips_, sistrip::KS_PROBAB_ALL_STRIPS, sistrip::ksProbabAllStrips_, sistrip::NOISE_ALL_STRIPS, sistrip::NOISE_MAX, sistrip::NOISE_MEAN, sistrip::NOISE_MIN, sistrip::NOISE_SIGNIFICANCE_ALL_STRIPS, sistrip::NOISE_SPREAD, sistrip::noiseAllStrips_, sistrip::noiseMax_, sistrip::noiseMean_, sistrip::noiseMin_, sistrip::noiseSignificanceAllStrips_, sistrip::noiseSpread_, sistrip::NUM_OF_BAD, sistrip::NUM_OF_BAD_AD_PROBAB, sistrip::NUM_OF_BAD_CHI2_PROBAB, sistrip::NUM_OF_BAD_DOUBLE_PEAK, sistrip::NUM_OF_BAD_FIT_STATUS, sistrip::NUM_OF_BAD_JB_PROBAB, sistrip::NUM_OF_BAD_KS_PROBAB, sistrip::NUM_OF_BAD_LARGE_NOISE, sistrip::NUM_OF_BAD_LARGE_SIGNIF, sistrip::NUM_OF_BAD_LOW_NOISE, sistrip::NUM_OF_BAD_SHIFTED, sistrip::NUM_OF_BAD_TAIL, sistrip::NUM_OF_DEAD, sistrip::NUM_OF_NOISY, sistrip::numOfBadADProbabStrips_, sistrip::numOfBadChi2ProbabStrips_, sistrip::numOfBadDoublePeakStrips_, sistrip::numOfBadFitStatusStrips_, sistrip::numOfBadJBProbabStrips_, sistrip::numOfBadKSProbabStrips_, sistrip::numOfBadLargeNoiseSignificanceStrips_, sistrip::numOfBadLargeNoiseStrips_, sistrip::numOfBadLowNoiseStrips_, sistrip::numOfBadShiftedStrips_, sistrip::numOfBadStrips_, sistrip::numOfBadTailStrips_, sistrip::numOfDeadStrips_, sistrip::numOfNoisy_, sistrip::OPTO_SCAN_BASELINE_LIFT_OFF, sistrip::OPTO_SCAN_LASER_THRESHOLD, sistrip::OPTO_SCAN_LINK_NOISE, sistrip::OPTO_SCAN_LLD_BIAS_SETTING, sistrip::OPTO_SCAN_LLD_GAIN_SETTING, sistrip::OPTO_SCAN_MEASURED_GAIN, sistrip::OPTO_SCAN_TICK_HEIGHT, sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL, sistrip::optoScanBaseLiftOff_, sistrip::optoScanLaserThresh_, sistrip::optoScanLinkNoise_, sistrip::optoScanLldBias_, sistrip::optoScanLldGain_, sistrip::optoScanMeasGain_, sistrip::optoScanTickHeight_, sistrip::optoScanZeroLight_, sistrip::PEDESTALS_ALL_STRIPS, sistrip::PEDESTALS_MAX, sistrip::PEDESTALS_MEAN, sistrip::PEDESTALS_MIN, sistrip::PEDESTALS_SPREAD, sistrip::pedestalsAllStrips_, sistrip::pedestalsMax_, sistrip::pedestalsMean_, sistrip::pedestalsMin_, sistrip::pedestalsSpread_, sistrip::RESIDUAL_GAUS_ALL_STRIPS, sistrip::RESIDUAL_INTEGRAL_ALL_STRIPS, sistrip::RESIDUAL_INTEGRALNSIGMA_ALL_STRIPS, sistrip::RESIDUAL_KURTOSIS_ALL_STRIPS, sistrip::RESIDUAL_MEAN_ALL_STRIPS, sistrip::RESIDUAL_RMS_ALL_STRIPS, sistrip::RESIDUAL_SKEWNESS_ALL_STRIPS, sistrip::residualIntegralAllStrips_, sistrip::residualIntegralNsigmaAllStrips_, sistrip::residualKurtosisAllStrips_, sistrip::residualMeanAllStrips_, sistrip::residualRMSAllStrips_, sistrip::residualSigmaGausAllStrips_, sistrip::residualSkewnessAllStrips_, sistrip::UNDEFINED_MONITORABLE, sistrip::undefinedMonitorable_, sistrip::unknownMonitorable_, sistrip::VPSP_SCAN_ADC_LEVEL, sistrip::VPSP_SCAN_APV0_SETTING, sistrip::VPSP_SCAN_APV1_SETTING, sistrip::VPSP_SCAN_APV_SETTINGS, sistrip::VPSP_SCAN_DIGITAL_HIGH, sistrip::VPSP_SCAN_DIGITAL_LOW, sistrip::vpspScanAdcLevel_, sistrip::vpspScanApv0_, sistrip::vpspScanApv1_, sistrip::vpspScanBothApvs_, sistrip::vpspScanDigitalHigh_, and sistrip::vpspScanDigitalLow_.

Referenced by ApvTimingSummaryFactory::extract(), CalibrationSummaryFactory::extract(), VpspScanSummaryFactory::extract(), FastFedCablingSummaryFactory::extract(), OptoScanSummaryFactory::extract(), PedestalsSummaryFactory::extract(), PedsFullNoiseSummaryFactory::extract(), PedsOnlySummaryFactory::extract(), CalibrationScanSummaryFactory::extract(), SamplingSummaryFactory::extract(), DaqScopeModeSummaryFactory::extract(), NoiseSummaryFactory::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), SummaryPlotFactory< FedCablingAnalysis * >::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), SamplingSummaryFactory::format(), VpspScanSummaryFactory::format(), NoiseSummaryFactory::format(), DaqScopeModeSummaryFactory::format(), OptoScanSummaryFactory::format(), ApvTimingSummaryFactory::format(), CalibrationSummaryFactory::format(), PedestalsSummaryFactory::format(), PedsFullNoiseSummaryFactory::format(), CalibrationScanSummaryFactory::format(), FastFedCablingSummaryFactory::format(), PedsOnlySummaryFactory::format(), SummaryPlotFactoryBase::init(), SummaryPlotFactory< FedCablingAnalysis * >::init(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

547  {
548  // fed cabling
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) {
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
617  } else if (mon == sistrip::OPTO_SCAN_MEASURED_GAIN) {
621  } else if (mon == sistrip::OPTO_SCAN_LINK_NOISE) {
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 
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) {
715  } else if (mon == sistrip::RESIDUAL_MEAN_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 
736  } else if (mon == sistrip::CALIBRATION_TAIL_MEAN) {
738  } else if (mon == sistrip::CALIBRATION_RISETIME_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) {
750  } else if (mon == sistrip::CALIBRATION_SMEARING_MEAN) {
752  } else if (mon == sistrip::CALIBRATION_CHI2_MEAN) {
754  }
755 
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) {
772  } else if (mon == sistrip::CALIBRATION_SMEARING_MIN) {
774  } else if (mon == sistrip::CALIBRATION_CHI2_MIN) {
776  }
777 
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) {
794  } else if (mon == sistrip::CALIBRATION_SMEARING_MAX) {
796  } else if (mon == sistrip::CALIBRATION_CHI2_MAX) {
798  }
799 
802  } else if (mon == sistrip::CALIBRATION_TAIL_SPREAD) {
810  } else if (mon == sistrip::CALIBRATION_TURNON_SPREAD) {
818  } else if (mon == sistrip::CALIBRATION_CHI2_SPREAD) {
820  }
821 
842  }
843 
846  } else if (mon == sistrip::CALIBRATION_TAIL_TUNED) {
854  } else if (mon == sistrip::CALIBRATION_TURNON_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
877  }
878 
879  // unknown
880  else if (mon == sistrip::UNDEFINED_MONITORABLE) {
882  } else {
884  }
885 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationTurnOnMean_[]
static const char residualKurtosisAllStrips_[]
static const char calibrationTailTuned_[]
static const char calibrationRiseTimeMax_[]
static const char numOfBadFitStatusStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char residualIntegralNsigmaAllStrips_[]
static const char calibrationVFSBest_[]
static const char fastCablingMin_[]
static const char calibrationDecayTime_[]
static const char fedCablingAdcLevel_[]
static const char calibrationAmplitudeMax_[]
static const char residualSkewnessAllStrips_[]
static const char apvTimingHeight_[]
static const char apvTimingMax_[]
static const char numOfBadJBProbabStrips_[]
static const char numOfBadLargeNoiseStrips_[]
static const char optoScanTickHeight_[]
static const char calibrationUndershootMin_[]
static const char calibrationSmearingSpread_[]
static const char fineDelayPos_[]
static const char calibrationBaselineMax_[]
static const char chi2ProbabAllStrips_[]
static const char noiseMax_[]
static const char numOfBadChi2ProbabStrips_[]
static const char calibrationChi2Mean_[]
static const char noiseMin_[]
static const char calibrationTurnOnMax_[]
static const char calibrationUndershootMean_[]
static const char optoScanMeasGain_[]
static const char calibrationTurnOn_[]
static const char calibrationRiseTimeTuned_[]
static const char pedestalsMean_[]
static const char calibrationBaselineMin_[]
static const char fedTimingHeight_[]
static const char calibrationDecayTimeMin_[]
static const char numOfBadLargeNoiseSignificanceStrips_[]
static const char calibrationDecayTimeMax_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationAmplitudeSpread_[]
static const char calibrationSmearing_[]
static const char numOfBadTailStrips_[]
static const char numOfNoisy_[]
static const char calibrationTailMin_[]
static const char vpspScanDigitalHigh_[]
static const char calibrationISHABest_[]
static const char undefinedMonitorable_[]
static const char fastCablingLowRms_[]
static const char calibrationRiseTimeMean_[]
static const char optoScanBaseLiftOff_[]
static const char calibrationTailMax_[]
static const char fastCablingLldCh_[]
static const char optoScanZeroLight_[]
static const char vpspScanDigitalLow_[]
static const char calibrationBaselineMean_[]
static const char calibrationBaselineSpread_[]
static const char calibrationBaselineTuned_[]
static const char unknownMonitorable_[]
static const char noiseSpread_[]
static const char calibrationSmearingMean_[]
static const char calibrationUndershootSpread_[]
static const char adProbabAllStrips_[]
static const char calibrationPeakTimeMin_[]
static const char calibrationBaseline_[]
static const char residualMeanAllStrips_[]
static const char numOfBadShiftedStrips_[]
static const char fastCablingMax_[]
static const char pedestalsMin_[]
static const char jbProbabAllStrips_[]
static const char calibrationTailMean_[]
static const char calibrationUndershootMax_[]
static const char calibrationISHATuned_[]
static const char fineDelayErr_[]
static const char residualSigmaGausAllStrips_[]
static const char residualIntegralAllStrips_[]
static const char calibrationTurnOnSpread_[]
static const char fastCablingLowLevel_[]
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 calibrationPeakTimeTuned_[]
static const char calibrationDecayTimeMean_[]
static const char calibrationVFSTuned_[]
static const char fedTimingMax_[]
static const char calibrationAmplitudeTuned_[]
static const char deadStripBit_[]
static const char calibrationChi2Spread_[]
static const char calibrationTurnOnMin_[]
static const char calibrationRiseTimeSpread_[]
static const char calibrationChi2_[]
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 calibrationPeakTimeSpread_[]
static const char apvTimingTime_[]
static const char fedTimingDelay_[]
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 noiseAllStrips_[]
static const char fedTimingTime_[]
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 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 pedestalsSpread_[]
static const char vpspScanBothApvs_[]
static const char calibrationPeakTimeMax_[]
static const char fastCablingHighRms_[]
static const char numOfBadStrips_[]
static const char calibrationDecayTimeTuned_[]
static const char pedestalsAllStrips_[]
sistrip::Monitorable SiStripEnumsAndStrings::monitorable ( const std::string &  histo_monitorable)
static

Definition at line 889 of file SiStripEnumsAndStrings.cc.

References sistrip::AD_PROBAB_ALL_STRIPS, sistrip::adProbabAllStrips_, sistrip::APV_TIMING_BASE, sistrip::APV_TIMING_DELAY, sistrip::APV_TIMING_ERROR, sistrip::APV_TIMING_HEIGHT, sistrip::APV_TIMING_MAX_TIME, sistrip::APV_TIMING_PEAK, sistrip::APV_TIMING_TIME, sistrip::apvTimingBase_, sistrip::apvTimingDelay_, sistrip::apvTimingError_, sistrip::apvTimingHeight_, sistrip::apvTimingMax_, sistrip::apvTimingPeak_, sistrip::apvTimingTime_, sistrip::BAD_STRIP_BIT_ALL_STRIPS, sistrip::badStripBit_, sistrip::CALIBRATION_AMPLITUDE_ALL_STRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MEAN, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_AMPLITUDE_SPREAD, sistrip::CALIBRATION_AMPLITUDE_TUNED, sistrip::CALIBRATION_BASELINE_ALL_STRIPS, sistrip::CALIBRATION_BASELINE_MAX, sistrip::CALIBRATION_BASELINE_MEAN, sistrip::CALIBRATION_BASELINE_MIN, sistrip::CALIBRATION_BASELINE_SPREAD, sistrip::CALIBRATION_BASELINE_TUNED, sistrip::CALIBRATION_CHI2_ALL_STRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MEAN, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_CHI2_SPREAD, sistrip::CALIBRATION_CHI2_TUNED, sistrip::CALIBRATION_DECAYTIME_ALL_STRIPS, sistrip::CALIBRATION_DECAYTIME_MAX, sistrip::CALIBRATION_DECAYTIME_MEAN, sistrip::CALIBRATION_DECAYTIME_MIN, sistrip::CALIBRATION_DECAYTIME_SPREAD, sistrip::CALIBRATION_DECAYTIME_TUNED, sistrip::CALIBRATION_ISHA_BEST, sistrip::CALIBRATION_ISHA_TUNED, sistrip::CALIBRATION_PEAKTIME_ALL_STRIPS, sistrip::CALIBRATION_PEAKTIME_MAX, sistrip::CALIBRATION_PEAKTIME_MEAN, sistrip::CALIBRATION_PEAKTIME_MIN, sistrip::CALIBRATION_PEAKTIME_SPREAD, sistrip::CALIBRATION_PEAKTIME_TUNED, sistrip::CALIBRATION_RISETIME_ALL_STRIPS, sistrip::CALIBRATION_RISETIME_MAX, sistrip::CALIBRATION_RISETIME_MEAN, sistrip::CALIBRATION_RISETIME_MIN, sistrip::CALIBRATION_RISETIME_SPREAD, sistrip::CALIBRATION_RISETIME_TUNED, sistrip::CALIBRATION_SMEARING_ALL_STRIPS, sistrip::CALIBRATION_SMEARING_MAX, sistrip::CALIBRATION_SMEARING_MEAN, sistrip::CALIBRATION_SMEARING_MIN, sistrip::CALIBRATION_SMEARING_SPREAD, sistrip::CALIBRATION_SMEARING_TUNED, sistrip::CALIBRATION_TAIL_ALL_STRIPS, sistrip::CALIBRATION_TAIL_MAX, sistrip::CALIBRATION_TAIL_MEAN, sistrip::CALIBRATION_TAIL_MIN, sistrip::CALIBRATION_TAIL_SPREAD, sistrip::CALIBRATION_TAIL_TUNED, sistrip::CALIBRATION_TURNON_ALL_STRIPS, sistrip::CALIBRATION_TURNON_MAX, sistrip::CALIBRATION_TURNON_MEAN, sistrip::CALIBRATION_TURNON_MIN, sistrip::CALIBRATION_TURNON_SPREAD, sistrip::CALIBRATION_TURNON_TUNED, sistrip::CALIBRATION_UNDERSHOOT_ALL_STRIPS, sistrip::CALIBRATION_UNDERSHOOT_MAX, sistrip::CALIBRATION_UNDERSHOOT_MEAN, sistrip::CALIBRATION_UNDERSHOOT_MIN, sistrip::CALIBRATION_UNDERSHOOT_SPREAD, sistrip::CALIBRATION_UNDERSHOOT_TUNED, sistrip::CALIBRATION_VFS_BEST, sistrip::CALIBRATION_VFS_TUNED, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMean_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationAmplitudeSpread_, sistrip::calibrationAmplitudeTuned_, sistrip::calibrationBaseline_, sistrip::calibrationBaselineMax_, sistrip::calibrationBaselineMean_, sistrip::calibrationBaselineMin_, sistrip::calibrationBaselineSpread_, sistrip::calibrationBaselineTuned_, sistrip::calibrationChi2_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Mean_, sistrip::calibrationChi2Min_, sistrip::calibrationChi2Spread_, sistrip::calibrationChi2Tuned_, sistrip::calibrationDecayTime_, sistrip::calibrationDecayTimeMax_, sistrip::calibrationDecayTimeMean_, sistrip::calibrationDecayTimeMin_, sistrip::calibrationDecayTimeSpread_, sistrip::calibrationDecayTimeTuned_, sistrip::calibrationISHABest_, sistrip::calibrationISHATuned_, sistrip::calibrationPeakTime_, sistrip::calibrationPeakTimeMax_, sistrip::calibrationPeakTimeMean_, sistrip::calibrationPeakTimeMin_, sistrip::calibrationPeakTimeSpread_, sistrip::calibrationPeakTimeTuned_, sistrip::calibrationRiseTime_, sistrip::calibrationRiseTimeMax_, sistrip::calibrationRiseTimeMean_, sistrip::calibrationRiseTimeMin_, sistrip::calibrationRiseTimeSpread_, sistrip::calibrationRiseTimeTuned_, sistrip::calibrationSmearing_, sistrip::calibrationSmearingMax_, sistrip::calibrationSmearingMean_, sistrip::calibrationSmearingMin_, sistrip::calibrationSmearingSpread_, sistrip::calibrationSmearingTuned_, sistrip::calibrationTail_, sistrip::calibrationTailMax_, sistrip::calibrationTailMean_, sistrip::calibrationTailMin_, sistrip::calibrationTailSpread_, sistrip::calibrationTailTuned_, sistrip::calibrationTurnOn_, sistrip::calibrationTurnOnMax_, sistrip::calibrationTurnOnMean_, sistrip::calibrationTurnOnMin_, sistrip::calibrationTurnOnSpread_, sistrip::calibrationTurnOnTuned_, sistrip::calibrationUndershoot_, sistrip::calibrationUndershootMax_, sistrip::calibrationUndershootMean_, sistrip::calibrationUndershootMin_, sistrip::calibrationUndershootSpread_, sistrip::calibrationUndershootTuned_, sistrip::calibrationVFSBest_, sistrip::calibrationVFSTuned_, sistrip::CHI2_PROBAB_ALL_STRIPS, sistrip::chi2ProbabAllStrips_, sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL, sistrip::daqScopeModeMeanSignal_, sistrip::DEAD_STRIP_BIT_ALL_STRIPS, sistrip::deadStripBit_, sistrip::FAST_CABLING_CONNS_PER_FED, sistrip::FAST_CABLING_DCU_ID, sistrip::FAST_CABLING_HIGH_LEVEL, sistrip::FAST_CABLING_HIGH_RMS, sistrip::FAST_CABLING_LLD_CH, sistrip::FAST_CABLING_LOW_LEVEL, sistrip::FAST_CABLING_LOW_RMS, sistrip::FAST_CABLING_MAX, sistrip::FAST_CABLING_MIN, sistrip::fastCablingConnsPerFed_, sistrip::fastCablingDcuId_, sistrip::fastCablingHighLevel_, sistrip::fastCablingHighRms_, sistrip::fastCablingLldCh_, sistrip::fastCablingLowLevel_, sistrip::fastCablingLowRms_, sistrip::fastCablingMax_, sistrip::fastCablingMin_, sistrip::FED_CABLING_ADC_LEVEL, sistrip::FED_CABLING_FED_CH, sistrip::FED_CABLING_FED_ID, sistrip::FED_TIMING_BASE, sistrip::FED_TIMING_DELAY, sistrip::FED_TIMING_ERROR, sistrip::FED_TIMING_HEIGHT, sistrip::FED_TIMING_MAX_TIME, sistrip::FED_TIMING_PEAK, sistrip::FED_TIMING_TIME, sistrip::fedCablingAdcLevel_, sistrip::fedCablingFedCh_, sistrip::fedCablingFedId_, sistrip::fedTimingBase_, sistrip::fedTimingDelay_, sistrip::fedTimingError_, sistrip::fedTimingHeight_, sistrip::fedTimingMax_, sistrip::fedTimingPeak_, sistrip::fedTimingTime_, sistrip::FINE_DELAY_ERROR, sistrip::FINE_DELAY_POS, sistrip::fineDelayErr_, sistrip::fineDelayPos_, sistrip::JB_PROBAB_ALL_STRIPS, sistrip::jbProbabAllStrips_, sistrip::KS_PROBAB_ALL_STRIPS, sistrip::ksProbabAllStrips_, sistrip::NOISE_ALL_STRIPS, sistrip::NOISE_MAX, sistrip::NOISE_MEAN, sistrip::NOISE_MIN, sistrip::NOISE_SIGNIFICANCE_ALL_STRIPS, sistrip::NOISE_SPREAD, sistrip::noiseAllStrips_, sistrip::noiseMax_, sistrip::noiseMean_, sistrip::noiseMin_, sistrip::noiseSignificanceAllStrips_, sistrip::noiseSpread_, sistrip::NUM_OF_BAD, sistrip::NUM_OF_BAD_AD_PROBAB, sistrip::NUM_OF_BAD_CHI2_PROBAB, sistrip::NUM_OF_BAD_DOUBLE_PEAK, sistrip::NUM_OF_BAD_FIT_STATUS, sistrip::NUM_OF_BAD_JB_PROBAB, sistrip::NUM_OF_BAD_KS_PROBAB, sistrip::NUM_OF_BAD_LARGE_NOISE, sistrip::NUM_OF_BAD_LARGE_SIGNIF, sistrip::NUM_OF_BAD_LOW_NOISE, sistrip::NUM_OF_BAD_SHIFTED, sistrip::NUM_OF_BAD_TAIL, sistrip::NUM_OF_DEAD, sistrip::NUM_OF_NOISY, sistrip::numOfBadADProbabStrips_, sistrip::numOfBadChi2ProbabStrips_, sistrip::numOfBadDoublePeakStrips_, sistrip::numOfBadFitStatusStrips_, sistrip::numOfBadJBProbabStrips_, sistrip::numOfBadKSProbabStrips_, sistrip::numOfBadLargeNoiseSignificanceStrips_, sistrip::numOfBadLargeNoiseStrips_, sistrip::numOfBadLowNoiseStrips_, sistrip::numOfBadShiftedStrips_, sistrip::numOfBadStrips_, sistrip::numOfBadTailStrips_, sistrip::numOfDeadStrips_, sistrip::numOfNoisy_, sistrip::OPTO_SCAN_BASELINE_LIFT_OFF, sistrip::OPTO_SCAN_LASER_THRESHOLD, sistrip::OPTO_SCAN_LINK_NOISE, sistrip::OPTO_SCAN_LLD_BIAS_SETTING, sistrip::OPTO_SCAN_LLD_GAIN_SETTING, sistrip::OPTO_SCAN_MEASURED_GAIN, sistrip::OPTO_SCAN_TICK_HEIGHT, sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL, sistrip::optoScanBaseLiftOff_, sistrip::optoScanLaserThresh_, sistrip::optoScanLinkNoise_, sistrip::optoScanLldBias_, sistrip::optoScanLldGain_, sistrip::optoScanMeasGain_, sistrip::optoScanTickHeight_, sistrip::optoScanZeroLight_, sistrip::PEDESTALS_ALL_STRIPS, sistrip::PEDESTALS_MAX, sistrip::PEDESTALS_MEAN, sistrip::PEDESTALS_MIN, sistrip::PEDESTALS_SPREAD, sistrip::pedestalsAllStrips_, sistrip::pedestalsMax_, sistrip::pedestalsMean_, sistrip::pedestalsMin_, sistrip::pedestalsSpread_, sistrip::RESIDUAL_GAUS_ALL_STRIPS, sistrip::RESIDUAL_INTEGRAL_ALL_STRIPS, sistrip::RESIDUAL_INTEGRALNSIGMA_ALL_STRIPS, sistrip::RESIDUAL_KURTOSIS_ALL_STRIPS, sistrip::RESIDUAL_MEAN_ALL_STRIPS, sistrip::RESIDUAL_RMS_ALL_STRIPS, sistrip::RESIDUAL_SKEWNESS_ALL_STRIPS, sistrip::residualIntegralAllStrips_, sistrip::residualIntegralNsigmaAllStrips_, sistrip::residualKurtosisAllStrips_, sistrip::residualMeanAllStrips_, sistrip::residualRMSAllStrips_, sistrip::residualSigmaGausAllStrips_, sistrip::residualSkewnessAllStrips_, sistrip::UNDEFINED_MONITORABLE, sistrip::undefinedMonitorable_, sistrip::UNKNOWN_MONITORABLE, sistrip::VPSP_SCAN_ADC_LEVEL, sistrip::VPSP_SCAN_APV0_SETTING, sistrip::VPSP_SCAN_APV1_SETTING, sistrip::VPSP_SCAN_APV_SETTINGS, sistrip::VPSP_SCAN_DIGITAL_HIGH, sistrip::VPSP_SCAN_DIGITAL_LOW, sistrip::vpspScanAdcLevel_, sistrip::vpspScanApv0_, sistrip::vpspScanApv1_, sistrip::vpspScanBothApvs_, sistrip::vpspScanDigitalHigh_, and sistrip::vpspScanDigitalLow_.

889  {
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 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationTurnOnMean_[]
static const char residualKurtosisAllStrips_[]
static const char calibrationTailTuned_[]
static const char calibrationRiseTimeMax_[]
static const char numOfBadFitStatusStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char residualIntegralNsigmaAllStrips_[]
static const char calibrationVFSBest_[]
static const char fastCablingMin_[]
static const char calibrationDecayTime_[]
static const char fedCablingAdcLevel_[]
static const char calibrationAmplitudeMax_[]
static const char residualSkewnessAllStrips_[]
static const char apvTimingHeight_[]
static const char apvTimingMax_[]
static const char numOfBadJBProbabStrips_[]
static const char numOfBadLargeNoiseStrips_[]
static const char optoScanTickHeight_[]
static const char calibrationUndershootMin_[]
static const char calibrationSmearingSpread_[]
static const char fineDelayPos_[]
static const char calibrationBaselineMax_[]
static const char chi2ProbabAllStrips_[]
static const char noiseMax_[]
static const char numOfBadChi2ProbabStrips_[]
static const char calibrationChi2Mean_[]
static const char noiseMin_[]
static const char calibrationTurnOnMax_[]
static const char calibrationUndershootMean_[]
static const char optoScanMeasGain_[]
static const char calibrationTurnOn_[]
static const char calibrationRiseTimeTuned_[]
static const char pedestalsMean_[]
static const char calibrationBaselineMin_[]
static const char fedTimingHeight_[]
static const char calibrationDecayTimeMin_[]
static const char numOfBadLargeNoiseSignificanceStrips_[]
static const char calibrationDecayTimeMax_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationAmplitudeSpread_[]
static const char calibrationSmearing_[]
static const char numOfBadTailStrips_[]
static const char numOfNoisy_[]
static const char calibrationTailMin_[]
static const char vpspScanDigitalHigh_[]
static const char calibrationISHABest_[]
static const char undefinedMonitorable_[]
static const char fastCablingLowRms_[]
static const char calibrationRiseTimeMean_[]
static const char optoScanBaseLiftOff_[]
static const char calibrationTailMax_[]
static const char fastCablingLldCh_[]
static const char optoScanZeroLight_[]
static const char vpspScanDigitalLow_[]
static const char calibrationBaselineMean_[]
static const char calibrationBaselineSpread_[]
static const char calibrationBaselineTuned_[]
static const char noiseSpread_[]
static const char calibrationSmearingMean_[]
static const char calibrationUndershootSpread_[]
static const char adProbabAllStrips_[]
static const char calibrationPeakTimeMin_[]
static const char calibrationBaseline_[]
static const char residualMeanAllStrips_[]
static const char numOfBadShiftedStrips_[]
static const char fastCablingMax_[]
static const char pedestalsMin_[]
static const char jbProbabAllStrips_[]
static const char calibrationTailMean_[]
static const char calibrationUndershootMax_[]
static const char calibrationISHATuned_[]
static const char fineDelayErr_[]
static const char residualSigmaGausAllStrips_[]
static const char residualIntegralAllStrips_[]
static const char calibrationTurnOnSpread_[]
static const char fastCablingLowLevel_[]
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 calibrationPeakTimeTuned_[]
static const char calibrationDecayTimeMean_[]
static const char calibrationVFSTuned_[]
static const char fedTimingMax_[]
static const char calibrationAmplitudeTuned_[]
static const char deadStripBit_[]
static const char calibrationChi2Spread_[]
static const char calibrationTurnOnMin_[]
static const char calibrationRiseTimeSpread_[]
static const char calibrationChi2_[]
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 calibrationPeakTimeSpread_[]
static const char apvTimingTime_[]
static const char fedTimingDelay_[]
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 noiseAllStrips_[]
static const char fedTimingTime_[]
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 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 pedestalsSpread_[]
static const char vpspScanBothApvs_[]
static const char calibrationPeakTimeMax_[]
static const char fastCablingHighRms_[]
static const char numOfBadStrips_[]
static const char calibrationDecayTimeTuned_[]
static const char pedestalsAllStrips_[]
std::string SiStripEnumsAndStrings::presentation ( const sistrip::Presentation type)
static

Definition at line 1237 of file SiStripEnumsAndStrings.cc.

References sistrip::histo1d_, sistrip::histo2dScatter_, sistrip::histo2dSum_, sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, sistrip::profile1D_, sistrip::PROFILE_1D, sistrip::UNDEFINED_PRESENTATION, sistrip::undefinedPresentation_, and sistrip::unknownPresentation_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), SummaryGenerator::histogram(), CommissioningHistograms::histogram(), SummaryPlotFactoryBase::init(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

1237  {
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 }
static const char unknownPresentation_[]
static const char histo2dScatter_[]
static const char profile1D_[]
static const char histo2dSum_[]
static const char undefinedPresentation_[]
static const char histo1d_[]
sistrip::Presentation SiStripEnumsAndStrings::presentation ( const std::string &  histo_presentation)
static

Definition at line 1255 of file SiStripEnumsAndStrings.cc.

References sistrip::histo1d_, sistrip::histo2dScatter_, sistrip::histo2dSum_, sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, sistrip::profile1D_, sistrip::PROFILE_1D, sistrip::UNDEFINED_PRESENTATION, sistrip::undefinedPresentation_, and sistrip::UNKNOWN_PRESENTATION.

1255  {
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 }
static const char histo2dScatter_[]
static const char profile1D_[]
static const char histo2dSum_[]
static const char undefinedPresentation_[]
static const char histo1d_[]
std::string SiStripEnumsAndStrings::runType ( const sistrip::RunType run_type)
static

Definition at line 39 of file SiStripEnumsAndStrings.cc.

References sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::apvLatencyRun_, sistrip::apvTimingRun_, sistrip::calibDeconRun_, sistrip::calibPeakRun_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::calibScanDeconRun_, sistrip::calibScanPeakRun_, sistrip::DAQ_SCOPE_MODE, sistrip::daqScopeModeRun_, sistrip::FAST_CABLING, sistrip::fastCablingRun_, sistrip::FED_CABLING, sistrip::FED_TIMING, sistrip::fedCablingRun_, sistrip::fedTimingRun_, sistrip::FINE_DELAY, sistrip::fineDelayRun_, sistrip::NOISE, sistrip::noiseRun_, sistrip::OPTO_SCAN, sistrip::optoScanRun_, sistrip::PEDESTALS, sistrip::pedestalsRun_, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, sistrip::pedsFullNoiseRun_, sistrip::pedsOnlyRun_, sistrip::PHYSICS, sistrip::physicsRun_, sistrip::UNDEFINED_RUN_TYPE, sistrip::undefinedRunType_, sistrip::unknownRunType_, sistrip::VPSP_SCAN, and sistrip::vpspScanRun_.

Referenced by SiStripCommissioningSource::analyze(), SiStripCommissioningOfflineClient::beginRun(), SiStripEventSummary::commissioningInfo(), SiStripCommissioningSource::createCablingTasks(), SiStripCommissioningSource::createTask(), SiStripHistoTitle::extractTitle(), SummaryGenerator::name(), operator<<(), SummaryPlotXmlParser::parseXML(), SummaryPlotXmlParser::print(), SiStripPartition::print(), SiStripTFile::readDQMFormat(), CommissioningHistograms::runType(), SiStripTFile::setDQMFormat(), SiStripHistoTitle::setTitle(), SiStripCommissioningRunTypeFilter::SiStripCommissioningRunTypeFilter(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), FastFedCablingAnalysis::summary(), CommissioningAnalysis::summary(), and PedsFullNoiseAnalysis::summary().

39  {
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 }
static const char fastCablingRun_[]
static const char vpspScanRun_[]
static const char calibScanPeakRun_[]
static const char calibScanDeconRun_[]
static const char physicsRun_[]
static const char fineDelayRun_[]
static const char apvTimingRun_[]
static const char pedsOnlyRun_[]
static const char pedestalsRun_[]
static const char noiseRun_[]
static const char pedsFullNoiseRun_[]
static const char undefinedRunType_[]
static const char calibPeakRun_[]
static const char fedTimingRun_[]
static const char unknownRunType_[]
static const char optoScanRun_[]
static const char fedCablingRun_[]
static const char calibDeconRun_[]
static const char daqScopeModeRun_[]
static const char apvLatencyRun_[]
sistrip::RunType SiStripEnumsAndStrings::runType ( const std::string &  run_type)
static

Definition at line 85 of file SiStripEnumsAndStrings.cc.

References sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::apvLatencyRun_, sistrip::apvTimingRun_, sistrip::calibDeconRun_, sistrip::calibPeakRun_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::calibScanDeconRun_, sistrip::calibScanPeakRun_, sistrip::DAQ_SCOPE_MODE, sistrip::daqScopeModeRun_, sistrip::FAST_CABLING, sistrip::fastCablingRun_, sistrip::FED_CABLING, sistrip::FED_TIMING, sistrip::fedCablingRun_, sistrip::fedTimingRun_, sistrip::FINE_DELAY, sistrip::fineDelayRun_, sistrip::NOISE, sistrip::noiseRun_, sistrip::OPTO_SCAN, sistrip::optoScanRun_, sistrip::PEDESTALS, sistrip::pedestalsRun_, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, sistrip::pedsFullNoiseRun_, sistrip::pedsOnlyRun_, sistrip::PHYSICS, sistrip::physicsRun_, sistrip::UNDEFINED_RUN_TYPE, sistrip::undefinedRunType_, sistrip::UNKNOWN_RUN_TYPE, sistrip::VPSP_SCAN, and sistrip::vpspScanRun_.

85  {
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 }
static const char fastCablingRun_[]
static const char vpspScanRun_[]
static const char calibScanPeakRun_[]
static const char calibScanDeconRun_[]
static const char physicsRun_[]
static const char fineDelayRun_[]
static const char apvTimingRun_[]
static const char pedsOnlyRun_[]
static const char pedestalsRun_[]
static const char noiseRun_[]
static const char pedsFullNoiseRun_[]
static const char undefinedRunType_[]
static const char calibPeakRun_[]
static const char fedTimingRun_[]
static const char optoScanRun_[]
static const char fedCablingRun_[]
static const char calibDeconRun_[]
static const char daqScopeModeRun_[]
static const char apvLatencyRun_[]
sistrip::RunType SiStripEnumsAndStrings::runType ( const uint16_t &  run_type)
static

Definition at line 172 of file SiStripEnumsAndStrings.cc.

References sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::DAQ_SCOPE_MODE, sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_TIMING, sistrip::FINE_DELAY, sistrip::FINE_DELAY_PLL, sistrip::FINE_DELAY_TTC, sistrip::invalid_, sistrip::MULTI_MODE, sistrip::NOISE, sistrip::OPTO_SCAN, sistrip::PEDESTALS, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, and sistrip::VPSP_SCAN.

172  {
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 }
static const uint16_t invalid_
Definition: Constants.h:16
std::string SiStripEnumsAndStrings::view ( const sistrip::View view)
static

Definition at line 5 of file SiStripEnumsAndStrings.cc.

References sistrip::CONTROL_VIEW, sistrip::controlView_, sistrip::DETECTOR_VIEW, sistrip::detectorView_, sistrip::READOUT_VIEW, sistrip::readoutView_, sistrip::UNDEFINED_VIEW, sistrip::undefinedView_, and sistrip::unknownView_.

Referenced by SummaryPlot::check(), FedTimingHistograms::createSummaryHisto(), FedCablingHistograms::createSummaryHisto(), CommissioningHistograms::createSummaryHisto(), CommissioningHistograms::extractHistograms(), SummaryPlotFactoryBase::init(), SummaryGenerator::instance(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

5  {
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 }
static const char unknownView_[]
static const char detectorView_[]
static const char undefinedView_[]
static std::string view(const sistrip::View &)
static const char controlView_[]
static const char readoutView_[]
sistrip::View SiStripEnumsAndStrings::view ( const std::string &  directory)
static

Definition at line 21 of file SiStripEnumsAndStrings.cc.

References sistrip::CONTROL_VIEW, sistrip::controlView_, sistrip::DETECTOR_VIEW, sistrip::detectorView_, sistrip::READOUT_VIEW, sistrip::readoutView_, sistrip::UNDEFINED_VIEW, sistrip::undefinedView_, and sistrip::UNKNOWN_VIEW.

21  {
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 }
static const char detectorView_[]
static const char undefinedView_[]
static const char controlView_[]
static const char readoutView_[]