CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
31 
32 
36 #include "RelationalAccess/ITable.h"
37 #include "RelationalAccess/ISchema.h"
38 #include "RelationalAccess/IQuery.h"
39 #include "RelationalAccess/ICursor.h"
40 #include "CoralBase/AttributeList.h"
41 #include "CoralBase/Attribute.h"
42 #include "CoralBase/AttributeSpecification.h"
43 
44 namespace popcon
45 {
47  {
48 
49  public:
52  void getNewObjects();
53  std::string id() const {return m_name;}
54  void ConnectOnlineDB(std::string connect, std::string authPath);
55  void DisconnectOnlineDB();
56  void readEMap1();
57  int Compare2EMaps(Ref map1, RPCEMap* map2);
58 
59  private:
63  std::string m_name;
64  int m_dummy;
66  std::string m_connect;
67  std::string m_authpath;
68 
69  // utilities
70  std::string IntToString(int num)
71  {
72  std::stringstream snum;
73  snum << num << std::flush;
74  return(snum.str());
75  }
76 
77  typedef struct{int febId,chamberId,connectorId,lbInputNum,posInLocalEtaPart,posInCmsEtaPart;std::string localEtaPart,cmsEtaPart;} FEBStruct;
78  };
79 }
80 #endif
int Compare2EMaps(Ref map1, RPCEMap *map2)
void ConnectOnlineDB(std::string connect, std::string authPath)
std::string IntToString(int num)
RPCEMapSourceHandler(const edm::ParameterSet &ps)
long long int num
Definition: procUtils.cc:71