CMS 3D CMS Logo

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 227 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 237 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.

237  {
238  if ( mode.find( sistrip::apvPeakMode_ ) != std::string::npos ) { return sistrip::APV_PEAK_MODE; }
239  else if ( mode.find( sistrip::apvDeconMode_ ) != std::string::npos ) { return sistrip::APV_DECON_MODE; }
240  else if ( mode.find( sistrip::apvMultiMode_ ) != std::string::npos ) { return sistrip::APV_MULTI_MODE; }
241  else if ( mode.find( sistrip::undefinedApvReadoutMode_ ) != std::string::npos ) { return sistrip::UNDEFINED_APV_READOUT_MODE; }
242  else if ( mode.empty() ) { return sistrip::UNDEFINED_APV_READOUT_MODE; }
243  else { return sistrip::UNKNOWN_APV_READOUT_MODE; }
244 }
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 636 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().

sistrip::CablingSource SiStripEnumsAndStrings::cablingSource ( const std::string &  cabling_source)
static

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

646  {
647  if ( source.find( sistrip::cablingFromConns_ ) != std::string::npos ) { return sistrip::CABLING_FROM_CONNS; }
648  else if ( source.find( sistrip::cablingFromDevices_ ) != std::string::npos ) { return sistrip::CABLING_FROM_DEVICES; }
649  else if ( source.find( sistrip::cablingFromDetIds_ ) != std::string::npos ) { return sistrip::CABLING_FROM_DETIDS; }
650  else if ( source.find( sistrip::undefinedCablingSource_ ) != std::string::npos ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
651  else if ( source.empty() ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
652  else if ( source == "CONNECTIONS" ) { return sistrip::CABLING_FROM_CONNS; }
653  else if ( source == "DEVICES" ) { return sistrip::CABLING_FROM_DEVICES; }
654  else if ( source == "DETIDS" ) { return sistrip::CABLING_FROM_DETIDS; }
655  else if ( source == "UNDEFINED" ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
656  else { return sistrip::UNKNOWN_CABLING_SOURCE; }
657 }
static const char undefinedCablingSource_[]
static const char cablingFromDevices_[]
static const char cablingFromConns_[]
static const char cablingFromDetIds_[]
static std::string const source
Definition: EdmProvDump.cc:44
std::string SiStripEnumsAndStrings::fedReadoutMode ( const sistrip::FedReadoutMode mode)
static

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

248  {
250  else if ( mode == sistrip::FED_VIRGIN_RAW ) { return sistrip::fedVirginRaw_; }
251  else if ( mode == sistrip::FED_PROC_RAW ) { return sistrip::fedProcRaw_; }
252  else if ( mode == sistrip::FED_ZERO_SUPPR ) { return sistrip::fedZeroSuppr_; }
262  else { return sistrip::unknownFedReadoutMode_; }
263 }
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 267 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.

267  {
268  if ( mode.find( sistrip::fedScopeMode_ ) != std::string::npos ) { return sistrip::FED_SCOPE_MODE; }
269  else if ( mode.find( sistrip::fedVirginRaw_ ) != std::string::npos ) { return sistrip::FED_VIRGIN_RAW; }
270  else if ( mode.find( sistrip::fedProcRaw_ ) != std::string::npos ) { return sistrip::FED_PROC_RAW; }
271  else if ( mode.find( sistrip::fedZeroSuppr_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR; }
272  else if ( mode.find( sistrip::fedZeroSupprLite_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE; }
273  else if ( mode.find( sistrip::fedZeroSupprLiteCMO_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE_CMO; }
274  else if ( mode.find( sistrip::fedZeroSupprLite8TT_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_TT; }
275  else if ( mode.find( sistrip::fedZeroSupprLite8TTCMO_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_TT_CMO; }
276  else if ( mode.find( sistrip::fedZeroSupprLite8TB_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_TB; }
277  else if ( mode.find( sistrip::fedZeroSupprLite8TBCMO_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_TB_CMO; }
278  else if ( mode.find( sistrip::fedZeroSupprLite8BB_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_BB; }
279  else if ( mode.find( sistrip::fedZeroSupprLite8BBCMO_ ) != std::string::npos ) { return sistrip::FED_ZERO_SUPPR_LITE8_BB_CMO; }
280  else if ( mode.find( sistrip::undefinedFedReadoutMode_ ) != std::string::npos ) { return sistrip::UNDEFINED_FED_READOUT_MODE; }
281  else if ( mode.empty() ) { return sistrip::UNDEFINED_FED_READOUT_MODE; }
282  else { return sistrip::UNKNOWN_FED_READOUT_MODE; }
283 }
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 148 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().

148  {
149  // System
150  if ( granularity == sistrip::TRACKER ) { return sistrip::tracker_; }
151  else if ( granularity == sistrip::PARTITION ) { return sistrip::partition_; }
152  else if ( granularity == sistrip::TIB ) { return sistrip::tib_; }
153  else if ( granularity == sistrip::TOB ) { return sistrip::tob_; }
154  else if ( granularity == sistrip::TEC ) { return sistrip::tec_; }
155  // Sub-structure
156  else if ( granularity == sistrip::LAYER ) { return sistrip::layer_; }
157  else if ( granularity == sistrip::ROD ) { return sistrip::rod_; }
158  else if ( granularity == sistrip::STRING ) { return sistrip::string_; }
159  else if ( granularity == sistrip::DISK ) { return sistrip::disk_; }
160  else if ( granularity == sistrip::PETAL ) { return sistrip::petal_; }
161  else if ( granularity == sistrip::RING ) { return sistrip::ring_; }
162  // Module and below
163  else if ( granularity == sistrip::MODULE ) { return sistrip::module_; }
164  else if ( granularity == sistrip::LLD_CHAN ) { return sistrip::lldChan_; }
165  else if ( granularity == sistrip::APV ) { return sistrip::apv_; }
166  // Readout
167  else if ( granularity == sistrip::FED_SYSTEM ) { return sistrip::fedSystem_; }
168  else if ( granularity == sistrip::FE_DRIVER ) { return sistrip::feDriver_; }
169  else if ( granularity == sistrip::FE_UNIT ) { return sistrip::feUnit_; }
170  else if ( granularity == sistrip::FE_CHAN ) { return sistrip::feChan_; }
171  else if ( granularity == sistrip::FED_APV ) { return sistrip::fedApv_; }
172  else if ( granularity == sistrip::FED_CHANNEL ) { return sistrip::fedChannel_; }
173  // Control
174  else if ( granularity == sistrip::FEC_SYSTEM ) { return sistrip::fecSystem_; }
175  else if ( granularity == sistrip::FEC_CRATE ) { return sistrip::fecCrate_; }
176  else if ( granularity == sistrip::FEC_SLOT ) { return sistrip::fecSlot_; }
177  else if ( granularity == sistrip::FEC_RING ) { return sistrip::fecRing_; }
178  else if ( granularity == sistrip::CCU_ADDR ) { return sistrip::ccuAddr_; }
179  else if ( granularity == sistrip::CCU_CHAN ) { return sistrip::ccuChan_; }
180  // Unknown
182  else { return sistrip::unknownGranularity_; }
183 }
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 187 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.

187  {
188  // System
189  if ( granularity.find( sistrip::tracker_ ) != std::string::npos ) { return sistrip::TRACKER; }
190  else if ( granularity.find( sistrip::partition_ ) != std::string::npos ) { return sistrip::PARTITION; }
191  else if ( granularity.find( sistrip::tib_ ) != std::string::npos ) { return sistrip::TIB; }
192  else if ( granularity.find( sistrip::tob_ ) != std::string::npos ) { return sistrip::TOB; }
193  else if ( granularity.find( sistrip::tec_ ) != std::string::npos ) { return sistrip::TEC; }
194  // Readout
195  else if ( granularity.find( sistrip::fedSystem_ ) != std::string::npos ) { return sistrip::FED_SYSTEM; }
196  else if ( granularity.find( sistrip::feDriver_ ) != std::string::npos ) { return sistrip::FE_DRIVER; }
197  else if ( granularity.find( sistrip::feUnit_ ) != std::string::npos ) { return sistrip::FE_UNIT; }
198  else if ( granularity.find( sistrip::feChan_ ) != std::string::npos ) { return sistrip::FE_CHAN; }
199  else if ( granularity.find( sistrip::fedApv_ ) != std::string::npos ) { return sistrip::FED_APV; }
200  else if ( granularity.find( sistrip::fedChannel_ ) != std::string::npos ) { return sistrip::FED_CHANNEL; }
201  // Control
202  else if ( granularity.find( sistrip::fecSystem_ ) != std::string::npos ) { return sistrip::FEC_SYSTEM; }
203  else if ( granularity.find( sistrip::fecCrate_ ) != std::string::npos ) { return sistrip::FEC_CRATE; }
204  else if ( granularity.find( sistrip::fecSlot_ ) != std::string::npos ) { return sistrip::FEC_SLOT; }
205  else if ( granularity.find( sistrip::fecRing_ ) != std::string::npos ) { return sistrip::FEC_RING; }
206  else if ( granularity.find( sistrip::ccuAddr_ ) != std::string::npos ) { return sistrip::CCU_ADDR; }
207  else if ( granularity.find( sistrip::ccuChan_ ) != std::string::npos ) { return sistrip::CCU_CHAN; }
208  // Sub-structure
209  else if ( granularity.find( sistrip::layer_ ) != std::string::npos ) { return sistrip::LAYER; }
210  else if ( granularity.find( sistrip::rod_ ) != std::string::npos ) { return sistrip::ROD; }
211  else if ( granularity.find( sistrip::string_ ) != std::string::npos ) { return sistrip::STRING; }
212  else if ( granularity.find( sistrip::disk_ ) != std::string::npos ) { return sistrip::DISK; }
213  else if ( granularity.find( sistrip::petal_ ) != std::string::npos ) { return sistrip::PETAL; }
214  else if ( granularity.find( sistrip::ring_ ) != std::string::npos ) { return sistrip::RING; }
215  // Module and below
216  else if ( granularity.find( sistrip::module_ ) != std::string::npos ) { return sistrip::MODULE; }
217  else if ( granularity.find( sistrip::lldChan_ ) != std::string::npos ) { return sistrip::LLD_CHAN; }
218  else if ( granularity.find( sistrip::apv_ ) != std::string::npos ) { return sistrip::APV; } //@@ bug if before "FedApv"!
219  // Unknown
220  else if ( granularity.find( sistrip::undefinedGranularity_ ) != std::string::npos ) { return sistrip::UNDEFINED_GRAN; }
221  else if ( granularity.empty() ) { return sistrip::UNDEFINED_GRAN; }
222  else { return sistrip::UNKNOWN_GRAN; }
223 }
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 296 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.

296  {
297  if ( type.find( sistrip::expertHisto_ ) != std::string::npos ) { return sistrip::EXPERT_HISTO; }
298  else if ( type.find( sistrip::summaryHisto_ ) != std::string::npos ) { return sistrip::SUMMARY_HISTO; }
299  else if ( type.find( sistrip::undefinedHistoType_ ) != std::string::npos ) { return sistrip::UNDEFINED_HISTO_TYPE; }
300  else if ( type.empty() ) { return sistrip::UNDEFINED_HISTO_TYPE; }
301  else { return sistrip::UNKNOWN_HISTO_TYPE; }
302 }
type
Definition: HCALResponse.h:21
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 127 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().

127  {
128  if ( key_type == sistrip::FED_KEY ) { return sistrip::fedKey_; }
129  else if ( key_type == sistrip::FEC_KEY ) { return sistrip::fecKey_; }
130  else if ( key_type == sistrip::DET_KEY ) { return sistrip::detKey_; }
131  else if ( key_type == sistrip::UNDEFINED_KEY ) { return sistrip::undefinedKey_; }
132  else { return sistrip::unknownKey_; }
133 }
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 137 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.

137  {
138  if ( key_type.find ( sistrip::fedKey_) != std::string::npos ) { return sistrip::FED_KEY; }
139  else if ( key_type.find( sistrip::fecKey_) != std::string::npos ) { return sistrip::FEC_KEY; }
140  else if ( key_type.find( sistrip::detKey_) != std::string::npos ) { return sistrip::DET_KEY; }
141  else if ( key_type.find( sistrip::undefinedKey_) != std::string::npos ) { return sistrip::UNDEFINED_KEY; }
142  else if ( key_type.empty() ) { return sistrip::UNDEFINED_KEY; }
143  else { return sistrip::UNKNOWN_KEY; }
144 }
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 306 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, sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_BASELINE, sistrip::CALIBRATION_BASELINE_ALLSTRIPS, sistrip::CALIBRATION_BASELINE_MAX, sistrip::CALIBRATION_BASELINE_MIN, sistrip::CALIBRATION_CHI2, sistrip::CALIBRATION_CHI2_ALLSTRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_MAXIMUM, sistrip::CALIBRATION_MAXIMUM_ALLSTRIPS, sistrip::CALIBRATION_MAXIMUM_MAX, sistrip::CALIBRATION_MAXIMUM_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::CALIBRATION_TURNON, sistrip::CALIBRATION_TURNON_ALLSTRIPS, sistrip::CALIBRATION_TURNON_MAX, sistrip::CALIBRATION_TURNON_MIN, sistrip::CALIBRATION_UNDERSHOOT, sistrip::CALIBRATION_UNDERSHOOT_ALLSTRIPS, sistrip::CALIBRATION_UNDERSHOOT_MAX, sistrip::CALIBRATION_UNDERSHOOT_MIN, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeAS_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationBaseline_, sistrip::calibrationBaselineAS_, sistrip::calibrationBaselineMax_, sistrip::calibrationBaselineMin_, sistrip::calibrationChi2_, sistrip::calibrationChi2AS_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Min_, sistrip::calibrationMaximum_, sistrip::calibrationMaximumAS_, sistrip::calibrationMaximumMax_, sistrip::calibrationMaximumMin_, 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::calibrationTurnOn_, sistrip::calibrationTurnOnAS_, sistrip::calibrationTurnOnMax_, sistrip::calibrationTurnOnMin_, sistrip::calibrationUndershoot_, sistrip::calibrationUndershootAS_, sistrip::calibrationUndershootMax_, sistrip::calibrationUndershootMin_, 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(), DaqScopeModeSummaryFactory::extract(), PedestalsSummaryFactory::extract(), PedsFullNoiseSummaryFactory::extract(), PedsOnlySummaryFactory::extract(), SamplingSummaryFactory::extract(), CalibrationSummaryFactory::extract(), NoiseSummaryFactory::extract(), FastFedCablingSummaryFactory::extract(), VpspScanSummaryFactory::extract(), OptoScanSummaryFactory::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), SummaryPlotFactory< FedCablingAnalysis * >::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), FastFedCablingSummaryFactory::format(), OptoScanSummaryFactory::format(), PedestalsSummaryFactory::format(), NoiseSummaryFactory::format(), CalibrationSummaryFactory::format(), VpspScanSummaryFactory::format(), PedsFullNoiseSummaryFactory::format(), PedsOnlySummaryFactory::format(), ApvTimingSummaryFactory::format(), DaqScopeModeSummaryFactory::format(), SamplingSummaryFactory::format(), SummaryPlotFactoryBase::init(), SummaryPlotFactory< FedCablingAnalysis * >::init(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

306  {
307 
308  // fed cabling
310  else if ( mon == sistrip::FED_CABLING_FED_CH ) { return sistrip::fedCablingFedCh_; }
312 
313  // fast fed cabling
320  else if ( mon == sistrip::FAST_CABLING_MAX ) { return sistrip::fastCablingMax_; }
321  else if ( mon == sistrip::FAST_CABLING_MIN ) { return sistrip::fastCablingMin_; }
323 
324  // apv timing
325  else if ( mon == sistrip::APV_TIMING_TIME ) { return sistrip::apvTimingTime_; }
326  else if ( mon == sistrip::APV_TIMING_MAX_TIME ) { return sistrip::apvTimingMax_; }
327  else if ( mon == sistrip::APV_TIMING_DELAY ) { return sistrip::apvTimingDelay_; }
328  else if ( mon == sistrip::APV_TIMING_ERROR ) { return sistrip::apvTimingError_; }
329  else if ( mon == sistrip::APV_TIMING_BASE ) { return sistrip::apvTimingBase_; }
330  else if ( mon == sistrip::APV_TIMING_PEAK ) { return sistrip::apvTimingPeak_; }
331  else if ( mon == sistrip::APV_TIMING_HEIGHT ) { return sistrip::apvTimingHeight_; }
332 
333  // fed timing
334  else if ( mon == sistrip::FED_TIMING_TIME ) { return sistrip::fedTimingTime_; }
335  else if ( mon == sistrip::FED_TIMING_MAX_TIME ) { return sistrip::fedTimingMax_; }
336  else if ( mon == sistrip::FED_TIMING_DELAY ) { return sistrip::fedTimingDelay_; }
337  else if ( mon == sistrip::FED_TIMING_ERROR ) { return sistrip::fedTimingError_; }
338  else if ( mon == sistrip::FED_TIMING_BASE ) { return sistrip::fedTimingBase_; }
339  else if ( mon == sistrip::FED_TIMING_PEAK ) { return sistrip::fedTimingPeak_; }
340  else if ( mon == sistrip::FED_TIMING_HEIGHT ) { return sistrip::fedTimingHeight_; }
341 
342  // opto scan
351 
352  // vpsp scan
359 
360  // pedestals / noise
362  else if ( mon == sistrip::PEDESTALS_MEAN ) { return sistrip::pedestalsMean_; }
363  else if ( mon == sistrip::PEDESTALS_SPREAD ) { return sistrip::pedestalsSpread_; }
364  else if ( mon == sistrip::PEDESTALS_MAX ) { return sistrip::pedestalsMax_; }
365  else if ( mon == sistrip::PEDESTALS_MIN ) { return sistrip::pedestalsMin_; }
366  else if ( mon == sistrip::NOISE_ALL_STRIPS ) { return sistrip::noiseAllStrips_; }
367  else if ( mon == sistrip::NOISE_MEAN ) { return sistrip::noiseMean_; }
368  else if ( mon == sistrip::NOISE_SPREAD ) { return sistrip::noiseSpread_; }
369  else if ( mon == sistrip::NOISE_MAX ) { return sistrip::noiseMax_; }
370  else if ( mon == sistrip::NOISE_MIN ) { return sistrip::noiseMin_; }
371  else if ( mon == sistrip::NUM_OF_DEAD ) { return sistrip::numOfDeadStrips_; }
372  else if ( mon == sistrip::NUM_OF_NOISY ) { return sistrip::numOfNoisy_; }
373  else if ( mon == sistrip::NUM_OF_BAD ) { return sistrip::numOfBadStrips_; }
385 
400 
401  // fine delay
402  else if ( mon == sistrip::FINE_DELAY_POS) { return sistrip::fineDelayPos_; }
403  else if ( mon == sistrip::FINE_DELAY_ERROR) { return sistrip::fineDelayErr_; }
404 
405  // calibration
446 
447  // scope mode
449 
450  // unknown
452  else { return sistrip::unknownMonitorable_; }
453 
454 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationMaximumAS_[]
static const char calibrationAmplitudeAS_[]
static const char calibrationTimeConstantMax_[]
static const char residualKurtosisAllStrips_[]
static const char calibrationRiseTimeMax_[]
static const char numOfBadFitStatusStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char residualIntegralNsigmaAllStrips_[]
static const char fastCablingMin_[]
static const char calibrationTimeConstantMin_[]
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 fineDelayPos_[]
static const char calibrationBaselineMax_[]
static const char chi2ProbabAllStrips_[]
static const char noiseMax_[]
static const char calibrationSmearingAS_[]
static const char numOfBadChi2ProbabStrips_[]
static const char noiseMin_[]
static const char calibrationTimeConstantAS_[]
static const char calibrationTurnOnMax_[]
static const char optoScanMeasGain_[]
static const char calibrationTurnOn_[]
static const char pedestalsMean_[]
static const char calibrationBaselineMin_[]
static const char fedTimingHeight_[]
static const char numOfBadLargeNoiseSignificanceStrips_[]
static const char calibrationBaselineAS_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char calibrationMaximumMin_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationSmearing_[]
static const char numOfBadTailStrips_[]
static const char numOfNoisy_[]
static const char calibrationTurnOnAS_[]
static const char calibrationTailMin_[]
static const char vpspScanDigitalHigh_[]
static const char undefinedMonitorable_[]
static const char fastCablingLowRms_[]
static const char optoScanBaseLiftOff_[]
static const char calibrationTailMax_[]
static const char fastCablingLldCh_[]
static const char optoScanZeroLight_[]
static const char vpspScanDigitalLow_[]
static const char calibrationTimeConstant_[]
static const char calibrationUndershootAS_[]
static const char calibrationTailAS_[]
static const char calibrationMaximumMax_[]
static const char unknownMonitorable_[]
static const char noiseSpread_[]
static const char adProbabAllStrips_[]
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 calibrationUndershootMax_[]
static const char calibrationMaximum_[]
static const char fineDelayErr_[]
static const char residualSigmaGausAllStrips_[]
static const char residualIntegralAllStrips_[]
static const char fastCablingLowLevel_[]
static const char calibrationRiseTime_[]
static const char apvTimingError_[]
static const char fedTimingPeak_[]
static const char fastCablingConnsPerFed_[]
static const char calibrationRiseTimeMin_[]
static const char fedTimingMax_[]
static const char deadStripBit_[]
static const char calibrationTurnOnMin_[]
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 apvTimingTime_[]
static const char fedTimingDelay_[]
static const char numOfBadDoublePeakStrips_[]
static const char daqScopeModeMeanSignal_[]
static const char calibrationSmearingMax_[]
static const char calibrationTail_[]
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 calibrationRiseTimeAS_[]
static const char calibrationChi2AS_[]
static const char apvTimingPeak_[]
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 fastCablingHighRms_[]
static const char numOfBadStrips_[]
static const char pedestalsAllStrips_[]
sistrip::Monitorable SiStripEnumsAndStrings::monitorable ( const std::string &  histo_monitorable)
static

Definition at line 458 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, sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS, sistrip::CALIBRATION_AMPLITUDE_MAX, sistrip::CALIBRATION_AMPLITUDE_MIN, sistrip::CALIBRATION_BASELINE, sistrip::CALIBRATION_BASELINE_ALLSTRIPS, sistrip::CALIBRATION_BASELINE_MAX, sistrip::CALIBRATION_BASELINE_MIN, sistrip::CALIBRATION_CHI2, sistrip::CALIBRATION_CHI2_ALLSTRIPS, sistrip::CALIBRATION_CHI2_MAX, sistrip::CALIBRATION_CHI2_MIN, sistrip::CALIBRATION_MAXIMUM, sistrip::CALIBRATION_MAXIMUM_ALLSTRIPS, sistrip::CALIBRATION_MAXIMUM_MAX, sistrip::CALIBRATION_MAXIMUM_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::CALIBRATION_TURNON, sistrip::CALIBRATION_TURNON_ALLSTRIPS, sistrip::CALIBRATION_TURNON_MAX, sistrip::CALIBRATION_TURNON_MIN, sistrip::CALIBRATION_UNDERSHOOT, sistrip::CALIBRATION_UNDERSHOOT_ALLSTRIPS, sistrip::CALIBRATION_UNDERSHOOT_MAX, sistrip::CALIBRATION_UNDERSHOOT_MIN, sistrip::calibrationAmplitude_, sistrip::calibrationAmplitudeAS_, sistrip::calibrationAmplitudeMax_, sistrip::calibrationAmplitudeMin_, sistrip::calibrationBaseline_, sistrip::calibrationBaselineAS_, sistrip::calibrationBaselineMax_, sistrip::calibrationBaselineMin_, sistrip::calibrationChi2_, sistrip::calibrationChi2AS_, sistrip::calibrationChi2Max_, sistrip::calibrationChi2Min_, sistrip::calibrationMaximum_, sistrip::calibrationMaximumAS_, sistrip::calibrationMaximumMax_, sistrip::calibrationMaximumMin_, 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::calibrationTurnOn_, sistrip::calibrationTurnOnAS_, sistrip::calibrationTurnOnMax_, sistrip::calibrationTurnOnMin_, sistrip::calibrationUndershoot_, sistrip::calibrationUndershootAS_, sistrip::calibrationUndershootMax_, sistrip::calibrationUndershootMin_, 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_.

458  {
459 
460  // fed cabling
461  if ( mon.find( sistrip::fedCablingFedId_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_ID; }
462  else if ( mon.find( sistrip::fedCablingFedCh_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_CH; }
463  else if ( mon.find( sistrip::fedCablingAdcLevel_ ) != std::string::npos ) { return sistrip::FED_CABLING_ADC_LEVEL; }
464 
465  // fed cabling
466  else if ( mon.find( sistrip::fastCablingDcuId_ ) != std::string::npos ) { return sistrip::FAST_CABLING_DCU_ID; }
467  else if ( mon.find( sistrip::fastCablingLldCh_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LLD_CH; }
468  else if ( mon.find( sistrip::fastCablingHighLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_LEVEL; }
469  else if ( mon.find( sistrip::fastCablingHighRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_RMS; }
470  else if ( mon.find( sistrip::fastCablingLowLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_LEVEL; }
471  else if ( mon.find( sistrip::fastCablingLowRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_RMS; }
472  else if ( mon.find( sistrip::fastCablingMax_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MAX; }
473  else if ( mon.find( sistrip::fastCablingMin_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MIN; }
474  else if ( mon.find( sistrip::fastCablingConnsPerFed_ ) != std::string::npos ) { return sistrip::FAST_CABLING_CONNS_PER_FED; }
475 
476  // apv timing
477  else if ( mon.find( sistrip::apvTimingTime_ ) != std::string::npos ) { return sistrip::APV_TIMING_TIME; }
478  else if ( mon.find( sistrip::apvTimingMax_ ) != std::string::npos ) { return sistrip::APV_TIMING_MAX_TIME; }
479  else if ( mon.find( sistrip::apvTimingDelay_ ) != std::string::npos ) { return sistrip::APV_TIMING_DELAY; }
480  else if ( mon.find( sistrip::apvTimingError_ ) != std::string::npos ) { return sistrip::APV_TIMING_ERROR; }
481  else if ( mon.find( sistrip::apvTimingBase_ ) != std::string::npos ) { return sistrip::APV_TIMING_BASE; }
482  else if ( mon.find( sistrip::apvTimingPeak_ ) != std::string::npos ) { return sistrip::APV_TIMING_PEAK; }
483  else if ( mon.find( sistrip::apvTimingHeight_ ) != std::string::npos ) { return sistrip::APV_TIMING_HEIGHT; }
484 
485  // fed timing
486  else if ( mon.find( sistrip::fedTimingTime_ ) != std::string::npos ) { return sistrip::FED_TIMING_TIME; }
487  else if ( mon.find( sistrip::fedTimingMax_ ) != std::string::npos ) { return sistrip::FED_TIMING_MAX_TIME; }
488  else if ( mon.find( sistrip::fedTimingDelay_ ) != std::string::npos ) { return sistrip::FED_TIMING_DELAY; }
489  else if ( mon.find( sistrip::fedTimingError_ ) != std::string::npos ) { return sistrip::FED_TIMING_ERROR; }
490  else if ( mon.find( sistrip::fedTimingBase_ ) != std::string::npos ) { return sistrip::FED_TIMING_BASE; }
491  else if ( mon.find( sistrip::fedTimingPeak_ ) != std::string::npos ) { return sistrip::FED_TIMING_PEAK; }
492  else if ( mon.find( sistrip::fedTimingHeight_ ) != std::string::npos ) { return sistrip::FED_TIMING_HEIGHT; }
493 
494  // opto scan
495  else if ( mon.find( sistrip::optoScanLldGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_GAIN_SETTING; }
496  else if ( mon.find( sistrip::optoScanLldBias_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_BIAS_SETTING; }
497  else if ( mon.find( sistrip::optoScanMeasGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_MEASURED_GAIN; }
498  else if ( mon.find( sistrip::optoScanZeroLight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL; }
499  else if ( mon.find( sistrip::optoScanLinkNoise_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LINK_NOISE; }
500  else if ( mon.find( sistrip::optoScanBaseLiftOff_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_BASELINE_LIFT_OFF; }
501  else if ( mon.find( sistrip::optoScanLaserThresh_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LASER_THRESHOLD; }
502  else if ( mon.find( sistrip::optoScanTickHeight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_TICK_HEIGHT; }
503 
504  // vpsp scan
505  else if ( mon.find( sistrip::vpspScanBothApvs_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV_SETTINGS; }
506  else if ( mon.find( sistrip::vpspScanApv0_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV0_SETTING; }
507  else if ( mon.find( sistrip::vpspScanApv1_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV1_SETTING; }
508  else if ( mon.find( sistrip::vpspScanAdcLevel_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_ADC_LEVEL; }
509  else if ( mon.find( sistrip::vpspScanDigitalHigh_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_HIGH; }
510  else if ( mon.find( sistrip::vpspScanDigitalLow_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_LOW; }
511 
512  // pedestals / noise
513  else if ( mon.find( sistrip::pedestalsAllStrips_ ) != std::string::npos ) { return sistrip::PEDESTALS_ALL_STRIPS; }
514  else if ( mon.find( sistrip::pedestalsMean_ ) != std::string::npos ) { return sistrip::PEDESTALS_MEAN; }
515  else if ( mon.find( sistrip::pedestalsSpread_ ) != std::string::npos ) { return sistrip::PEDESTALS_SPREAD; }
516  else if ( mon.find( sistrip::pedestalsMax_ ) != std::string::npos ) { return sistrip::PEDESTALS_MAX; }
517  else if ( mon.find( sistrip::pedestalsMin_ ) != std::string::npos ) { return sistrip::PEDESTALS_MIN; }
518 
519  // noiseKS must come before the more general noiseAllStrips, since it contains that string
520  else if ( mon.find( sistrip::noiseAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_ALL_STRIPS; }
521  else if ( mon.find( sistrip::noiseMean_ ) != std::string::npos ) { return sistrip::NOISE_MEAN; }
522  else if ( mon.find( sistrip::noiseSpread_ ) != std::string::npos ) { return sistrip::NOISE_SPREAD; }
523  else if ( mon.find( sistrip::noiseMax_ ) != std::string::npos ) { return sistrip::NOISE_MAX; }
524  else if ( mon.find( sistrip::noiseMin_ ) != std::string::npos ) { return sistrip::NOISE_MIN; }
525  else if ( mon.find( sistrip::numOfDeadStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_DEAD; }
526  else if ( mon.find( sistrip::numOfNoisy_ ) != std::string::npos ) { return sistrip::NUM_OF_NOISY; }
527  else if ( mon.find( sistrip::numOfBadStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD; }
528  else if ( mon.find( sistrip::numOfBadShiftedStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_SHIFTED; }
529  else if ( mon.find( sistrip::numOfBadLowNoiseStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_LOW_NOISE; }
530  else if ( mon.find( sistrip::numOfBadLargeNoiseStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_LARGE_NOISE; }
531  else if ( mon.find( sistrip::numOfBadLargeNoiseSignificanceStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_LARGE_SIGNIF; }
532  else if ( mon.find( sistrip::numOfBadFitStatusStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_FIT_STATUS; }
533  else if ( mon.find( sistrip::numOfBadADProbabStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_AD_PROBAB; }
534  else if ( mon.find( sistrip::numOfBadKSProbabStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_KS_PROBAB; }
535  else if ( mon.find( sistrip::numOfBadJBProbabStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_JB_PROBAB; }
536  else if ( mon.find( sistrip::numOfBadChi2ProbabStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_CHI2_PROBAB; }
537  else if ( mon.find( sistrip::numOfBadTailStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_TAIL; }
538  else if ( mon.find( sistrip::numOfBadDoublePeakStrips_ ) != std::string::npos ) { return sistrip::NUM_OF_BAD_DOUBLE_PEAK; }
539 
540  else if ( mon.find( sistrip::badStripBit_ ) != std::string::npos ) { return sistrip::BAD_STRIP_BIT_ALL_STRIPS; }
541  else if ( mon.find( sistrip::deadStripBit_ ) != std::string::npos ) { return sistrip::DEAD_STRIP_BIT_ALL_STRIPS; }
542  else if ( mon.find( sistrip::adProbabAllStrips_ ) != std::string::npos ) { return sistrip::AD_PROBAB_ALL_STRIPS; }
543  else if ( mon.find( sistrip::ksProbabAllStrips_ ) != std::string::npos ) { return sistrip::KS_PROBAB_ALL_STRIPS; }
544  else if ( mon.find( sistrip::jbProbabAllStrips_ ) != std::string::npos ) { return sistrip::JB_PROBAB_ALL_STRIPS; }
545  else if ( mon.find( sistrip::chi2ProbabAllStrips_ ) != std::string::npos ) { return sistrip::CHI2_PROBAB_ALL_STRIPS; }
546  else if ( mon.find( sistrip::residualRMSAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_RMS_ALL_STRIPS; }
547  else if ( mon.find( sistrip::residualSigmaGausAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_GAUS_ALL_STRIPS; }
548  else if ( mon.find( sistrip::noiseSignificanceAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_SIGNIFICANCE_ALL_STRIPS; }
549  else if ( mon.find( sistrip::residualMeanAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_MEAN_ALL_STRIPS; }
550  else if ( mon.find( sistrip::residualSkewnessAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_SKEWNESS_ALL_STRIPS; }
551  else if ( mon.find( sistrip::residualKurtosisAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_KURTOSIS_ALL_STRIPS; }
552  else if ( mon.find( sistrip::residualIntegralNsigmaAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_INTEGRALNSIGMA_ALL_STRIPS; }
553  else if ( mon.find( sistrip::residualIntegralAllStrips_ ) != std::string::npos ) { return sistrip::RESIDUAL_INTEGRAL_ALL_STRIPS; }
554 
555  // fine delay
556  else if ( mon.find( sistrip::fineDelayPos_ ) != std::string::npos ) { return sistrip::FINE_DELAY_POS; }
557  else if ( mon.find( sistrip::fineDelayErr_ ) != std::string::npos ) { return sistrip::FINE_DELAY_ERROR; }
558 
559  // calibration
560  else if ( mon.find( sistrip::calibrationAmplitudeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS; }
561  else if ( mon.find( sistrip::calibrationTailAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_ALLSTRIPS; }
562  else if ( mon.find( sistrip::calibrationRiseTimeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_ALLSTRIPS; }
563  else if ( mon.find( sistrip::calibrationTimeConstantAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS; }
564  else if ( mon.find( sistrip::calibrationTurnOnAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TURNON_ALLSTRIPS; }
565  else if ( mon.find( sistrip::calibrationMaximumAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_MAXIMUM_ALLSTRIPS; }
566  else if ( mon.find( sistrip::calibrationUndershootAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_UNDERSHOOT_ALLSTRIPS; }
567  else if ( mon.find( sistrip::calibrationBaselineAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_BASELINE_ALLSTRIPS; }
568  else if ( mon.find( sistrip::calibrationSmearingAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_ALLSTRIPS; }
569  else if ( mon.find( sistrip::calibrationChi2AS_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_ALLSTRIPS; }
570  else if ( mon.find( sistrip::calibrationAmplitudeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MIN; }
571  else if ( mon.find( sistrip::calibrationTailMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MIN; }
572  else if ( mon.find( sistrip::calibrationRiseTimeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MIN; }
573  else if ( mon.find( sistrip::calibrationTimeConstantMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MIN; }
574  else if ( mon.find( sistrip::calibrationTurnOnMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TURNON_MIN; }
575  else if ( mon.find( sistrip::calibrationMaximumMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_MAXIMUM_MIN; }
576  else if ( mon.find( sistrip::calibrationUndershootMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_UNDERSHOOT_MIN; }
577  else if ( mon.find( sistrip::calibrationBaselineMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_BASELINE_MIN; }
578  else if ( mon.find( sistrip::calibrationSmearingMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MIN; }
579  else if ( mon.find( sistrip::calibrationChi2Min_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MIN; }
580  else if ( mon.find( sistrip::calibrationAmplitudeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MAX; }
581  else if ( mon.find( sistrip::calibrationTailMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MAX; }
582  else if ( mon.find( sistrip::calibrationRiseTimeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MAX; }
583  else if ( mon.find( sistrip::calibrationTimeConstantMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MAX; }
584  else if ( mon.find( sistrip::calibrationTurnOnMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TURNON_MAX; }
585  else if ( mon.find( sistrip::calibrationMaximumMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_MAXIMUM_MAX; }
586  else if ( mon.find( sistrip::calibrationUndershootMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_UNDERSHOOT_MAX; }
587  else if ( mon.find( sistrip::calibrationBaselineMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_BASELINE_MAX; }
588  else if ( mon.find( sistrip::calibrationSmearingMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MAX; }
589  else if ( mon.find( sistrip::calibrationChi2Max_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MAX; }
590  else if ( mon.find( sistrip::calibrationAmplitude_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE; }
591  else if ( mon.find( sistrip::calibrationTail_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL; }
592  else if ( mon.find( sistrip::calibrationRiseTime_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME; }
593  else if ( mon.find( sistrip::calibrationTimeConstant_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT; }
594  else if ( mon.find( sistrip::calibrationTurnOn_ ) != std::string::npos ) { return sistrip::CALIBRATION_TURNON; }
595  else if ( mon.find( sistrip::calibrationMaximum_ ) != std::string::npos ) { return sistrip::CALIBRATION_MAXIMUM; }
596  else if ( mon.find( sistrip::calibrationUndershoot_ ) != std::string::npos ) { return sistrip::CALIBRATION_UNDERSHOOT; }
597  else if ( mon.find( sistrip::calibrationBaseline_ ) != std::string::npos ) { return sistrip::CALIBRATION_BASELINE; }
598  else if ( mon.find( sistrip::calibrationSmearing_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING; }
599  else if ( mon.find( sistrip::calibrationChi2_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2; }
600 
601  // scope mode
602  else if ( mon.find( sistrip::daqScopeModeMeanSignal_ ) != std::string::npos ) { return sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL; }
603 
604  // unknown
605  else if ( mon.find( sistrip::undefinedMonitorable_ ) != std::string::npos ) { return sistrip::UNDEFINED_MONITORABLE; }
606  else if ( mon.empty() ) { return sistrip::UNDEFINED_MONITORABLE; }
607  else { return sistrip::UNKNOWN_MONITORABLE; }
608 
609 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationMaximumAS_[]
static const char calibrationAmplitudeAS_[]
static const char calibrationTimeConstantMax_[]
static const char residualKurtosisAllStrips_[]
static const char calibrationRiseTimeMax_[]
static const char numOfBadFitStatusStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char residualIntegralNsigmaAllStrips_[]
static const char fastCablingMin_[]
static const char calibrationTimeConstantMin_[]
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 fineDelayPos_[]
static const char calibrationBaselineMax_[]
static const char chi2ProbabAllStrips_[]
static const char noiseMax_[]
static const char calibrationSmearingAS_[]
static const char numOfBadChi2ProbabStrips_[]
static const char noiseMin_[]
static const char calibrationTimeConstantAS_[]
static const char calibrationTurnOnMax_[]
static const char optoScanMeasGain_[]
static const char calibrationTurnOn_[]
static const char pedestalsMean_[]
static const char calibrationBaselineMin_[]
static const char fedTimingHeight_[]
static const char numOfBadLargeNoiseSignificanceStrips_[]
static const char calibrationBaselineAS_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char calibrationMaximumMin_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationSmearing_[]
static const char numOfBadTailStrips_[]
static const char numOfNoisy_[]
static const char calibrationTurnOnAS_[]
static const char calibrationTailMin_[]
static const char vpspScanDigitalHigh_[]
static const char undefinedMonitorable_[]
static const char fastCablingLowRms_[]
static const char optoScanBaseLiftOff_[]
static const char calibrationTailMax_[]
static const char fastCablingLldCh_[]
static const char optoScanZeroLight_[]
static const char vpspScanDigitalLow_[]
static const char calibrationTimeConstant_[]
static const char calibrationUndershootAS_[]
static const char calibrationTailAS_[]
static const char calibrationMaximumMax_[]
static const char noiseSpread_[]
static const char adProbabAllStrips_[]
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 calibrationUndershootMax_[]
static const char calibrationMaximum_[]
static const char fineDelayErr_[]
static const char residualSigmaGausAllStrips_[]
static const char residualIntegralAllStrips_[]
static const char fastCablingLowLevel_[]
static const char calibrationRiseTime_[]
static const char apvTimingError_[]
static const char fedTimingPeak_[]
static const char fastCablingConnsPerFed_[]
static const char calibrationRiseTimeMin_[]
static const char fedTimingMax_[]
static const char deadStripBit_[]
static const char calibrationTurnOnMin_[]
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 apvTimingTime_[]
static const char fedTimingDelay_[]
static const char numOfBadDoublePeakStrips_[]
static const char daqScopeModeMeanSignal_[]
static const char calibrationSmearingMax_[]
static const char calibrationTail_[]
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 calibrationRiseTimeAS_[]
static const char calibrationChi2AS_[]
static const char apvTimingPeak_[]
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 fastCablingHighRms_[]
static const char numOfBadStrips_[]
static const char pedestalsAllStrips_[]
std::string SiStripEnumsAndStrings::presentation ( const sistrip::Presentation type)
static

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

613  {
614  if ( type == sistrip::HISTO_1D ) { return sistrip::histo1d_; }
615  else if ( type == sistrip::HISTO_2D_SUM ) { return sistrip::histo2dSum_; }
616  else if ( type == sistrip::HISTO_2D_SCATTER ) { return sistrip::histo2dScatter_; }
617  else if ( type == sistrip::PROFILE_1D ) { return sistrip::profile1D_; }
619  else { return sistrip::unknownPresentation_; }
620 }
type
Definition: HCALResponse.h:21
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 624 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.

624  {
625  if ( type.find( sistrip::histo1d_ ) != std::string::npos ) { return sistrip::HISTO_1D; }
626  else if ( type.find( sistrip::histo2dSum_ ) != std::string::npos ) { return sistrip::HISTO_2D_SUM; }
627  else if ( type.find( sistrip::histo2dScatter_ ) != std::string::npos ) { return sistrip::HISTO_2D_SCATTER; }
628  else if ( type.find( sistrip::profile1D_ ) != std::string::npos ) { return sistrip::PROFILE_1D; }
629  else if ( type.find( sistrip::undefinedPresentation_ ) != std::string::npos ) { return sistrip::UNDEFINED_PRESENTATION; }
630  else if ( type.empty() ) { return sistrip::UNDEFINED_PRESENTATION; }
631  else { return sistrip::UNKNOWN_PRESENTATION; }
632 }
type
Definition: HCALResponse.h:21
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 26 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(), CommissioningAnalysis::summary(), FastFedCablingAnalysis::summary(), and PedsFullNoiseAnalysis::summary().

26  {
27  if ( run_type == sistrip::FAST_CABLING ) { return sistrip::fastCablingRun_; }
28  else if ( run_type == sistrip::FED_CABLING ) { return sistrip::fedCablingRun_; }
29  else if ( run_type == sistrip::APV_TIMING ) { return sistrip::apvTimingRun_; }
30  else if ( run_type == sistrip::FED_TIMING ) { return sistrip::fedTimingRun_; }
31  else if ( run_type == sistrip::OPTO_SCAN ) { return sistrip::optoScanRun_; }
32  else if ( run_type == sistrip::VPSP_SCAN ) { return sistrip::vpspScanRun_; }
33  else if ( run_type == sistrip::PEDESTALS ) { return sistrip::pedestalsRun_; }
34  else if ( run_type == sistrip::PEDS_ONLY ) { return sistrip::pedsOnlyRun_; }
35  else if ( run_type == sistrip::NOISE ) { return sistrip::noiseRun_; }
36  else if ( run_type == sistrip::PEDS_FULL_NOISE ) { return sistrip::pedsFullNoiseRun_; }
37  else if ( run_type == sistrip::APV_LATENCY ){ return sistrip::apvLatencyRun_; }
38  else if ( run_type == sistrip::FINE_DELAY ){ return sistrip::fineDelayRun_; }
39  else if ( run_type == sistrip::CALIBRATION ){ return sistrip::calibPeakRun_; }
40  else if ( run_type == sistrip::CALIBRATION_DECO ){ return sistrip::calibDeconRun_; }
41  else if ( run_type == sistrip::CALIBRATION_SCAN ){ return sistrip::calibScanPeakRun_; }
42  else if ( run_type == sistrip::CALIBRATION_SCAN_DECO ){ return sistrip::calibScanDeconRun_; }
43  else if ( run_type == sistrip::DAQ_SCOPE_MODE ){ return sistrip::daqScopeModeRun_; }
44  else if ( run_type == sistrip::PHYSICS ){ return sistrip::physicsRun_; }
45  else if ( run_type == sistrip::UNDEFINED_RUN_TYPE ) { return sistrip::undefinedRunType_; }
46  else { return sistrip::unknownRunType_; }
47 }
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 51 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_.

51  {
52  if ( run_type.find( sistrip::fastCablingRun_ ) != std::string::npos ) { return sistrip::FAST_CABLING; }
53  else if ( run_type.find( sistrip::fedCablingRun_ ) != std::string::npos ) { return sistrip::FED_CABLING; }
54  else if ( run_type.find( sistrip::apvTimingRun_ ) != std::string::npos ) { return sistrip::APV_TIMING; }
55  else if ( run_type.find( sistrip::fedTimingRun_ ) != std::string::npos ) { return sistrip::FED_TIMING; }
56  else if ( run_type.find( sistrip::optoScanRun_ ) != std::string::npos ) { return sistrip::OPTO_SCAN; }
57  else if ( run_type.find( sistrip::vpspScanRun_ ) != std::string::npos ) { return sistrip::VPSP_SCAN; }
58  else if ( run_type.find( sistrip::pedestalsRun_ ) != std::string::npos ) { return sistrip::PEDESTALS; }
59  else if ( run_type.find( sistrip::pedsOnlyRun_ ) != std::string::npos ) { return sistrip::PEDS_ONLY; }
60  else if ( run_type.find( sistrip::pedsFullNoiseRun_ ) != std::string::npos ) { return sistrip::PEDS_FULL_NOISE; } // needs to be before noise, otherwise name mismatch
61  else if ( run_type.find( sistrip::noiseRun_ ) != std::string::npos ) { return sistrip::NOISE; }
62  else if ( run_type.find( sistrip::fineDelayRun_ ) != std::string::npos ) { return sistrip::FINE_DELAY; }
63  else if ( run_type.find( sistrip::calibPeakRun_ ) != std::string::npos ) { return sistrip::CALIBRATION; }
64  else if ( run_type.find( sistrip::calibScanPeakRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_SCAN; }
65  else if ( run_type.find( sistrip::calibDeconRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_DECO; }
66  else if ( run_type.find( sistrip::calibScanDeconRun_ ) != std::string::npos ) { return sistrip::CALIBRATION_SCAN_DECO; }
67  else if ( run_type.find( sistrip::apvLatencyRun_ ) != std::string::npos ) { return sistrip::APV_LATENCY; }
68  else if ( run_type.find( sistrip::daqScopeModeRun_ ) != std::string::npos ) { return sistrip::DAQ_SCOPE_MODE; }
69  else if ( run_type.find( sistrip::physicsRun_ ) != std::string::npos ) { return sistrip::PHYSICS; }
70  else if ( run_type.find( sistrip::undefinedRunType_ ) != std::string::npos ) { return sistrip::UNDEFINED_RUN_TYPE; }
71  else if ( run_type.empty() ) { return sistrip::UNDEFINED_RUN_TYPE; }
72  else if ( run_type == "FAST_CABLING" ) { return sistrip::FAST_CABLING; }
73  else if ( run_type == "FED_CABLING" ) { return sistrip::FED_CABLING; }
74  else if ( run_type == "APV_TIMING" ) { return sistrip::APV_TIMING; }
75  else if ( run_type == "FED_TIMING" ) { return sistrip::FED_TIMING; }
76  else if ( run_type == "OPTO_SCAN" ) { return sistrip::OPTO_SCAN; }
77  else if ( run_type == "VPSP_SCAN" ) { return sistrip::VPSP_SCAN; }
78  else if ( run_type == "PEDESTALS" ) { return sistrip::PEDESTALS; }
79  else if ( run_type == "PEDS_FULL_NOISE" ) { return sistrip::PEDS_FULL_NOISE; }
80  else if ( run_type == "PEDS_ONLY" ) { return sistrip::PEDS_ONLY; }
81  else if ( run_type == "NOISE" ) { return sistrip::NOISE; }
82  else if ( run_type == "APV_LATENCY" ) { return sistrip::APV_LATENCY; }
83  else if ( run_type == "FINE_DELAY" ) { return sistrip::FINE_DELAY; }
84  else if ( run_type == "CALIBRATION" ) { return sistrip::CALIBRATION; }
85  else if ( run_type == "CALIBRATION_SCAN" ) { return sistrip::CALIBRATION_SCAN; }
86  else if ( run_type == "CALIBRATION_DECO" ) { return sistrip::CALIBRATION_DECO; }
87  else if ( run_type == "CALIBRATION_SCAN_DECO" ) { return sistrip::CALIBRATION_SCAN_DECO; }
88  else if ( run_type == "DAQ_SCOPE_MODE" ) { return sistrip::DAQ_SCOPE_MODE; }
89  else if ( run_type == "PHYSICS" ) { return sistrip::PHYSICS; }
90  else if ( run_type == "UNDEFINED" ) { return sistrip::UNDEFINED_RUN_TYPE; }
91  else { return sistrip::UNKNOWN_RUN_TYPE; }
92 }
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 96 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.

96  {
97  if ( run_type == 1 ) { return sistrip::PHYSICS; }
98  else if ( run_type == 2 ) { return sistrip::PEDESTALS; }
99  else if ( run_type == 3 ) { return sistrip::CALIBRATION; }
100  else if ( run_type == 4 ) { return sistrip::OPTO_SCAN; }
101  else if ( run_type == 5 ) { return sistrip::APV_TIMING; }
102  else if ( run_type == 6 ) { return sistrip::APV_LATENCY; }
103  else if ( run_type == 7 ) { return sistrip::FINE_DELAY_PLL; }
104  else if ( run_type == 8 ) { return sistrip::FINE_DELAY_TTC; }
105  else if ( run_type == 10 ) { return sistrip::MULTI_MODE; }
106  else if ( run_type == 11 ) { return sistrip::FED_CABLING; }
107  else if ( run_type == 12 ) { return sistrip::FED_TIMING; }
108  else if ( run_type == 13 ) { return sistrip::FED_CABLING; }
109  else if ( run_type == 14 ) { return sistrip::VPSP_SCAN; }
110  else if ( run_type == 15 ) { return sistrip::DAQ_SCOPE_MODE; }
111  else if ( run_type == 16 ) { return sistrip::QUITE_FAST_CABLING; }
112  else if ( run_type == 17 ) { return sistrip::FINE_DELAY; } //@@ layer
113  else if ( run_type == 18 ) { return sistrip::PHYSICS_ZS; }
114  else if ( run_type == 19 ) { return sistrip::CALIBRATION_SCAN; }
115  else if ( run_type == 20 ) { return sistrip::CALIBRATION_SCAN_DECO; }
116  else if ( run_type == 21 ) { return sistrip::FAST_CABLING; }
117  else if ( run_type == 22 ) { return sistrip::PEDS_ONLY; }
118  else if ( run_type == 23 ) { return sistrip::NOISE; }
119  else if ( run_type == 24 ) { return sistrip::PEDS_FULL_NOISE; }
120  else if ( run_type == 33 ) { return sistrip::CALIBRATION_DECO; }
121  else if ( run_type == sistrip::invalid_ ) { return sistrip::UNDEFINED_RUN_TYPE; }
122  else { return sistrip::UNKNOWN_RUN_TYPE; }
123 }
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  {
7  else if ( view == sistrip::CONTROL_VIEW ) { return sistrip::controlView_; }
8  else if ( view == sistrip::DETECTOR_VIEW ) { return sistrip::detectorView_; }
9  else if ( view == sistrip::UNDEFINED_VIEW ) { return sistrip::undefinedView_; }
10  else { return sistrip::unknownView_; }
11 }
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 15 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.

15  {
16  if ( dir.find( sistrip::readoutView_ ) != std::string::npos ) { return sistrip::READOUT_VIEW; }
17  else if ( dir.find( sistrip::controlView_ ) != std::string::npos ) { return sistrip::CONTROL_VIEW; }
18  else if ( dir.find( sistrip::detectorView_ ) != std::string::npos ) { return sistrip::DETECTOR_VIEW; }
19  else if ( dir.find( sistrip::undefinedView_ ) != std::string::npos ) { return sistrip::UNDEFINED_VIEW; }
20  else if ( dir.empty() ) { return sistrip::UNDEFINED_VIEW; }
21  else { return sistrip::UNKNOWN_VIEW; }
22 }
static const char detectorView_[]
static const char undefinedView_[]
static const char controlView_[]
dbl *** dir
Definition: mlp_gen.cc:35
static const char readoutView_[]