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 
31 
32 
34 #include "RelationalAccess/ITable.h"
35 #include "RelationalAccess/ISchema.h"
36 #include "RelationalAccess/IQuery.h"
37 #include "RelationalAccess/ICursor.h"
38 #include "CoralBase/AttributeList.h"
39 #include "CoralBase/Attribute.h"
40 #include "CoralBase/AttributeSpecification.h"
41 
42 namespace popcon
43 {
45  {
46 
47  public:
50  void getNewObjects();
51  std::string id() const {return m_name;}
53  void DisconnectOnlineDB();
54  void readEMap1();
55  int Compare2EMaps(const Ref& map1, RPCEMap* map2);
56 
57  private:
61  int m_dummy;
65 
66  // utilities
68  {
69  std::stringstream snum;
70  snum << num << std::flush;
71  return(snum.str());
72  }
73 
74  typedef struct{int febId,chamberId,connectorId,lbInputNum,posInLocalEtaPart,posInCmsEtaPart;std::string localEtaPart,cmsEtaPart;} FEBStruct;
75  };
76 }
77 #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