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 <boost/shared_ptr.hpp>
26 #include <vector>
27 
28 // user include files
32 
34 
37 
40 
41 // @@@ remove headers
42 //#include "CondFormats/DTObjects/interface/DTConfigList.h"
45 //#include "CondFormats/DTObjects/interface/DTConfig1Handler.h"
46 //#include "CondFormats/DTObjects/interface/DTDB1Session.h"
47 
48 //
49 // class declaration
50 //
51 
52 //class DTConfigDBProducer : public edm::ESProducer , public edm::EventSetupRecordIntervalFinder{
54 
55 public:
58 
59  std::auto_ptr<DTConfigManager> produce(const DTConfigManagerRcd&);
60 
61  int readDTCCBConfig(const DTConfigManagerRcd& iRecord);
62  void configFromCfg();
63 
64 private:
65  std::string mapEntryName(const DTChamberId & chambid) const;
66 
67  // ----------member data ---------------------------
70 
71  // debug flags
72  bool m_debugDB;
75  bool m_debugTSP;
76  bool m_debugTST;
77  bool m_debugTU;
78  bool m_debugSC;
79  bool m_debugLUTs;
80 
81  // general DB requests
84 
85 // @@@ remove
86 // std::string contact;
87 // std::string auth_path;
88 // std::string catalog;
89 // std::string token;
90 // bool local;
91  bool cfgConfig;
92 
93 // @@@ remove
94 // DTDB1Session* session;
95 // const DTConfigList* rs;
96 // DTConfig1Handler* ri;
97 
99 };
100 
101 #endif
std::string mapEntryName(const DTChamberId &chambid) const
std::auto_ptr< DTConfigManager > produce(const DTConfigManagerRcd &)
DTConfigManager * m_manager
edm::ParameterSet m_ps
DTConfigDBProducer(const edm::ParameterSet &)
int readDTCCBConfig(const DTConfigManagerRcd &iRecord)