CMS 3D CMS Logo

DTKeyedConfigHandler.h
Go to the documentation of this file.
1 #ifndef DTKeyedConfigHandler_H
2 #define DTKeyedConfigHandler_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
25 #include <memory>
26 #include <string>
27 
28 namespace coral {
29  class ISessionProxy;
30 }
31 
32 namespace cond {
33  namespace persistency {
34  class KeyList;
35  }
36 } // namespace cond
37 
38 //---------------
39 // C++ Headers --
40 //---------------
41 
42 // ---------------------
43 // -- Class Interface --
44 // ---------------------
45 
47 public:
51 
54  ~DTKeyedConfigHandler() override;
55 
58  void getNewObjects() override;
60  std::string id() const override;
61 
62  void setList(const cond::persistency::KeyList* list);
63 
64 private:
65  bool copyData;
68  int minRunId;
69  int maxRunId;
70 
77 
79  std::shared_ptr<coral::ISessionProxy> isession;
80  void chkConfigList();
81  static bool sameConfigList(const std::vector<DTConfigKey>& cfgl, const std::vector<DTConfigKey>& cfgr);
82 
84 };
85 
86 #endif // DTKeyedConfigHandler_H
cond::persistency::ConnectionPool connection
void setList(const cond::persistency::KeyList *list)
static bool sameConfigList(const std::vector< DTConfigKey > &cfgl, const std::vector< DTConfigKey > &cfgr)
Definition: Binary.h:9
std::shared_ptr< coral::ISessionProxy > isession
std::string id() const override
void getNewObjects() override
DTKeyedConfigHandler(const edm::ParameterSet &ps)
const cond::persistency::KeyList * keyList