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
lumi_dqm_sourceclient-live_cfg.authPath
authPath
Definition: lumi_dqm_sourceclient-live_cfg.py:33
PopConSourceHandler.h
Handle.h
popcon::L1RPCHwConfigSourceHandler::m_validate
int m_validate
Definition: L1RPCHwConfigSourceHandler.h:47
popcon::L1RPCHwConfigSourceHandler::id
std::string id() const override
Definition: L1RPCHwConfigSourceHandler.h:36
popcon::L1RPCHwConfigSourceHandler::m_connect
std::string m_connect
Definition: L1RPCHwConfigSourceHandler.h:50
ESHandle.h
L1RPCHwConfigRcd.h
popcon::L1RPCHwConfigSourceHandler::L1RPCHwConfigSourceHandler
L1RPCHwConfigSourceHandler(const edm::ParameterSet &ps)
Definition: L1RPCHwConfigSourceHandler.cc:7
popcon::L1RPCHwConfigSourceHandler::session
cond::persistency::Session session
Definition: L1RPCHwConfigSourceHandler.h:44
popcon::L1RPCHwConfigSourceHandler::~L1RPCHwConfigSourceHandler
~L1RPCHwConfigSourceHandler() override
Definition: L1RPCHwConfigSourceHandler.cc:16
popcon::L1RPCHwConfigSourceHandler::disabledDevs
L1RPCHwConfig * disabledDevs
Definition: L1RPCHwConfigSourceHandler.h:43
popcon::L1RPCHwConfigSourceHandler::readHwConfig1
void readHwConfig1()
Definition: L1RPCHwConfigSourceHandler.cc:88
MakerMacros.h
popcon::L1RPCHwConfigSourceHandler::m_authpath
std::string m_authpath
Definition: L1RPCHwConfigSourceHandler.h:51
popcon::L1RPCHwConfigSourceHandler
Definition: L1RPCHwConfigSourceHandler.h:31
popcon::L1RPCHwConfigSourceHandler::m_dummy
int m_dummy
Definition: L1RPCHwConfigSourceHandler.h:46
popcon::L1RPCHwConfigSourceHandler::m_disableCrates
std::vector< int > m_disableCrates
Definition: L1RPCHwConfigSourceHandler.h:48
popcon::L1RPCHwConfigSourceHandler::ConnectOnlineDB
void ConnectOnlineDB(std::string connect, std::string authPath)
Definition: L1RPCHwConfigSourceHandler.cc:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
L1RPCHwConfig
Definition: L1RPCHwConfig.h:65
Event.h
popcon::L1RPCHwConfigSourceHandler::DisconnectOnlineDB
void DisconnectOnlineDB()
Definition: L1RPCHwConfigSourceHandler.cc:86
cond::persistency::Session
Definition: Session.h:63
L1RPCHwConfig.h
DBConfiguration_cff.connect
connect
Definition: DBConfiguration_cff.py:18
popcon::L1RPCHwConfigSourceHandler::Compare2Configs
int Compare2Configs(const Ref &set1, L1RPCHwConfig *set2)
Definition: L1RPCHwConfigSourceHandler.cc:221
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::L1RPCHwConfigSourceHandler::m_name
std::string m_name
Definition: L1RPCHwConfigSourceHandler.h:45
popcon::L1RPCHwConfigSourceHandler::getNewObjects
void getNewObjects() override
Definition: L1RPCHwConfigSourceHandler.cc:18
popcon
Definition: Exception.h:6
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition: JetExtendedAssociation.h:32
ParameterSetfwd.h
EventSetup.h
Session.h
popcon::L1RPCHwConfigSourceHandler::m_disableTowers
std::vector< int > m_disableTowers
Definition: L1RPCHwConfigSourceHandler.h:49