CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCFw.h
Go to the documentation of this file.
1 #ifndef RPC_DB_FW_H
2 #define RPC_DB_FW_H
3 
4 /*
5  * \class RPCFw
6  * Reads data from OMDS and creates conditioning objects
7  *
8  * \author D. Pagano - Dip. Fis. Nucl. e Teo. & INFN Pavia
9  */
10 
11 
12 
14 #include "CoralBase/TimeStamp.h"
25 
26 struct dbread{
27  float alias;
28  float value;
29 };
30 
31 
32 class RPCFw : virtual public RPCDBCom
33 {
34 public:
36  const std::string& userName,
37  const std::string& password);
38  virtual ~RPCFw();
39  void run();
40 
41  coral::TimeStamp UTtoT(long long utime);
42  unsigned long long TtoUT(const coral::TimeStamp& time);
43 
44  coral::TimeStamp tMIN;
45  coral::TimeStamp tMAX;
46  unsigned long long N_IOV;
47 
48  std::vector<RPCObImon::I_Item> createIMON(long long since, long long till);
49  std::vector<RPCObVmon::V_Item> createVMON(long long from, long long till);
50  std::vector<RPCObStatus::S_Item> createSTATUS(long long since, long long till);
51  std::vector<RPCObGas::Item> createGAS(long long since, long long till);
52  std::vector<RPCObTemp::T_Item> createT(long long since, long long till);
53  std::vector<RPCObPVSSmap::Item> createIDMAP();
54  std::vector<RPCObFebmap::Feb_Item> createFEB(long long since, long long till);
55  std::vector<RPCObUXC::Item> createUXC(long long since, long long till);
56  std::vector<RPCObGasMix::Item> createMix(long long since, long long till);
57  bool isMajor(const coral::TimeStamp& fir, const coral::TimeStamp& sec);
58 
59 private:
63 };
64 
65 #endif
void run()
Definition: RPCFw.cc:44
unsigned long long TtoUT(const coral::TimeStamp &time)
Definition: RPCFw.cc:1621
std::string m_userName
Definition: RPCFw.h:61
std::vector< RPCObGasMix::Item > createMix(long long since, long long till)
Definition: RPCFw.cc:1380
bool isMajor(const coral::TimeStamp &fir, const coral::TimeStamp &sec)
Definition: RPCFw.cc:1643
Definition: RPCFw.h:32
std::vector< RPCObFebmap::Feb_Item > createFEB(long long since, long long till)
Definition: RPCFw.cc:634
RPCFw(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: RPCFw.cc:30
std::vector< RPCObUXC::Item > createUXC(long long since, long long till)
Definition: RPCFw.cc:1271
unsigned long long N_IOV
Definition: RPCFw.h:46
std::vector< RPCObPVSSmap::Item > createIDMAP()
Definition: RPCFw.cc:541
Definition: RPCFw.h:26
std::vector< RPCObGas::Item > createGAS(long long since, long long till)
Definition: RPCFw.cc:297
coral::TimeStamp UTtoT(long long utime)
Definition: RPCFw.cc:1487
std::vector< RPCObVmon::V_Item > createVMON(long long from, long long till)
Definition: RPCFw.cc:133
coral::TimeStamp tMAX
Definition: RPCFw.h:45
std::vector< RPCObStatus::S_Item > createSTATUS(long long since, long long till)
Definition: RPCFw.cc:214
std::vector< RPCObTemp::T_Item > createT(long long since, long long till)
Definition: RPCFw.cc:454
float value
Definition: RPCFw.h:28
string connectionString
Definition: autoCondHLT.py:4
std::string m_password
Definition: RPCFw.h:62
float alias
Definition: RPCFw.h:27
std::vector< RPCObImon::I_Item > createIMON(long long since, long long till)
Definition: RPCFw.cc:50
std::string m_connectionString
Definition: RPCFw.h:60
virtual ~RPCFw()
Definition: RPCFw.cc:40
coral::TimeStamp tMIN
Definition: RPCFw.h:44