CMS 3D CMS Logo

L1RPCHwConfigSourceHandler.h
Go to the documentation of this file.
1 #ifndef L1RPCHWCONFIGSOURCEHANDLER
2 #define L1RPCHWCONFIGSOURCEHANDLER
3 
4 #include <vector>
5 #include <string>
6 #include <iostream>
7 #include <typeinfo>
8 
11 //#include "CondCore/PopCon/interface/LogReader.h"
17 
20 
21 
22 
24 #include "RelationalAccess/ITable.h"
25 #include "RelationalAccess/ISchema.h"
26 #include "RelationalAccess/IQuery.h"
27 #include "RelationalAccess/ICursor.h"
28 #include "CoralBase/AttributeList.h"
29 #include "CoralBase/Attribute.h"
30 #include "CoralBase/AttributeSpecification.h"
31 
32 namespace popcon
33 {
35  {
36 
37  public:
39  ~L1RPCHwConfigSourceHandler() override;
40  void getNewObjects() override;
41  std::string id() const override {return m_name;}
43  void DisconnectOnlineDB();
44  void readHwConfig1();
45  int Compare2Configs(const Ref& set1, L1RPCHwConfig* set2);
46 
47  private:
51  int m_dummy;
53  std::vector<int> m_disableCrates;
54  std::vector<int> m_disableTowers;
57 
58  };
59 }
60 #endif
int Compare2Configs(const Ref &set1, L1RPCHwConfig *set2)
void ConnectOnlineDB(std::string connect, std::string authPath)
L1RPCHwConfigSourceHandler(const edm::ParameterSet &ps)