CMS 3D CMS Logo

RPCEMapSourceHandler.h
Go to the documentation of this file.
1 #ifndef RPCEMAPSOURCEHANDLER
2 #define RPCEMAPSOURCEHANDLER
3 
4 #include <vector>
5 #include <string>
6 #include <iostream>
7 #include <typeinfo>
8 
11 //#include "CondCore/PopCon/interface/LogReader.h"
17 
30 
32 #include "RelationalAccess/ITable.h"
33 #include "RelationalAccess/ISchema.h"
34 #include "RelationalAccess/IQuery.h"
35 #include "RelationalAccess/ICursor.h"
36 #include "CoralBase/AttributeList.h"
37 #include "CoralBase/Attribute.h"
38 #include "CoralBase/AttributeSpecification.h"
39 
40 namespace popcon {
42  public:
44  ~RPCEMapSourceHandler() override;
45  void getNewObjects() override;
46  std::string id() const override { return m_name; }
48  void DisconnectOnlineDB();
49  void readEMap1();
50  int Compare2EMaps(const Ref& map1, RPCEMap* map2);
51 
52  private:
56  int m_dummy;
60 
61  // utilities
63  std::stringstream snum;
64  snum << num << std::flush;
65  return (snum.str());
66  }
67 
68  typedef struct {
69  int febId, chamberId, connectorId, lbInputNum, posInLocalEtaPart, posInCmsEtaPart;
71  } FEBStruct;
72  };
73 } // namespace popcon
74 #endif
lumi_dqm_sourceclient-live_cfg.authPath
authPath
Definition: lumi_dqm_sourceclient-live_cfg.py:33
PopConSourceHandler.h
Handle.h
ChamberStripSpec.h
RPCReadOutMapping.h
popcon::RPCEMapSourceHandler::m_connect
std::string m_connect
Definition: RPCEMapSourceHandler.h:58
ESHandle.h
popcon::RPCEMapSourceHandler::m_authpath
std::string m_authpath
Definition: RPCEMapSourceHandler.h:59
popcon::RPCEMapSourceHandler::m_name
std::string m_name
Definition: RPCEMapSourceHandler.h:55
popcon::RPCEMapSourceHandler::session
cond::persistency::Session session
Definition: RPCEMapSourceHandler.h:54
popcon::RPCEMapSourceHandler::ConnectOnlineDB
void ConnectOnlineDB(std::string connect, std::string authPath)
Definition: RPCEMapSourceHandler.cc:61
FebLocationSpec.h
popcon::RPCEMapSourceHandler::id
std::string id() const override
Definition: RPCEMapSourceHandler.h:46
popcon::RPCEMapSourceHandler::readEMap1
void readEMap1()
Definition: RPCEMapSourceHandler.cc:72
popcon::RPCEMapSourceHandler::RPCEMapSourceHandler
RPCEMapSourceHandler(const edm::ParameterSet &ps)
Definition: RPCEMapSourceHandler.cc:7
RPCEMapRcd.h
MakerMacros.h
RPCEMap
Definition: RPCEMap.h:13
popcon::RPCEMapSourceHandler
Definition: RPCEMapSourceHandler.h:41
popcon::RPCEMapSourceHandler::Compare2EMaps
int Compare2EMaps(const Ref &map1, RPCEMap *map2)
Definition: RPCEMapSourceHandler.cc:390
popcon::RPCEMapSourceHandler::DisconnectOnlineDB
void DisconnectOnlineDB()
Definition: RPCEMapSourceHandler.cc:70
popcon::RPCEMapSourceHandler::~RPCEMapSourceHandler
~RPCEMapSourceHandler() override
Definition: RPCEMapSourceHandler.cc:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FebConnectorSpec.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
popcon::RPCEMapSourceHandler::FEBStruct::posInLocalEtaPart
int posInLocalEtaPart
Definition: RPCEMapSourceHandler.h:69
LinkBoardSpec.h
cond::persistency::Session
Definition: Session.h:63
popcon::RPCEMapSourceHandler::FEBStruct
Definition: RPCEMapSourceHandler.h:68
popcon::RPCEMapSourceHandler::eMap
RPCEMap * eMap
Definition: RPCEMapSourceHandler.h:53
DBConfiguration_cff.connect
connect
Definition: DBConfiguration_cff.py:18
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
TriggerBoardSpec.h
popcon
Definition: Exception.h:6
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition: JetExtendedAssociation.h:32
DBSpecToDetUnit.h
popcon::RPCEMapSourceHandler::FEBStruct::localEtaPart
std::string localEtaPart
Definition: RPCEMapSourceHandler.h:70
popcon::RPCEMapSourceHandler::m_validate
int m_validate
Definition: RPCEMapSourceHandler.h:57
ParameterSetfwd.h
EventSetup.h
RPCEMap.h
ChamberLocationSpec.h
Session.h
popcon::RPCEMapSourceHandler::IntToString
std::string IntToString(int num)
Definition: RPCEMapSourceHandler.h:62
LinkConnSpec.h
popcon::RPCEMapSourceHandler::getNewObjects
void getNewObjects() override
Definition: RPCEMapSourceHandler.cc:16
DccSpec.h
popcon::RPCEMapSourceHandler::m_dummy
int m_dummy
Definition: RPCEMapSourceHandler.h:56