CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTConfigDBProducer.h
Go to the documentation of this file.
1 #ifndef DTTPGConfigProducers_DTConfigDBProducer_h
2 #define DTTPGConfigProducers_DTConfigDBProducer_h
3 
4 // -*- C++ -*-
5 //
6 // Package: DTTPGConfigProducers
7 // Class: DTConfigDBProducer
8 //
16 //
17 // Original Author: Sara Vanini
18 // Created: September 2008
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 #include <vector>
26 
27 // user include files
31 
33 
36 
38 
41 
42 //
43 // class declaration
44 //
45 
47 
48  public :
49 
52 
55 
57  std::unique_ptr<DTConfigManager> produce(const DTConfigManagerRcd&);
58 
59  private :
60 
62  void readDBPedestalsConfig(const DTConfigManagerRcd& iRecord, DTConfigManager & dttpgConfig);
63 
65  int readDTCCBConfig(const DTConfigManagerRcd& iRecord, DTConfigManager & dttpgConfig);
66 
68  void configFromCfg(DTConfigManager & dttpgConfig);
69 
72 
74  int checkDTCCBConfig(DTConfigManager & dttpgConfig);
75 
76  std::string mapEntryName(const DTChamberId & chambid) const;
77 
78  // ----------member data ---------------------------
80 
81  // debug flags
82  bool m_debugDB;
85  bool m_debugTSP;
86  bool m_debugTST;
87  bool m_debugTU;
88  bool m_debugSC;
90  bool m_debugPed;
91 
92  // general DB requests
93  bool m_UseT0;
94 
95  bool cfgConfig;
96 
98 
100 };
101 
102 #endif
std::string mapEntryName(const DTChamberId &chambid) const
int readDTCCBConfig(const DTConfigManagerRcd &iRecord, DTConfigManager &dttpgConfig)
Read CCB string configuration.
~DTConfigDBProducer()
Destructor.
edm::ParameterSet m_ps
DTKeyedConfigCache cfgCache
DTConfigPedestals buildTrivialPedestals()
SV for debugging purpose ONLY.
DTConfigDBProducer(const edm::ParameterSet &)
Constructor.
std::unique_ptr< DTConfigManager > produce(const DTConfigManagerRcd &)
ES produce method.
int checkDTCCBConfig(DTConfigManager &dttpgConfig)
110629 SV function for CCB configuration check
void configFromCfg(DTConfigManager &dttpgConfig)
SV for debugging purpose ONLY.
void readDBPedestalsConfig(const DTConfigManagerRcd &iRecord, DTConfigManager &dttpgConfig)
Read DTTPG pedestal configuration.