CMS 3D CMS Logo

Static Public Member Functions

SiStripEnumsAndStrings Class Reference

#include <SiStripEnumsAndStrings.h>

List of all members.

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 sistrip::Monitorable monitorable (const std::string &histo_monitorable)
static std::string monitorable (const sistrip::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 uint16_t &)
static sistrip::RunType runType (const std::string &run_type)
static sistrip::View view (const std::string &directory)
static std::string view (const sistrip::View &)

Detailed Description

Definition at line 10 of file SiStripEnumsAndStrings.h.


Member Function Documentation

std::string SiStripEnumsAndStrings::apvReadoutMode ( const sistrip::ApvReadoutMode mode) [static]
sistrip::ApvReadoutMode SiStripEnumsAndStrings::apvReadoutMode ( const std::string &  apv_readout_mode) [static]
std::string SiStripEnumsAndStrings::cablingSource ( const sistrip::CablingSource source) [static]
sistrip::CablingSource SiStripEnumsAndStrings::cablingSource ( const std::string &  cabling_source) [static]
std::string SiStripEnumsAndStrings::fedReadoutMode ( const sistrip::FedReadoutMode mode) [static]
sistrip::FedReadoutMode SiStripEnumsAndStrings::fedReadoutMode ( const std::string &  fed_readout_mode) [static]
std::string SiStripEnumsAndStrings::granularity ( const sistrip::Granularity granularity) [static]

Definition at line 150 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 SummaryGeneratorReadoutView::fill(), SummaryGeneratorControlView::fill(), SummaryGenerator::format(), SummaryPlotFactoryBase::init(), and operator<<().

                                                                                     {
  // System
  if ( granularity == sistrip::TRACKER ) { return sistrip::tracker_; }
  else if ( granularity == sistrip::PARTITION ) { return sistrip::partition_; }
  else if ( granularity == sistrip::TIB ) { return sistrip::tib_; }
  else if ( granularity == sistrip::TOB ) { return sistrip::tob_; }
  else if ( granularity == sistrip::TEC ) { return sistrip::tec_; }
  // Sub-structure
  else if ( granularity == sistrip::LAYER ) { return sistrip::layer_; }
  else if ( granularity == sistrip::ROD ) { return sistrip::rod_; }
  else if ( granularity == sistrip::STRING ) { return sistrip::string_; }
  else if ( granularity == sistrip::DISK ) { return sistrip::disk_; }
  else if ( granularity == sistrip::PETAL ) { return sistrip::petal_; }
  else if ( granularity == sistrip::RING ) { return sistrip::ring_; }
  // Module and below
  else if ( granularity == sistrip::MODULE ) { return sistrip::module_; }
  else if ( granularity == sistrip::LLD_CHAN ) { return sistrip::lldChan_; }
  else if ( granularity == sistrip::APV ) { return sistrip::apv_; }
  // Readout
  else if ( granularity == sistrip::FED_SYSTEM ) { return sistrip::fedSystem_; }
  else if ( granularity == sistrip::FE_DRIVER ) { return sistrip::feDriver_; }
  else if ( granularity == sistrip::FE_UNIT ) { return sistrip::feUnit_; }
  else if ( granularity == sistrip::FE_CHAN ) { return sistrip::feChan_; }
  else if ( granularity == sistrip::FED_APV ) { return sistrip::fedApv_; }
  else if ( granularity == sistrip::FED_CHANNEL ) { return sistrip::fedChannel_; }
  // Control
  else if ( granularity == sistrip::FEC_SYSTEM ) { return sistrip::fecSystem_; }
  else if ( granularity == sistrip::FEC_CRATE ) { return sistrip::fecCrate_; }
  else if ( granularity == sistrip::FEC_SLOT ) { return sistrip::fecSlot_; }
  else if ( granularity == sistrip::FEC_RING ) { return sistrip::fecRing_; }
  else if ( granularity == sistrip::CCU_ADDR ) { return sistrip::ccuAddr_; }
  else if ( granularity == sistrip::CCU_CHAN ) { return sistrip::ccuChan_; }
  // Unknown
  else if ( granularity == sistrip::UNDEFINED_GRAN ) { return sistrip::undefinedGranularity_; }
  else { return sistrip::unknownGranularity_; }
}
sistrip::Granularity SiStripEnumsAndStrings::granularity ( const std::string &  granularity) [static]

Definition at line 189 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_, sistripsummary::TEC, sistrip::tec_, sistripsummary::TIB, sistrip::tib_, sistripsummary::TOB, sistrip::tob_, sistripsummary::TRACKER, sistrip::tracker_, sistrip::UNDEFINED_GRAN, sistrip::undefinedGranularity_, and sistrip::UNKNOWN_GRAN.

                                                                                     {
  // System
  if ( granularity.find( sistrip::tracker_ ) != std::string::npos ) { return sistrip::TRACKER; }
  else if ( granularity.find( sistrip::partition_ ) != std::string::npos ) { return sistrip::PARTITION; }
  else if ( granularity.find( sistrip::tib_ ) != std::string::npos ) { return sistrip::TIB; }
  else if ( granularity.find( sistrip::tob_ ) != std::string::npos ) { return sistrip::TOB; }
  else if ( granularity.find( sistrip::tec_ ) != std::string::npos ) { return sistrip::TEC; }
  // Readout
  else if ( granularity.find( sistrip::fedSystem_ ) != std::string::npos ) { return sistrip::FED_SYSTEM; }
  else if ( granularity.find( sistrip::feDriver_ ) != std::string::npos ) { return sistrip::FE_DRIVER; }
  else if ( granularity.find( sistrip::feUnit_ ) != std::string::npos ) { return sistrip::FE_UNIT; }
  else if ( granularity.find( sistrip::feChan_ ) != std::string::npos ) { return sistrip::FE_CHAN; }
  else if ( granularity.find( sistrip::fedApv_ ) != std::string::npos ) { return sistrip::FED_APV; }
  else if ( granularity.find( sistrip::fedChannel_ ) != std::string::npos ) { return sistrip::FED_CHANNEL; }
  // Control
  else if ( granularity.find( sistrip::fecSystem_ ) != std::string::npos ) { return sistrip::FEC_SYSTEM; }
  else if ( granularity.find( sistrip::fecCrate_ ) != std::string::npos ) { return sistrip::FEC_CRATE; }
  else if ( granularity.find( sistrip::fecSlot_ ) != std::string::npos ) { return sistrip::FEC_SLOT; }
  else if ( granularity.find( sistrip::fecRing_ ) != std::string::npos ) { return sistrip::FEC_RING; }
  else if ( granularity.find( sistrip::ccuAddr_ ) != std::string::npos ) { return sistrip::CCU_ADDR; }
  else if ( granularity.find( sistrip::ccuChan_ ) != std::string::npos ) { return sistrip::CCU_CHAN; }
  // Sub-structure
  else if ( granularity.find( sistrip::layer_ ) != std::string::npos ) { return sistrip::LAYER; }
  else if ( granularity.find( sistrip::rod_ ) != std::string::npos ) { return sistrip::ROD; }
  else if ( granularity.find( sistrip::string_ ) != std::string::npos ) { return sistrip::STRING; }
  else if ( granularity.find( sistrip::disk_ ) != std::string::npos ) { return sistrip::DISK; }
  else if ( granularity.find( sistrip::petal_ ) != std::string::npos ) { return sistrip::PETAL; }
  else if ( granularity.find( sistrip::ring_ ) != std::string::npos ) { return sistrip::RING; }
  // Module and below
  else if ( granularity.find( sistrip::module_ ) != std::string::npos ) { return sistrip::MODULE; }
  else if ( granularity.find( sistrip::lldChan_ ) != std::string::npos ) { return sistrip::LLD_CHAN; }
  else if ( granularity.find( sistrip::apv_ ) != std::string::npos ) { return sistrip::APV; } //@@ bug if before "FedApv"!
  // Unknown
  else if ( granularity.find( sistrip::undefinedGranularity_ ) != std::string::npos ) { return sistrip::UNDEFINED_GRAN; }
  else if ( granularity.empty() ) { return sistrip::UNDEFINED_GRAN; }
  else { return sistrip::UNKNOWN_GRAN; }
}  
std::string SiStripEnumsAndStrings::histoType ( const sistrip::HistoType type) [static]
sistrip::HistoType SiStripEnumsAndStrings::histoType ( const std::string &  histo_type) [static]

Definition at line 284 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.

                                                                          {
  if ( type.find( sistrip::expertHisto_ ) != std::string::npos ) { return sistrip::EXPERT_HISTO; }
  else if ( type.find( sistrip::summaryHisto_ ) != std::string::npos ) { return sistrip::SUMMARY_HISTO; }
  else if ( type.find( sistrip::undefinedHistoType_ ) != std::string::npos ) { return sistrip::UNDEFINED_HISTO_TYPE; } 
  else if ( type.empty() ) { return sistrip::UNDEFINED_HISTO_TYPE; } 
  else { return sistrip::UNKNOWN_HISTO_TYPE; }
}
std::string SiStripEnumsAndStrings::keyType ( const sistrip::KeyType key_type) [static]

Definition at line 129 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 operator<<().

                                                                          {
  if ( key_type == sistrip::FED_KEY ) { return sistrip::fedKey_; }
  else if ( key_type == sistrip::FEC_KEY ) { return sistrip::fecKey_; }
  else if ( key_type == sistrip::DET_KEY ) { return sistrip::detKey_; }
  else if ( key_type == sistrip::UNDEFINED_KEY )  { return sistrip::undefinedKey_; }
  else { return sistrip::unknownKey_; }
}
sistrip::KeyType SiStripEnumsAndStrings::keyType ( const std::string &  key_type) [static]

Definition at line 139 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.

                                                                          {
  if ( key_type.find ( sistrip::fedKey_) != std::string::npos ) { return sistrip::FED_KEY; }
  else if ( key_type.find( sistrip::fecKey_) != std::string::npos ) { return sistrip::FEC_KEY; }
  else if ( key_type.find( sistrip::detKey_) != std::string::npos ) { return sistrip::DET_KEY; }
  else if ( key_type.find( sistrip::undefinedKey_) != std::string::npos ) { return sistrip::UNDEFINED_KEY; }
  else if ( key_type.empty() ) { return sistrip::UNDEFINED_KEY; }
  else { return sistrip::UNKNOWN_KEY; }
}  
sistrip::Monitorable SiStripEnumsAndStrings::monitorable ( const std::string &  histo_monitorable) [static]

Definition at line 409 of file SiStripEnumsAndStrings.cc.

References 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::CALIBRATION_AMPLITUDE, sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_CHI2, sistrip::CALIBRATION_CHI2_ALLSTRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_RISETIME, sistrip::CALIBRATION_RISETIME_ALLSTRIPS, sistrip::CALIBRATION_RISETIME_MAX, sistrip::CALIBRATION_RISETIME_MIN, sistrip::CALIBRATION_SMEARING, sistrip::CALIBRATION_SMEARING_ALLSTRIPS, sistrip::CALIBRATION_SMEARING_MAX, sistrip::CALIBRATION_SMEARING_MIN, sistrip::CALIBRATION_TAIL, sistrip::CALIBRATION_TAIL_ALLSTRIPS, sistrip::CALIBRATION_TAIL_MAX, sistrip::CALIBRATION_TAIL_MIN, sistrip::CALIBRATION_TIMECONSTANT, sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS, sistrip::CALIBRATION_TIMECONSTANT_MAX, sistrip::CALIBRATION_TIMECONSTANT_MIN, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeAS_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationChi2_, sistrip::calibrationChi2AS_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Min_, sistrip::calibrationRiseTime_, sistrip::calibrationRiseTimeAS_, sistrip::calibrationRiseTimeMax_, sistrip::calibrationRiseTimeMin_, sistrip::calibrationSmearing_, sistrip::calibrationSmearingAS_, sistrip::calibrationSmearingMax_, sistrip::calibrationSmearingMin_, sistrip::calibrationTail_, sistrip::calibrationTailAS_, sistrip::calibrationTailMax_, sistrip::calibrationTailMin_, sistrip::calibrationTimeConstant_, sistrip::calibrationTimeConstantAS_, sistrip::calibrationTimeConstantMax_, sistrip::calibrationTimeConstantMin_, sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL, sistrip::daqScopeModeMeanSignal_, 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::NOISE_ALL_STRIPS, sistrip::NOISE_BIN_84_ALL_STRIPS, sistrip::NOISE_CHI2_ALL_STRIPS, sistrip::NOISE_GAUS_ALL_STRIPS, sistrip::NOISE_KS_ALL_STRIPS, sistrip::NOISE_MAX, sistrip::NOISE_MEAN, sistrip::NOISE_MIN, sistrip::NOISE_RMS_ALL_STRIPS, sistrip::NOISE_SIGNIF_ALL_STRIPS, sistrip::NOISE_SPREAD, sistrip::noiseAllStrips_, sistrip::noiseBin84AllStrips_, sistrip::noiseChi2AllStrips_, sistrip::noiseGausAllStrips_, sistrip::noiseKSAllStrips_, sistrip::noiseMax_, sistrip::noiseMean_, sistrip::noiseMin_, sistrip::noiseRMSAllStrips_, sistrip::noiseSignif_, sistrip::noiseSpread_, sistrip::NUM_OF_DEAD, sistrip::NUM_OF_NOISY, sistrip::numOfDead_, 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::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_.

                                                                             {

  // fed cabling
  if ( mon.find( sistrip::fedCablingFedId_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_ID; } 
  else if ( mon.find( sistrip::fedCablingFedCh_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_CH; } 
  else if ( mon.find( sistrip::fedCablingAdcLevel_ ) != std::string::npos ) { return sistrip::FED_CABLING_ADC_LEVEL; } 

  // fed cabling
  else if ( mon.find( sistrip::fastCablingDcuId_ ) != std::string::npos ) { return sistrip::FAST_CABLING_DCU_ID; } 
  else if ( mon.find( sistrip::fastCablingLldCh_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LLD_CH; } 
  else if ( mon.find( sistrip::fastCablingHighLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_LEVEL; } 
  else if ( mon.find( sistrip::fastCablingHighRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_RMS; } 
  else if ( mon.find( sistrip::fastCablingLowLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_LEVEL; } 
  else if ( mon.find( sistrip::fastCablingLowRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_RMS; } 
  else if ( mon.find( sistrip::fastCablingMax_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MAX; } 
  else if ( mon.find( sistrip::fastCablingMin_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MIN; } 
  else if ( mon.find( sistrip::fastCablingConnsPerFed_ ) != std::string::npos ) { return sistrip::FAST_CABLING_CONNS_PER_FED; }

  // apv timing
  else if ( mon.find( sistrip::apvTimingTime_ ) != std::string::npos ) { return sistrip::APV_TIMING_TIME; } 
  else if ( mon.find( sistrip::apvTimingMax_ ) != std::string::npos ) { return sistrip::APV_TIMING_MAX_TIME; }
  else if ( mon.find( sistrip::apvTimingDelay_ ) != std::string::npos ) { return sistrip::APV_TIMING_DELAY; }
  else if ( mon.find( sistrip::apvTimingError_ ) != std::string::npos ) { return sistrip::APV_TIMING_ERROR; }
  else if ( mon.find( sistrip::apvTimingBase_ ) != std::string::npos ) { return sistrip::APV_TIMING_BASE; }
  else if ( mon.find( sistrip::apvTimingPeak_ ) != std::string::npos ) { return sistrip::APV_TIMING_PEAK; }
  else if ( mon.find( sistrip::apvTimingHeight_ ) != std::string::npos ) { return sistrip::APV_TIMING_HEIGHT; }

  // fed timing
  else if ( mon.find( sistrip::fedTimingTime_ ) != std::string::npos ) { return sistrip::FED_TIMING_TIME; } 
  else if ( mon.find( sistrip::fedTimingMax_ ) != std::string::npos ) { return sistrip::FED_TIMING_MAX_TIME; }
  else if ( mon.find( sistrip::fedTimingDelay_ ) != std::string::npos ) { return sistrip::FED_TIMING_DELAY; }
  else if ( mon.find( sistrip::fedTimingError_ ) != std::string::npos ) { return sistrip::FED_TIMING_ERROR; }
  else if ( mon.find( sistrip::fedTimingBase_ ) != std::string::npos ) { return sistrip::FED_TIMING_BASE; }
  else if ( mon.find( sistrip::fedTimingPeak_ ) != std::string::npos ) { return sistrip::FED_TIMING_PEAK; }
  else if ( mon.find( sistrip::fedTimingHeight_ ) != std::string::npos ) { return sistrip::FED_TIMING_HEIGHT; }

  // opto scan
  else if ( mon.find( sistrip::optoScanLldGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_GAIN_SETTING; }
  else if ( mon.find( sistrip::optoScanLldBias_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_BIAS_SETTING; }
  else if ( mon.find( sistrip::optoScanMeasGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_MEASURED_GAIN; }
  else if ( mon.find( sistrip::optoScanZeroLight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL; }
  else if ( mon.find( sistrip::optoScanLinkNoise_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LINK_NOISE; }
  else if ( mon.find( sistrip::optoScanBaseLiftOff_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_BASELINE_LIFT_OFF; }
  else if ( mon.find( sistrip::optoScanLaserThresh_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LASER_THRESHOLD; }
  else if ( mon.find( sistrip::optoScanTickHeight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_TICK_HEIGHT; }

  // vpsp scan
  else if ( mon.find( sistrip::vpspScanBothApvs_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV_SETTINGS; }
  else if ( mon.find( sistrip::vpspScanApv0_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV0_SETTING; }
  else if ( mon.find( sistrip::vpspScanApv1_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV1_SETTING; }
  else if ( mon.find( sistrip::vpspScanAdcLevel_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_ADC_LEVEL; }
  else if ( mon.find( sistrip::vpspScanDigitalHigh_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_HIGH; }
  else if ( mon.find( sistrip::vpspScanDigitalLow_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_LOW; }
  
  // pedestals / noise
  else if ( mon.find( sistrip::pedestalsAllStrips_ ) != std::string::npos ) { return sistrip::PEDESTALS_ALL_STRIPS; }
  else if ( mon.find( sistrip::pedestalsMean_ ) != std::string::npos ) { return sistrip::PEDESTALS_MEAN; }
  else if ( mon.find( sistrip::pedestalsSpread_ ) != std::string::npos ) { return sistrip::PEDESTALS_SPREAD; }
  else if ( mon.find( sistrip::pedestalsMax_ ) != std::string::npos ) { return sistrip::PEDESTALS_MAX; }
  else if ( mon.find( sistrip::pedestalsMin_ ) != std::string::npos ) { return sistrip::PEDESTALS_MIN; }

  // noiseKS must come before the more general noiseAllStrips, since it contains that string
  else if ( mon.find( sistrip::noiseGausAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_GAUS_ALL_STRIPS; }
  else if ( mon.find( sistrip::noiseKSAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_KS_ALL_STRIPS; }
  else if ( mon.find( sistrip::noiseChi2AllStrips_ ) != std::string::npos ) { return sistrip::NOISE_CHI2_ALL_STRIPS; }
  else if ( mon.find( sistrip::noiseBin84AllStrips_ ) != std::string::npos ) { return sistrip::NOISE_BIN_84_ALL_STRIPS;}
  else if ( mon.find( sistrip::noiseRMSAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_RMS_ALL_STRIPS;}
  else if ( mon.find( sistrip::noiseSignif_ ) != std::string::npos ) { return sistrip::NOISE_SIGNIF_ALL_STRIPS; }
  else if ( mon.find( sistrip::noiseAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_ALL_STRIPS; }
  else if ( mon.find( sistrip::noiseMean_ ) != std::string::npos ) { return sistrip::NOISE_MEAN; }
  else if ( mon.find( sistrip::noiseSpread_ ) != std::string::npos ) { return sistrip::NOISE_SPREAD; }
  else if ( mon.find( sistrip::noiseMax_ ) != std::string::npos ) { return sistrip::NOISE_MAX; }
  else if ( mon.find( sistrip::noiseMin_ ) != std::string::npos ) { return sistrip::NOISE_MIN; }
  else if ( mon.find( sistrip::numOfDead_ ) != std::string::npos ) { return sistrip::NUM_OF_DEAD; }
  else if ( mon.find( sistrip::numOfNoisy_ ) != std::string::npos ) { return sistrip::NUM_OF_NOISY; }

  // fine delay
  else if ( mon.find( sistrip::fineDelayPos_ ) != std::string::npos ) { return sistrip::FINE_DELAY_POS; }
  else if ( mon.find( sistrip::fineDelayErr_ ) != std::string::npos ) { return sistrip::FINE_DELAY_ERROR; }
 
  // calibration
  else if ( mon.find( sistrip::calibrationAmplitudeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationTailAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationRiseTimeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationTimeConstantAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationSmearingAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationChi2AS_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_ALLSTRIPS; }
  else if ( mon.find( sistrip::calibrationAmplitudeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MIN; }
  else if ( mon.find( sistrip::calibrationTailMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MIN; }
  else if ( mon.find( sistrip::calibrationRiseTimeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MIN; }
  else if ( mon.find( sistrip::calibrationTimeConstantMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MIN; }
  else if ( mon.find( sistrip::calibrationSmearingMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MIN; }
  else if ( mon.find( sistrip::calibrationChi2Min_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MIN; }
  else if ( mon.find( sistrip::calibrationAmplitudeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MAX; }
  else if ( mon.find( sistrip::calibrationTailMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MAX; }
  else if ( mon.find( sistrip::calibrationRiseTimeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MAX; }
  else if ( mon.find( sistrip::calibrationTimeConstantMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MAX; }
  else if ( mon.find( sistrip::calibrationSmearingMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MAX; }
  else if ( mon.find( sistrip::calibrationChi2Max_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MAX; }
  else if ( mon.find( sistrip::calibrationAmplitude_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE; }
  else if ( mon.find( sistrip::calibrationTail_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL; }
  else if ( mon.find( sistrip::calibrationRiseTime_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME; }
  else if ( mon.find( sistrip::calibrationTimeConstant_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT; }
  else if ( mon.find( sistrip::calibrationSmearing_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING; }
  else if ( mon.find( sistrip::calibrationChi2_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2; }

  // scope mode
  else if ( mon.find( sistrip::daqScopeModeMeanSignal_ ) != std::string::npos ) { return sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL; }
  
  // unknown
  else if ( mon.find( sistrip::undefinedMonitorable_ ) != std::string::npos ) { return sistrip::UNDEFINED_MONITORABLE; }
  else if ( mon.empty() ) { return sistrip::UNDEFINED_MONITORABLE; }
  else { return sistrip::UNKNOWN_MONITORABLE; }
  
}  
std::string SiStripEnumsAndStrings::monitorable ( const sistrip::Monitorable mon) [static]

Definition at line 294 of file SiStripEnumsAndStrings.cc.

References 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::CALIBRATION_AMPLITUDE, sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_CHI2, sistrip::CALIBRATION_CHI2_ALLSTRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_RISETIME, sistrip::CALIBRATION_RISETIME_ALLSTRIPS, sistrip::CALIBRATION_RISETIME_MAX, sistrip::CALIBRATION_RISETIME_MIN, sistrip::CALIBRATION_SMEARING, sistrip::CALIBRATION_SMEARING_ALLSTRIPS, sistrip::CALIBRATION_SMEARING_MAX, sistrip::CALIBRATION_SMEARING_MIN, sistrip::CALIBRATION_TAIL, sistrip::CALIBRATION_TAIL_ALLSTRIPS, sistrip::CALIBRATION_TAIL_MAX, sistrip::CALIBRATION_TAIL_MIN, sistrip::CALIBRATION_TIMECONSTANT, sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS, sistrip::CALIBRATION_TIMECONSTANT_MAX, sistrip::CALIBRATION_TIMECONSTANT_MIN, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeAS_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationChi2_, sistrip::calibrationChi2AS_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Min_, sistrip::calibrationRiseTime_, sistrip::calibrationRiseTimeAS_, sistrip::calibrationRiseTimeMax_, sistrip::calibrationRiseTimeMin_, sistrip::calibrationSmearing_, sistrip::calibrationSmearingAS_, sistrip::calibrationSmearingMax_, sistrip::calibrationSmearingMin_, sistrip::calibrationTail_, sistrip::calibrationTailAS_, sistrip::calibrationTailMax_, sistrip::calibrationTailMin_, sistrip::calibrationTimeConstant_, sistrip::calibrationTimeConstantAS_, sistrip::calibrationTimeConstantMax_, sistrip::calibrationTimeConstantMin_, sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL, sistrip::daqScopeModeMeanSignal_, 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::NOISE_ALL_STRIPS, sistrip::NOISE_BIN_84_ALL_STRIPS, sistrip::NOISE_CHI2_ALL_STRIPS, sistrip::NOISE_GAUS_ALL_STRIPS, sistrip::NOISE_KS_ALL_STRIPS, sistrip::NOISE_MAX, sistrip::NOISE_MEAN, sistrip::NOISE_MIN, sistrip::NOISE_RMS_ALL_STRIPS, sistrip::NOISE_SIGNIF_ALL_STRIPS, sistrip::NOISE_SPREAD, sistrip::noiseAllStrips_, sistrip::noiseBin84AllStrips_, sistrip::noiseChi2AllStrips_, sistrip::noiseGausAllStrips_, sistrip::noiseKSAllStrips_, sistrip::noiseMax_, sistrip::noiseMean_, sistrip::noiseMin_, sistrip::noiseRMSAllStrips_, sistrip::noiseSignif_, sistrip::noiseSpread_, sistrip::NUM_OF_DEAD, sistrip::NUM_OF_NOISY, sistrip::numOfDead_, 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::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(), PedsFullNoiseSummaryFactory::extract(), PedsOnlySummaryFactory::extract(), SamplingSummaryFactory::extract(), FastFedCablingSummaryFactory::extract(), NoiseSummaryFactory::extract(), OptoScanSummaryFactory::extract(), CalibrationSummaryFactory::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), PedestalsSummaryFactory::extract(), VpspScanSummaryFactory::extract(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), SummaryPlotFactory< FedCablingAnalysis * >::fill(), ApvTimingSummaryFactory::format(), PedsOnlySummaryFactory::format(), PedestalsSummaryFactory::format(), VpspScanSummaryFactory::format(), CalibrationSummaryFactory::format(), OptoScanSummaryFactory::format(), PedsFullNoiseSummaryFactory::format(), NoiseSummaryFactory::format(), FastFedCablingSummaryFactory::format(), SamplingSummaryFactory::format(), SummaryPlotFactory< FedCablingAnalysis * >::init(), SummaryPlotFactoryBase::init(), and SummaryGenerator::name().

                                                                             {
  
  // fed cabling
  if ( mon == sistrip::FED_CABLING_FED_ID ) { return sistrip::fedCablingFedId_; } 
  else if ( mon == sistrip::FED_CABLING_FED_CH ) { return sistrip::fedCablingFedCh_; } 
  else if ( mon == sistrip::FED_CABLING_ADC_LEVEL ) { return sistrip::fedCablingAdcLevel_; }

  // fast fed cabling
  else if ( mon == sistrip::FAST_CABLING_DCU_ID ) { return sistrip::fastCablingDcuId_; } 
  else if ( mon == sistrip::FAST_CABLING_LLD_CH ) { return sistrip::fastCablingLldCh_; } 
  else if ( mon == sistrip::FAST_CABLING_HIGH_LEVEL ) { return sistrip::fastCablingHighLevel_; }
  else if ( mon == sistrip::FAST_CABLING_HIGH_RMS ) { return sistrip::fastCablingHighRms_; }
  else if ( mon == sistrip::FAST_CABLING_LOW_LEVEL ) { return sistrip::fastCablingLowLevel_; }
  else if ( mon == sistrip::FAST_CABLING_LOW_RMS ) { return sistrip::fastCablingLowRms_; }
  else if ( mon == sistrip::FAST_CABLING_MAX ) { return sistrip::fastCablingMax_; }
  else if ( mon == sistrip::FAST_CABLING_MIN ) { return sistrip::fastCablingMin_; }
  else if ( mon == sistrip::FAST_CABLING_CONNS_PER_FED ) { return sistrip::fastCablingConnsPerFed_; }
  
  // apv timing
  else if ( mon == sistrip::APV_TIMING_TIME ) { return sistrip::apvTimingTime_; } 
  else if ( mon == sistrip::APV_TIMING_MAX_TIME ) { return sistrip::apvTimingMax_; }
  else if ( mon == sistrip::APV_TIMING_DELAY ) { return sistrip::apvTimingDelay_; }
  else if ( mon == sistrip::APV_TIMING_ERROR ) { return sistrip::apvTimingError_; }
  else if ( mon == sistrip::APV_TIMING_BASE ) { return sistrip::apvTimingBase_; }
  else if ( mon == sistrip::APV_TIMING_PEAK ) { return sistrip::apvTimingPeak_; }
  else if ( mon == sistrip::APV_TIMING_HEIGHT ) { return sistrip::apvTimingHeight_; }

  // fed timing
  else if ( mon == sistrip::FED_TIMING_TIME ) { return sistrip::fedTimingTime_; } 
  else if ( mon == sistrip::FED_TIMING_MAX_TIME ) { return sistrip::fedTimingMax_; }
  else if ( mon == sistrip::FED_TIMING_DELAY ) { return sistrip::fedTimingDelay_; }
  else if ( mon == sistrip::FED_TIMING_ERROR ) { return sistrip::fedTimingError_; }
  else if ( mon == sistrip::FED_TIMING_BASE ) { return sistrip::fedTimingBase_; }
  else if ( mon == sistrip::FED_TIMING_PEAK ) { return sistrip::fedTimingPeak_; }
  else if ( mon == sistrip::FED_TIMING_HEIGHT ) { return sistrip::fedTimingHeight_; }

  // opto scan
  else if ( mon == sistrip::OPTO_SCAN_LLD_GAIN_SETTING ) { return sistrip::optoScanLldGain_; }
  else if ( mon == sistrip::OPTO_SCAN_LLD_BIAS_SETTING ) { return sistrip::optoScanLldBias_; }
  else if ( mon == sistrip::OPTO_SCAN_MEASURED_GAIN ) { return sistrip::optoScanMeasGain_; }
  else if ( mon == sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL ) { return sistrip::optoScanZeroLight_; }
  else if ( mon == sistrip::OPTO_SCAN_LINK_NOISE ) { return sistrip::optoScanLinkNoise_; }
  else if ( mon == sistrip::OPTO_SCAN_BASELINE_LIFT_OFF ) { return sistrip::optoScanBaseLiftOff_; }
  else if ( mon == sistrip::OPTO_SCAN_LASER_THRESHOLD ) { return sistrip::optoScanLaserThresh_; }
  else if ( mon == sistrip::OPTO_SCAN_TICK_HEIGHT ) { return sistrip::optoScanTickHeight_; }

  // vpsp scan
  else if ( mon == sistrip::VPSP_SCAN_APV_SETTINGS ) { return sistrip::vpspScanBothApvs_; }
  else if ( mon == sistrip::VPSP_SCAN_APV0_SETTING ) { return sistrip::vpspScanApv0_; }
  else if ( mon == sistrip::VPSP_SCAN_APV1_SETTING ) { return sistrip::vpspScanApv1_; }
  else if ( mon == sistrip::VPSP_SCAN_ADC_LEVEL ) { return sistrip::vpspScanAdcLevel_; }
  else if ( mon == sistrip::VPSP_SCAN_DIGITAL_HIGH ) { return sistrip::vpspScanDigitalHigh_; }
  else if ( mon == sistrip::VPSP_SCAN_DIGITAL_LOW ) { return sistrip::vpspScanDigitalLow_; }

  // pedestals / noise
  else if ( mon == sistrip::PEDESTALS_ALL_STRIPS ) { return sistrip::pedestalsAllStrips_; }
  else if ( mon == sistrip::PEDESTALS_MEAN ) { return sistrip::pedestalsMean_; }
  else if ( mon == sistrip::PEDESTALS_SPREAD ) { return sistrip::pedestalsSpread_; }
  else if ( mon == sistrip::PEDESTALS_MAX ) { return sistrip::pedestalsMax_; }
  else if ( mon == sistrip::PEDESTALS_MIN ) { return sistrip::pedestalsMin_; }
  else if ( mon == sistrip::NOISE_ALL_STRIPS ) { return sistrip::noiseAllStrips_; }
  else if ( mon == sistrip::NOISE_MEAN ) { return sistrip::noiseMean_; }
  else if ( mon == sistrip::NOISE_SPREAD ) { return sistrip::noiseSpread_; }
  else if ( mon == sistrip::NOISE_MAX ) { return sistrip::noiseMax_; }
  else if ( mon == sistrip::NOISE_MIN ) { return sistrip::noiseMin_; }
  else if ( mon == sistrip::NUM_OF_DEAD ) { return sistrip::numOfDead_; }
  else if ( mon == sistrip::NUM_OF_NOISY ) { return sistrip::numOfNoisy_; }
  else if ( mon == sistrip::NOISE_GAUS_ALL_STRIPS ) { return sistrip::noiseGausAllStrips_; }
  else if ( mon == sistrip::NOISE_KS_ALL_STRIPS ) { return sistrip::noiseKSAllStrips_; }
  else if ( mon == sistrip::NOISE_CHI2_ALL_STRIPS ) { return sistrip::noiseChi2AllStrips_; }
  else if ( mon == sistrip::NOISE_BIN_84_ALL_STRIPS) { return sistrip::noiseBin84AllStrips_; }
  else if ( mon == sistrip::NOISE_RMS_ALL_STRIPS) { return sistrip::noiseRMSAllStrips_; }
  else if ( mon == sistrip::NOISE_SIGNIF_ALL_STRIPS ) { return sistrip::noiseSignif_; }

  // fine delay
  else if ( mon == sistrip::FINE_DELAY_POS) { return sistrip::fineDelayPos_; }
  else if ( mon == sistrip::FINE_DELAY_ERROR) { return sistrip::fineDelayErr_; }

  // calibration
  else if ( mon == sistrip::CALIBRATION_AMPLITUDE) { return sistrip::calibrationAmplitude_; }
  else if ( mon == sistrip::CALIBRATION_TAIL) { return sistrip::calibrationTail_; }
  else if ( mon == sistrip::CALIBRATION_RISETIME) { return sistrip::calibrationRiseTime_; }
  else if ( mon == sistrip::CALIBRATION_TIMECONSTANT) { return sistrip::calibrationTimeConstant_; }
  else if ( mon == sistrip::CALIBRATION_SMEARING) { return sistrip::calibrationSmearing_; }
  else if ( mon == sistrip::CALIBRATION_CHI2) { return sistrip::calibrationChi2_; }
  else if ( mon == sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS) { return sistrip::calibrationAmplitudeAS_; }
  else if ( mon == sistrip::CALIBRATION_TAIL_ALLSTRIPS) { return sistrip::calibrationTailAS_; }
  else if ( mon == sistrip::CALIBRATION_RISETIME_ALLSTRIPS) { return sistrip::calibrationRiseTimeAS_; }
  else if ( mon == sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS) { return sistrip::calibrationTimeConstantAS_; }
  else if ( mon == sistrip::CALIBRATION_SMEARING_ALLSTRIPS) { return sistrip::calibrationSmearingAS_; }
  else if ( mon == sistrip::CALIBRATION_CHI2_ALLSTRIPS) { return sistrip::calibrationChi2AS_; }
  else if ( mon == sistrip::CALIBRATION_AMPLITUDE_MIN) { return sistrip::calibrationAmplitudeMin_; }
  else if ( mon == sistrip::CALIBRATION_TAIL_MIN) { return sistrip::calibrationTailMin_; }
  else if ( mon == sistrip::CALIBRATION_RISETIME_MIN) { return sistrip::calibrationRiseTimeMin_; }
  else if ( mon == sistrip::CALIBRATION_TIMECONSTANT_MIN) { return sistrip::calibrationTimeConstantMin_; }
  else if ( mon == sistrip::CALIBRATION_SMEARING_MIN) { return sistrip::calibrationSmearingMin_; }
  else if ( mon == sistrip::CALIBRATION_CHI2_MIN) { return sistrip::calibrationChi2Min_; }
  else if ( mon == sistrip::CALIBRATION_AMPLITUDE_MAX) { return sistrip::calibrationAmplitudeMax_; }
  else if ( mon == sistrip::CALIBRATION_TAIL_MAX) { return sistrip::calibrationTailMax_; }
  else if ( mon == sistrip::CALIBRATION_RISETIME_MAX) { return sistrip::calibrationRiseTimeMax_; }
  else if ( mon == sistrip::CALIBRATION_TIMECONSTANT_MAX) { return sistrip::calibrationTimeConstantMax_; }
  else if ( mon == sistrip::CALIBRATION_SMEARING_MAX) { return sistrip::calibrationSmearingMax_; }
  else if ( mon == sistrip::CALIBRATION_CHI2_MAX) { return sistrip::calibrationChi2Max_; }
  
  // scope mode 
  else if ( mon == sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL ) { return sistrip::daqScopeModeMeanSignal_; }

  // unknown
  else if ( mon == sistrip::UNDEFINED_MONITORABLE ) { return sistrip::undefinedMonitorable_; }
  else { return sistrip::unknownMonitorable_; }
  
}
std::string SiStripEnumsAndStrings::presentation ( const sistrip::Presentation type) [static]
sistrip::Presentation SiStripEnumsAndStrings::presentation ( const std::string &  histo_presentation) [static]

Definition at line 538 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.

                                                                                {
  if ( type.find( sistrip::histo1d_ ) != std::string::npos ) { return sistrip::HISTO_1D; } 
  else if ( type.find( sistrip::histo2dSum_ ) != std::string::npos ) { return sistrip::HISTO_2D_SUM; }
  else if ( type.find( sistrip::histo2dScatter_ ) != std::string::npos ) { return sistrip::HISTO_2D_SCATTER; }
  else if ( type.find( sistrip::profile1D_ ) != std::string::npos ) { return sistrip::PROFILE_1D; }
  else if ( type.find( sistrip::undefinedPresentation_ ) != std::string::npos ) { return sistrip::UNDEFINED_PRESENTATION; }
  else if ( type.empty() ) { return sistrip::UNDEFINED_PRESENTATION; }
  else { return sistrip::UNKNOWN_PRESENTATION; }
}
std::string SiStripEnumsAndStrings::runType ( const sistrip::RunType run_type) [static]

Definition at line 28 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::createTask(), operator<<(), and SiStripCommissioningRunTypeFilter::SiStripCommissioningRunTypeFilter().

                                                                          {
  if ( run_type == sistrip::FAST_CABLING ) { return sistrip::fastCablingRun_; }
  else if ( run_type == sistrip::FED_CABLING ) { return sistrip::fedCablingRun_; }
  else if ( run_type == sistrip::APV_TIMING ) { return sistrip::apvTimingRun_; }
  else if ( run_type == sistrip::FED_TIMING ) { return sistrip::fedTimingRun_; }
  else if ( run_type == sistrip::OPTO_SCAN ) { return sistrip::optoScanRun_; }
  else if ( run_type == sistrip::VPSP_SCAN ) { return sistrip::vpspScanRun_; }
  else if ( run_type == sistrip::PEDESTALS ) { return sistrip::pedestalsRun_; }
  else if ( run_type == sistrip::PEDS_ONLY ) { return sistrip::pedsOnlyRun_; }
  else if ( run_type == sistrip::NOISE ) { return sistrip::noiseRun_; }
  else if ( run_type == sistrip::PEDS_FULL_NOISE ) { return sistrip::pedsFullNoiseRun_; }
  else if ( run_type == sistrip::APV_LATENCY ){ return sistrip::apvLatencyRun_; }
  else if ( run_type == sistrip::FINE_DELAY ){ return sistrip::fineDelayRun_; }
  else if ( run_type == sistrip::CALIBRATION ){ return sistrip::calibPeakRun_; }
  else if ( run_type == sistrip::CALIBRATION_DECO ){ return sistrip::calibDeconRun_; }
  else if ( run_type == sistrip::CALIBRATION_SCAN ){ return sistrip::calibScanPeakRun_; }
  else if ( run_type == sistrip::CALIBRATION_SCAN_DECO ){ return sistrip::calibScanDeconRun_; }
  else if ( run_type == sistrip::DAQ_SCOPE_MODE ){ return sistrip::daqScopeModeRun_; }
  else if ( run_type == sistrip::PHYSICS ){ return sistrip::physicsRun_; }
  else if ( run_type == sistrip::UNDEFINED_RUN_TYPE ) { return sistrip::undefinedRunType_; }
  else { return sistrip::unknownRunType_; }
}
sistrip::RunType SiStripEnumsAndStrings::runType ( const uint16_t &  run_type) [static]

Definition at line 98 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.

                                                                         {
  if      ( run_type ==  1 ) { return sistrip::PHYSICS; }
  else if ( run_type ==  2 ) { return sistrip::PEDESTALS; }
  else if ( run_type ==  3 ) { return sistrip::CALIBRATION; }
  else if ( run_type ==  4 ) { return sistrip::OPTO_SCAN; }
  else if ( run_type ==  5 ) { return sistrip::APV_TIMING; }
  else if ( run_type ==  6 ) { return sistrip::APV_LATENCY; }
  else if ( run_type ==  7 ) { return sistrip::FINE_DELAY_PLL; }
  else if ( run_type ==  8 ) { return sistrip::FINE_DELAY_TTC; }
  else if ( run_type == 10 ) { return sistrip::MULTI_MODE; }
  else if ( run_type == 11 ) { return sistrip::FED_CABLING; }
  else if ( run_type == 12 ) { return sistrip::FED_TIMING; }
  else if ( run_type == 13 ) { return sistrip::FED_CABLING; }
  else if ( run_type == 14 ) { return sistrip::VPSP_SCAN; }
  else if ( run_type == 15 ) { return sistrip::DAQ_SCOPE_MODE; }
  else if ( run_type == 16 ) { return sistrip::QUITE_FAST_CABLING; }
  else if ( run_type == 17 ) { return sistrip::FINE_DELAY; } //@@ layer
  else if ( run_type == 18 ) { return sistrip::PHYSICS_ZS; }
  else if ( run_type == 19 ) { return sistrip::CALIBRATION_SCAN; }
  else if ( run_type == 20 ) { return sistrip::CALIBRATION_SCAN_DECO; }
  else if ( run_type == 21 ) { return sistrip::FAST_CABLING; }
  else if ( run_type == 22 ) { return sistrip::PEDS_ONLY; }
  else if ( run_type == 23 ) { return sistrip::NOISE; }
  else if ( run_type == 24 ) { return sistrip::PEDS_FULL_NOISE; }
  else if ( run_type == 33 ) { return sistrip::CALIBRATION_DECO; }
  else if ( run_type == sistrip::invalid_ ) { return sistrip::UNDEFINED_RUN_TYPE; }
  else { return sistrip::UNKNOWN_RUN_TYPE; }
}
sistrip::RunType SiStripEnumsAndStrings::runType ( const std::string &  run_type) [static]

Definition at line 53 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_.

                                                                          {
  if ( run_type.find( sistrip::fastCablingRun_ ) != std::string::npos ) { return sistrip::FAST_CABLING; }
  else if ( run_type.find( sistrip::fedCablingRun_ ) != std::string::npos ) { return sistrip::FED_CABLING; }
  else if ( run_type.find( sistrip::apvTimingRun_ ) != std::string::npos ) { return sistrip::APV_TIMING; }
  else if ( run_type.find( sistrip::fedTimingRun_ ) != std::string::npos ) { return sistrip::FED_TIMING; }
  else if ( run_type.find( sistrip::optoScanRun_ ) != std::string::npos ) { return sistrip::OPTO_SCAN; }
  else if ( run_type.find( sistrip::vpspScanRun_ ) != std::string::npos ) { return sistrip::VPSP_SCAN; }
  else if ( run_type.find( sistrip::pedestalsRun_ ) != std::string::npos ) { return sistrip::PEDESTALS; }
  else if ( run_type.find( sistrip::pedsOnlyRun_ ) != std::string::npos ) { return sistrip::PEDS_ONLY; }
  else if ( run_type.find( sistrip::pedsFullNoiseRun_ ) != std::string::npos ) { return sistrip::PEDS_FULL_NOISE; } // needs to be before noise, otherwise name mismatch
  else if ( run_type.find( sistrip::noiseRun_ ) != std::string::npos ) { return sistrip::NOISE; }
  else if ( run_type.find( sistrip::fineDelayRun_ ) != std::string::npos ) { return sistrip::FINE_DELAY; }
  else if ( run_type.find( sistrip::calibPeakRun_ ) != std::string::npos ) { return sistrip::CALIBRATION; }
  else if ( run_type.find( sistrip::calibScanPeakRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_SCAN; }
  else if ( run_type.find( sistrip::calibDeconRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_DECO; }
  else if ( run_type.find( sistrip::calibScanDeconRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_SCAN_DECO; }
  else if ( run_type.find( sistrip::apvLatencyRun_ ) != std::string::npos ) { return sistrip::APV_LATENCY; }
  else if ( run_type.find( sistrip::daqScopeModeRun_ ) != std::string::npos ) { return sistrip::DAQ_SCOPE_MODE; }
  else if ( run_type.find( sistrip::physicsRun_ ) != std::string::npos ) { return sistrip::PHYSICS; }
  else if ( run_type.find( sistrip::undefinedRunType_ ) != std::string::npos ) { return sistrip::UNDEFINED_RUN_TYPE; }
  else if ( run_type.empty() ) { return sistrip::UNDEFINED_RUN_TYPE; }
  else if ( run_type == "FAST_CABLING" ) { return sistrip::FAST_CABLING; }
  else if ( run_type == "FED_CABLING" ) { return sistrip::FED_CABLING; }
  else if ( run_type == "APV_TIMING" ) { return sistrip::APV_TIMING; }
  else if ( run_type == "FED_TIMING" ) { return sistrip::FED_TIMING; }
  else if ( run_type == "OPTO_SCAN" ) { return sistrip::OPTO_SCAN; }
  else if ( run_type == "VPSP_SCAN" ) { return sistrip::VPSP_SCAN; }
  else if ( run_type == "PEDESTALS" ) { return sistrip::PEDESTALS; }
  else if ( run_type == "PEDS_FULL_NOISE" ) { return sistrip::PEDS_FULL_NOISE; }
  else if ( run_type == "PEDS_ONLY" ) { return sistrip::PEDS_ONLY; }
  else if ( run_type == "NOISE" ) { return sistrip::NOISE; }
  else if ( run_type == "APV_LATENCY" ) { return sistrip::APV_LATENCY; }
  else if ( run_type == "FINE_DELAY" ) { return sistrip::FINE_DELAY; }
  else if ( run_type == "CALIBRATION" ) { return sistrip::CALIBRATION; }
  else if ( run_type == "CALIBRATION_SCAN" ) { return sistrip::CALIBRATION_SCAN; }
  else if ( run_type == "CALIBRATION_DECO" ) { return sistrip::CALIBRATION_DECO; }
  else if ( run_type == "CALIBRATION_SCAN_DECO" ) { return sistrip::CALIBRATION_SCAN_DECO; }
  else if ( run_type == "DAQ_SCOPE_MODE" ) { return sistrip::DAQ_SCOPE_MODE; }
  else if ( run_type == "PHYSICS" ) { return sistrip::PHYSICS; }
  else if ( run_type == "UNDEFINED" ) { return sistrip::UNDEFINED_RUN_TYPE; }
  else { return sistrip::UNKNOWN_RUN_TYPE; }
}
sistrip::View SiStripEnumsAndStrings::view ( const std::string &  directory) [static]

Definition at line 17 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.

                                                               {
  if      ( dir.find( sistrip::readoutView_ ) != std::string::npos ) { return sistrip::READOUT_VIEW; } 
  else if ( dir.find( sistrip::controlView_ ) != std::string::npos ) { return sistrip::CONTROL_VIEW; } 
  else if ( dir.find( sistrip::detectorView_ ) != std::string::npos ) { return sistrip::DETECTOR_VIEW; } 
  else if ( dir.find( sistrip::undefinedView_ ) != std::string::npos ) { return sistrip::UNDEFINED_VIEW; } 
  else if ( dir.empty() ) { return sistrip::UNDEFINED_VIEW; } 
  else { return sistrip::UNKNOWN_VIEW; }
}
std::string SiStripEnumsAndStrings::view ( const sistrip::View view) [static]