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 
22 #include "RelationalAccess/ITable.h"
23 #include "RelationalAccess/ISchema.h"
24 #include "RelationalAccess/IQuery.h"
25 #include "RelationalAccess/ICursor.h"
26 #include "CoralBase/AttributeList.h"
27 #include "CoralBase/Attribute.h"
28 #include "CoralBase/AttributeSpecification.h"
29 
30 namespace popcon {
32  public:
34  ~L1RPCHwConfigSourceHandler() override;
35  void getNewObjects() override;
36  std::string id() const override { return m_name; }
38  void DisconnectOnlineDB();
39  void readHwConfig1();
40  int Compare2Configs(const Ref& set1, L1RPCHwConfig* set2);
41 
42  private:
46  int m_dummy;
48  std::vector<int> m_disableCrates;
49  std::vector<int> m_disableTowers;
52  };
53 } // namespace popcon
54 #endif
int Compare2Configs(const Ref &set1, L1RPCHwConfig *set2)
void ConnectOnlineDB(std::string connect, std::string authPath)
L1RPCHwConfigSourceHandler(const edm::ParameterSet &ps)