CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void ConnectOnlineDB(std::string connect, std::string authPath)
std::string IntToString(int num)
RPCEMapSourceHandler(const edm::ParameterSet &ps)
int Compare2EMaps(const Ref &map1, RPCEMap *map2)
cond::persistency::Session session
std::string id() const override