test
CMS 3D CMS Logo

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

#include <SiStripEnumsAndStrings.h>

Static Public Member Functions

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

Detailed Description

Definition at line 9 of file SiStripEnumsAndStrings.h.

Member Function Documentation

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

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

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

573  {
574  if ( source.find( sistrip::cablingFromConns_ ) != std::string::npos ) { return sistrip::CABLING_FROM_CONNS; }
575  else if ( source.find( sistrip::cablingFromDevices_ ) != std::string::npos ) { return sistrip::CABLING_FROM_DEVICES; }
576  else if ( source.find( sistrip::cablingFromDetIds_ ) != std::string::npos ) { return sistrip::CABLING_FROM_DETIDS; }
577  else if ( source.find( sistrip::undefinedCablingSource_ ) != std::string::npos ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
578  else if ( source.empty() ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
579  else if ( source == "CONNECTIONS" ) { return sistrip::CABLING_FROM_CONNS; }
580  else if ( source == "DEVICES" ) { return sistrip::CABLING_FROM_DEVICES; }
581  else if ( source == "DETIDS" ) { return sistrip::CABLING_FROM_DETIDS; }
582  else if ( source == "UNDEFINED" ) { return sistrip::UNDEFINED_CABLING_SOURCE; }
583  else { return sistrip::UNKNOWN_CABLING_SOURCE; }
584 }
static const char undefinedCablingSource_[]
static const char cablingFromDevices_[]
static const char cablingFromConns_[]
static const char cablingFromDetIds_[]
static std::string const source
Definition: EdmProvDump.cc:43
std::string SiStripEnumsAndStrings::fedReadoutMode ( const sistrip::FedReadoutMode mode)
static

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

249  {
251  else if ( mode == sistrip::FED_VIRGIN_RAW ) { return sistrip::fedVirginRaw_; }
252  else if ( mode == sistrip::FED_PROC_RAW ) { return sistrip::fedProcRaw_; }
253  else if ( mode == sistrip::FED_ZERO_SUPPR ) { return sistrip::fedZeroSuppr_; }
263  else { return sistrip::unknownFedReadoutMode_; }
264 }
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 268 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.

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

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

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

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

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

138  {
139  if ( key_type.find ( sistrip::fedKey_) != std::string::npos ) { return sistrip::FED_KEY; }
140  else if ( key_type.find( sistrip::fecKey_) != std::string::npos ) { return sistrip::FEC_KEY; }
141  else if ( key_type.find( sistrip::detKey_) != std::string::npos ) { return sistrip::DET_KEY; }
142  else if ( key_type.find( sistrip::undefinedKey_) != std::string::npos ) { return sistrip::UNDEFINED_KEY; }
143  else if ( key_type.empty() ) { return sistrip::UNDEFINED_KEY; }
144  else { return sistrip::UNKNOWN_KEY; }
145 }
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 307 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(), PedestalsSummaryFactory::extract(), PedsFullNoiseSummaryFactory::extract(), PedsOnlySummaryFactory::extract(), SamplingSummaryFactory::extract(), CalibrationSummaryFactory::extract(), FastFedCablingSummaryFactory::extract(), NoiseSummaryFactory::extract(), OptoScanSummaryFactory::extract(), VpspScanSummaryFactory::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), SummaryPlotFactory< FedCablingAnalysis * >::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), PedsFullNoiseSummaryFactory::format(), OptoScanSummaryFactory::format(), SamplingSummaryFactory::format(), PedestalsSummaryFactory::format(), VpspScanSummaryFactory::format(), CalibrationSummaryFactory::format(), ApvTimingSummaryFactory::format(), PedsOnlySummaryFactory::format(), NoiseSummaryFactory::format(), FastFedCablingSummaryFactory::format(), SummaryPlotFactory< FedCablingAnalysis * >::init(), SummaryPlotFactoryBase::init(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

307  {
308 
309  // fed cabling
311  else if ( mon == sistrip::FED_CABLING_FED_CH ) { return sistrip::fedCablingFedCh_; }
313 
314  // fast fed cabling
321  else if ( mon == sistrip::FAST_CABLING_MAX ) { return sistrip::fastCablingMax_; }
322  else if ( mon == sistrip::FAST_CABLING_MIN ) { return sistrip::fastCablingMin_; }
324 
325  // apv timing
326  else if ( mon == sistrip::APV_TIMING_TIME ) { return sistrip::apvTimingTime_; }
327  else if ( mon == sistrip::APV_TIMING_MAX_TIME ) { return sistrip::apvTimingMax_; }
328  else if ( mon == sistrip::APV_TIMING_DELAY ) { return sistrip::apvTimingDelay_; }
329  else if ( mon == sistrip::APV_TIMING_ERROR ) { return sistrip::apvTimingError_; }
330  else if ( mon == sistrip::APV_TIMING_BASE ) { return sistrip::apvTimingBase_; }
331  else if ( mon == sistrip::APV_TIMING_PEAK ) { return sistrip::apvTimingPeak_; }
332  else if ( mon == sistrip::APV_TIMING_HEIGHT ) { return sistrip::apvTimingHeight_; }
333 
334  // fed timing
335  else if ( mon == sistrip::FED_TIMING_TIME ) { return sistrip::fedTimingTime_; }
336  else if ( mon == sistrip::FED_TIMING_MAX_TIME ) { return sistrip::fedTimingMax_; }
337  else if ( mon == sistrip::FED_TIMING_DELAY ) { return sistrip::fedTimingDelay_; }
338  else if ( mon == sistrip::FED_TIMING_ERROR ) { return sistrip::fedTimingError_; }
339  else if ( mon == sistrip::FED_TIMING_BASE ) { return sistrip::fedTimingBase_; }
340  else if ( mon == sistrip::FED_TIMING_PEAK ) { return sistrip::fedTimingPeak_; }
341  else if ( mon == sistrip::FED_TIMING_HEIGHT ) { return sistrip::fedTimingHeight_; }
342 
343  // opto scan
352 
353  // vpsp scan
360 
361  // pedestals / noise
363  else if ( mon == sistrip::PEDESTALS_MEAN ) { return sistrip::pedestalsMean_; }
364  else if ( mon == sistrip::PEDESTALS_SPREAD ) { return sistrip::pedestalsSpread_; }
365  else if ( mon == sistrip::PEDESTALS_MAX ) { return sistrip::pedestalsMax_; }
366  else if ( mon == sistrip::PEDESTALS_MIN ) { return sistrip::pedestalsMin_; }
367  else if ( mon == sistrip::NOISE_ALL_STRIPS ) { return sistrip::noiseAllStrips_; }
368  else if ( mon == sistrip::NOISE_MEAN ) { return sistrip::noiseMean_; }
369  else if ( mon == sistrip::NOISE_SPREAD ) { return sistrip::noiseSpread_; }
370  else if ( mon == sistrip::NOISE_MAX ) { return sistrip::noiseMax_; }
371  else if ( mon == sistrip::NOISE_MIN ) { return sistrip::noiseMin_; }
372  else if ( mon == sistrip::NUM_OF_DEAD ) { return sistrip::numOfDead_; }
373  else if ( mon == sistrip::NUM_OF_NOISY ) { return sistrip::numOfNoisy_; }
380 
381  // fine delay
382  else if ( mon == sistrip::FINE_DELAY_POS) { return sistrip::fineDelayPos_; }
383  else if ( mon == sistrip::FINE_DELAY_ERROR) { return sistrip::fineDelayErr_; }
384 
385  // calibration
410 
411  // scope mode
413 
414  // unknown
416  else { return sistrip::unknownMonitorable_; }
417 
418 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationAmplitudeAS_[]
static const char calibrationTimeConstantMax_[]
static const char calibrationRiseTimeMax_[]
static const char noiseKSAllStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char fastCablingMin_[]
static const char numOfDead_[]
static const char calibrationTimeConstantMin_[]
static const char fedCablingAdcLevel_[]
static const char calibrationAmplitudeMax_[]
static const char apvTimingHeight_[]
static const char apvTimingMax_[]
static const char optoScanTickHeight_[]
static const char fineDelayPos_[]
static const char noiseMax_[]
static const char calibrationSmearingAS_[]
static const char noiseMin_[]
static const char calibrationTimeConstantAS_[]
static const char optoScanMeasGain_[]
static const char pedestalsMean_[]
static const char fedTimingHeight_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationSmearing_[]
static const char numOfNoisy_[]
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 calibrationTailAS_[]
static const char noiseGausAllStrips_[]
static const char unknownMonitorable_[]
static const char noiseSpread_[]
static const char fastCablingMax_[]
static const char pedestalsMin_[]
static const char fineDelayErr_[]
static const char noiseBin84AllStrips_[]
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 calibrationChi2_[]
static const char calibrationSmearingMin_[]
static const char apvTimingBase_[]
static const char fedTimingBase_[]
static const char optoScanLaserThresh_[]
static const char vpspScanAdcLevel_[]
static const char apvTimingTime_[]
static const char fedTimingDelay_[]
static const char daqScopeModeMeanSignal_[]
static const char calibrationSmearingMax_[]
static const char calibrationTail_[]
static const char noiseAllStrips_[]
static const char noiseChi2AllStrips_[]
static const char fedTimingTime_[]
static const char calibrationChi2Min_[]
static const char calibrationChi2Max_[]
static const char pedestalsMax_[]
static const char fastCablingHighLevel_[]
static const char vpspScanApv1_[]
static const char noiseRMSAllStrips_[]
static const char calibrationRiseTimeAS_[]
static const char calibrationChi2AS_[]
static const char apvTimingPeak_[]
static const char vpspScanApv0_[]
static const char pedestalsSpread_[]
static const char vpspScanBothApvs_[]
static const char fastCablingHighRms_[]
static const char noiseSignif_[]
static const char pedestalsAllStrips_[]
sistrip::Monitorable SiStripEnumsAndStrings::monitorable ( const std::string &  histo_monitorable)
static

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

422  {
423 
424  // fed cabling
425  if ( mon.find( sistrip::fedCablingFedId_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_ID; }
426  else if ( mon.find( sistrip::fedCablingFedCh_ ) != std::string::npos ) { return sistrip::FED_CABLING_FED_CH; }
427  else if ( mon.find( sistrip::fedCablingAdcLevel_ ) != std::string::npos ) { return sistrip::FED_CABLING_ADC_LEVEL; }
428 
429  // fed cabling
430  else if ( mon.find( sistrip::fastCablingDcuId_ ) != std::string::npos ) { return sistrip::FAST_CABLING_DCU_ID; }
431  else if ( mon.find( sistrip::fastCablingLldCh_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LLD_CH; }
432  else if ( mon.find( sistrip::fastCablingHighLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_LEVEL; }
433  else if ( mon.find( sistrip::fastCablingHighRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_HIGH_RMS; }
434  else if ( mon.find( sistrip::fastCablingLowLevel_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_LEVEL; }
435  else if ( mon.find( sistrip::fastCablingLowRms_ ) != std::string::npos ) { return sistrip::FAST_CABLING_LOW_RMS; }
436  else if ( mon.find( sistrip::fastCablingMax_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MAX; }
437  else if ( mon.find( sistrip::fastCablingMin_ ) != std::string::npos ) { return sistrip::FAST_CABLING_MIN; }
438  else if ( mon.find( sistrip::fastCablingConnsPerFed_ ) != std::string::npos ) { return sistrip::FAST_CABLING_CONNS_PER_FED; }
439 
440  // apv timing
441  else if ( mon.find( sistrip::apvTimingTime_ ) != std::string::npos ) { return sistrip::APV_TIMING_TIME; }
442  else if ( mon.find( sistrip::apvTimingMax_ ) != std::string::npos ) { return sistrip::APV_TIMING_MAX_TIME; }
443  else if ( mon.find( sistrip::apvTimingDelay_ ) != std::string::npos ) { return sistrip::APV_TIMING_DELAY; }
444  else if ( mon.find( sistrip::apvTimingError_ ) != std::string::npos ) { return sistrip::APV_TIMING_ERROR; }
445  else if ( mon.find( sistrip::apvTimingBase_ ) != std::string::npos ) { return sistrip::APV_TIMING_BASE; }
446  else if ( mon.find( sistrip::apvTimingPeak_ ) != std::string::npos ) { return sistrip::APV_TIMING_PEAK; }
447  else if ( mon.find( sistrip::apvTimingHeight_ ) != std::string::npos ) { return sistrip::APV_TIMING_HEIGHT; }
448 
449  // fed timing
450  else if ( mon.find( sistrip::fedTimingTime_ ) != std::string::npos ) { return sistrip::FED_TIMING_TIME; }
451  else if ( mon.find( sistrip::fedTimingMax_ ) != std::string::npos ) { return sistrip::FED_TIMING_MAX_TIME; }
452  else if ( mon.find( sistrip::fedTimingDelay_ ) != std::string::npos ) { return sistrip::FED_TIMING_DELAY; }
453  else if ( mon.find( sistrip::fedTimingError_ ) != std::string::npos ) { return sistrip::FED_TIMING_ERROR; }
454  else if ( mon.find( sistrip::fedTimingBase_ ) != std::string::npos ) { return sistrip::FED_TIMING_BASE; }
455  else if ( mon.find( sistrip::fedTimingPeak_ ) != std::string::npos ) { return sistrip::FED_TIMING_PEAK; }
456  else if ( mon.find( sistrip::fedTimingHeight_ ) != std::string::npos ) { return sistrip::FED_TIMING_HEIGHT; }
457 
458  // opto scan
459  else if ( mon.find( sistrip::optoScanLldGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_GAIN_SETTING; }
460  else if ( mon.find( sistrip::optoScanLldBias_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LLD_BIAS_SETTING; }
461  else if ( mon.find( sistrip::optoScanMeasGain_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_MEASURED_GAIN; }
462  else if ( mon.find( sistrip::optoScanZeroLight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_ZERO_LIGHT_LEVEL; }
463  else if ( mon.find( sistrip::optoScanLinkNoise_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LINK_NOISE; }
464  else if ( mon.find( sistrip::optoScanBaseLiftOff_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_BASELINE_LIFT_OFF; }
465  else if ( mon.find( sistrip::optoScanLaserThresh_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_LASER_THRESHOLD; }
466  else if ( mon.find( sistrip::optoScanTickHeight_ ) != std::string::npos ) { return sistrip::OPTO_SCAN_TICK_HEIGHT; }
467 
468  // vpsp scan
469  else if ( mon.find( sistrip::vpspScanBothApvs_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV_SETTINGS; }
470  else if ( mon.find( sistrip::vpspScanApv0_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV0_SETTING; }
471  else if ( mon.find( sistrip::vpspScanApv1_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_APV1_SETTING; }
472  else if ( mon.find( sistrip::vpspScanAdcLevel_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_ADC_LEVEL; }
473  else if ( mon.find( sistrip::vpspScanDigitalHigh_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_HIGH; }
474  else if ( mon.find( sistrip::vpspScanDigitalLow_ ) != std::string::npos ) { return sistrip::VPSP_SCAN_DIGITAL_LOW; }
475 
476  // pedestals / noise
477  else if ( mon.find( sistrip::pedestalsAllStrips_ ) != std::string::npos ) { return sistrip::PEDESTALS_ALL_STRIPS; }
478  else if ( mon.find( sistrip::pedestalsMean_ ) != std::string::npos ) { return sistrip::PEDESTALS_MEAN; }
479  else if ( mon.find( sistrip::pedestalsSpread_ ) != std::string::npos ) { return sistrip::PEDESTALS_SPREAD; }
480  else if ( mon.find( sistrip::pedestalsMax_ ) != std::string::npos ) { return sistrip::PEDESTALS_MAX; }
481  else if ( mon.find( sistrip::pedestalsMin_ ) != std::string::npos ) { return sistrip::PEDESTALS_MIN; }
482 
483  // noiseKS must come before the more general noiseAllStrips, since it contains that string
484  else if ( mon.find( sistrip::noiseGausAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_GAUS_ALL_STRIPS; }
485  else if ( mon.find( sistrip::noiseKSAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_KS_ALL_STRIPS; }
486  else if ( mon.find( sistrip::noiseChi2AllStrips_ ) != std::string::npos ) { return sistrip::NOISE_CHI2_ALL_STRIPS; }
487  else if ( mon.find( sistrip::noiseBin84AllStrips_ ) != std::string::npos ) { return sistrip::NOISE_BIN_84_ALL_STRIPS;}
488  else if ( mon.find( sistrip::noiseRMSAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_RMS_ALL_STRIPS;}
489  else if ( mon.find( sistrip::noiseSignif_ ) != std::string::npos ) { return sistrip::NOISE_SIGNIF_ALL_STRIPS; }
490  else if ( mon.find( sistrip::noiseAllStrips_ ) != std::string::npos ) { return sistrip::NOISE_ALL_STRIPS; }
491  else if ( mon.find( sistrip::noiseMean_ ) != std::string::npos ) { return sistrip::NOISE_MEAN; }
492  else if ( mon.find( sistrip::noiseSpread_ ) != std::string::npos ) { return sistrip::NOISE_SPREAD; }
493  else if ( mon.find( sistrip::noiseMax_ ) != std::string::npos ) { return sistrip::NOISE_MAX; }
494  else if ( mon.find( sistrip::noiseMin_ ) != std::string::npos ) { return sistrip::NOISE_MIN; }
495  else if ( mon.find( sistrip::numOfDead_ ) != std::string::npos ) { return sistrip::NUM_OF_DEAD; }
496  else if ( mon.find( sistrip::numOfNoisy_ ) != std::string::npos ) { return sistrip::NUM_OF_NOISY; }
497 
498  // fine delay
499  else if ( mon.find( sistrip::fineDelayPos_ ) != std::string::npos ) { return sistrip::FINE_DELAY_POS; }
500  else if ( mon.find( sistrip::fineDelayErr_ ) != std::string::npos ) { return sistrip::FINE_DELAY_ERROR; }
501 
502  // calibration
503  else if ( mon.find( sistrip::calibrationAmplitudeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_ALLSTRIPS; }
504  else if ( mon.find( sistrip::calibrationTailAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_ALLSTRIPS; }
505  else if ( mon.find( sistrip::calibrationRiseTimeAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_ALLSTRIPS; }
506  else if ( mon.find( sistrip::calibrationTimeConstantAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_ALLSTRIPS; }
507  else if ( mon.find( sistrip::calibrationSmearingAS_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_ALLSTRIPS; }
508  else if ( mon.find( sistrip::calibrationChi2AS_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_ALLSTRIPS; }
509  else if ( mon.find( sistrip::calibrationAmplitudeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MIN; }
510  else if ( mon.find( sistrip::calibrationTailMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MIN; }
511  else if ( mon.find( sistrip::calibrationRiseTimeMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MIN; }
512  else if ( mon.find( sistrip::calibrationTimeConstantMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MIN; }
513  else if ( mon.find( sistrip::calibrationSmearingMin_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MIN; }
514  else if ( mon.find( sistrip::calibrationChi2Min_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MIN; }
515  else if ( mon.find( sistrip::calibrationAmplitudeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE_MAX; }
516  else if ( mon.find( sistrip::calibrationTailMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL_MAX; }
517  else if ( mon.find( sistrip::calibrationRiseTimeMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME_MAX; }
518  else if ( mon.find( sistrip::calibrationTimeConstantMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT_MAX; }
519  else if ( mon.find( sistrip::calibrationSmearingMax_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING_MAX; }
520  else if ( mon.find( sistrip::calibrationChi2Max_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2_MAX; }
521  else if ( mon.find( sistrip::calibrationAmplitude_ ) != std::string::npos ) { return sistrip::CALIBRATION_AMPLITUDE; }
522  else if ( mon.find( sistrip::calibrationTail_ ) != std::string::npos ) { return sistrip::CALIBRATION_TAIL; }
523  else if ( mon.find( sistrip::calibrationRiseTime_ ) != std::string::npos ) { return sistrip::CALIBRATION_RISETIME; }
524  else if ( mon.find( sistrip::calibrationTimeConstant_ ) != std::string::npos ) { return sistrip::CALIBRATION_TIMECONSTANT; }
525  else if ( mon.find( sistrip::calibrationSmearing_ ) != std::string::npos ) { return sistrip::CALIBRATION_SMEARING; }
526  else if ( mon.find( sistrip::calibrationChi2_ ) != std::string::npos ) { return sistrip::CALIBRATION_CHI2; }
527 
528  // scope mode
529  else if ( mon.find( sistrip::daqScopeModeMeanSignal_ ) != std::string::npos ) { return sistrip::DAQ_SCOPE_MODE_MEAN_SIGNAL; }
530 
531  // unknown
532  else if ( mon.find( sistrip::undefinedMonitorable_ ) != std::string::npos ) { return sistrip::UNDEFINED_MONITORABLE; }
533  else if ( mon.empty() ) { return sistrip::UNDEFINED_MONITORABLE; }
534  else { return sistrip::UNKNOWN_MONITORABLE; }
535 
536 }
static const char optoScanLinkNoise_[]
static const char calibrationAmplitude_[]
static const char fastCablingDcuId_[]
static const char optoScanLldGain_[]
static const char calibrationAmplitudeAS_[]
static const char calibrationTimeConstantMax_[]
static const char calibrationRiseTimeMax_[]
static const char noiseKSAllStrips_[]
static const char fedTimingError_[]
static const char noiseMean_[]
static const char fastCablingMin_[]
static const char numOfDead_[]
static const char calibrationTimeConstantMin_[]
static const char fedCablingAdcLevel_[]
static const char calibrationAmplitudeMax_[]
static const char apvTimingHeight_[]
static const char apvTimingMax_[]
static const char optoScanTickHeight_[]
static const char fineDelayPos_[]
static const char noiseMax_[]
static const char calibrationSmearingAS_[]
static const char noiseMin_[]
static const char calibrationTimeConstantAS_[]
static const char optoScanMeasGain_[]
static const char pedestalsMean_[]
static const char fedTimingHeight_[]
static const char fedCablingFedId_[]
static const char fedCablingFedCh_[]
static const char optoScanLldBias_[]
static const char calibrationAmplitudeMin_[]
static const char apvTimingDelay_[]
static const char calibrationSmearing_[]
static const char numOfNoisy_[]
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 calibrationTailAS_[]
static const char noiseGausAllStrips_[]
static const char noiseSpread_[]
static const char fastCablingMax_[]
static const char pedestalsMin_[]
static const char fineDelayErr_[]
static const char noiseBin84AllStrips_[]
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 calibrationChi2_[]
static const char calibrationSmearingMin_[]
static const char apvTimingBase_[]
static const char fedTimingBase_[]
static const char optoScanLaserThresh_[]
static const char vpspScanAdcLevel_[]
static const char apvTimingTime_[]
static const char fedTimingDelay_[]
static const char daqScopeModeMeanSignal_[]
static const char calibrationSmearingMax_[]
static const char calibrationTail_[]
static const char noiseAllStrips_[]
static const char noiseChi2AllStrips_[]
static const char fedTimingTime_[]
static const char calibrationChi2Min_[]
static const char calibrationChi2Max_[]
static const char pedestalsMax_[]
static const char fastCablingHighLevel_[]
static const char vpspScanApv1_[]
static const char noiseRMSAllStrips_[]
static const char calibrationRiseTimeAS_[]
static const char calibrationChi2AS_[]
static const char apvTimingPeak_[]
static const char vpspScanApv0_[]
static const char pedestalsSpread_[]
static const char vpspScanBothApvs_[]
static const char fastCablingHighRms_[]
static const char noiseSignif_[]
static const char pedestalsAllStrips_[]
std::string SiStripEnumsAndStrings::presentation ( const sistrip::Presentation type)
static

Definition at line 540 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< DaqScopeModeAnalysis >::fill(), SummaryHistogramFactory< FedTimingAnalysis >::fill(), SummaryGenerator::histogram(), CommissioningHistograms::histogram(), SummaryPlotFactoryBase::init(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

540  {
541  if ( type == sistrip::HISTO_1D ) { return sistrip::histo1d_; }
542  else if ( type == sistrip::HISTO_2D_SUM ) { return sistrip::histo2dSum_; }
543  else if ( type == sistrip::HISTO_2D_SCATTER ) { return sistrip::histo2dScatter_; }
544  else if ( type == sistrip::PROFILE_1D ) { return sistrip::profile1D_; }
546  else { return sistrip::unknownPresentation_; }
547 }
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 551 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.

551  {
552  if ( type.find( sistrip::histo1d_ ) != std::string::npos ) { return sistrip::HISTO_1D; }
553  else if ( type.find( sistrip::histo2dSum_ ) != std::string::npos ) { return sistrip::HISTO_2D_SUM; }
554  else if ( type.find( sistrip::histo2dScatter_ ) != std::string::npos ) { return sistrip::HISTO_2D_SCATTER; }
555  else if ( type.find( sistrip::profile1D_ ) != std::string::npos ) { return sistrip::PROFILE_1D; }
556  else if ( type.find( sistrip::undefinedPresentation_ ) != std::string::npos ) { return sistrip::UNDEFINED_PRESENTATION; }
557  else if ( type.empty() ) { return sistrip::UNDEFINED_PRESENTATION; }
558  else { return sistrip::UNKNOWN_PRESENTATION; }
559 }
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 27 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(), PedestalsAnalysis::summary(), NoiseAnalysis::summary(), OptoScanAnalysis::summary(), CommissioningAnalysis::summary(), FastFedCablingAnalysis::summary(), and PedsFullNoiseAnalysis::summary().

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

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

97  {
98  if ( run_type == 1 ) { return sistrip::PHYSICS; }
99  else if ( run_type == 2 ) { return sistrip::PEDESTALS; }
100  else if ( run_type == 3 ) { return sistrip::CALIBRATION; }
101  else if ( run_type == 4 ) { return sistrip::OPTO_SCAN; }
102  else if ( run_type == 5 ) { return sistrip::APV_TIMING; }
103  else if ( run_type == 6 ) { return sistrip::APV_LATENCY; }
104  else if ( run_type == 7 ) { return sistrip::FINE_DELAY_PLL; }
105  else if ( run_type == 8 ) { return sistrip::FINE_DELAY_TTC; }
106  else if ( run_type == 10 ) { return sistrip::MULTI_MODE; }
107  else if ( run_type == 11 ) { return sistrip::FED_CABLING; }
108  else if ( run_type == 12 ) { return sistrip::FED_TIMING; }
109  else if ( run_type == 13 ) { return sistrip::FED_CABLING; }
110  else if ( run_type == 14 ) { return sistrip::VPSP_SCAN; }
111  else if ( run_type == 15 ) { return sistrip::DAQ_SCOPE_MODE; }
112  else if ( run_type == 16 ) { return sistrip::QUITE_FAST_CABLING; }
113  else if ( run_type == 17 ) { return sistrip::FINE_DELAY; } //@@ layer
114  else if ( run_type == 18 ) { return sistrip::PHYSICS_ZS; }
115  else if ( run_type == 19 ) { return sistrip::CALIBRATION_SCAN; }
116  else if ( run_type == 20 ) { return sistrip::CALIBRATION_SCAN_DECO; }
117  else if ( run_type == 21 ) { return sistrip::FAST_CABLING; }
118  else if ( run_type == 22 ) { return sistrip::PEDS_ONLY; }
119  else if ( run_type == 23 ) { return sistrip::NOISE; }
120  else if ( run_type == 24 ) { return sistrip::PEDS_FULL_NOISE; }
121  else if ( run_type == 33 ) { return sistrip::CALIBRATION_DECO; }
122  else if ( run_type == sistrip::invalid_ ) { return sistrip::UNDEFINED_RUN_TYPE; }
123  else { return sistrip::UNKNOWN_RUN_TYPE; }
124 }
static const uint16_t invalid_
Definition: Constants.h:16
std::string SiStripEnumsAndStrings::view ( const sistrip::View view)
static

Definition at line 6 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(), DaqScopeModeHistograms::createSummaryHisto(), FedCablingHistograms::createSummaryHisto(), CommissioningHistograms::createSummaryHisto(), CommissioningHistograms::extractHistograms(), SummaryPlotFactoryBase::init(), SummaryGenerator::instance(), SummaryGenerator::name(), SummaryPlot::print(), and SummaryPlot::SummaryPlot().

6  {
8  else if ( view == sistrip::CONTROL_VIEW ) { return sistrip::controlView_; }
9  else if ( view == sistrip::DETECTOR_VIEW ) { return sistrip::detectorView_; }
10  else if ( view == sistrip::UNDEFINED_VIEW ) { return sistrip::undefinedView_; }
11  else { return sistrip::unknownView_; }
12 }
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 16 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.

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