CMS 3D CMS Logo

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 
12 #include "CoralBase/TimeStamp.h"
23 
24 struct dbread {
25  float alias;
26  float value;
27 };
28 
29 class RPCFw : virtual public RPCDBCom {
30 public:
32  ~RPCFw() override;
33  void run() override;
34 
35  coral::TimeStamp UTtoT(long long utime);
36  unsigned long long TtoUT(const coral::TimeStamp& time);
37 
38  coral::TimeStamp tMIN;
39  coral::TimeStamp tMAX;
40  unsigned long long N_IOV;
41 
42  std::vector<RPCObImon::I_Item> createIMON(long long since, long long till);
43  std::vector<RPCObVmon::V_Item> createVMON(long long from, long long till);
44  std::vector<RPCObStatus::S_Item> createSTATUS(long long since, long long till);
45  std::vector<RPCObGas::Item> createGAS(long long since, long long till);
46  std::vector<RPCObTemp::T_Item> createT(long long since, long long till);
47  std::vector<RPCObPVSSmap::Item> createIDMAP();
48  std::vector<RPCObFebmap::Feb_Item> createFEB(long long since, long long till);
49  std::vector<RPCObUXC::Item> createUXC(long long since, long long till);
50  std::vector<RPCObGasMix::Item> createMix(long long since, long long till);
51  bool isMajor(const coral::TimeStamp& fir, const coral::TimeStamp& sec);
52 
53 private:
57 };
58 
59 #endif
RPCFw::tMIN
coral::TimeStamp tMIN
Definition: RPCFw.h:38
RPCObUXC.h
RPCImonSH.h
RPCVmonSH.h
RPCFw::createIMON
std::vector< RPCObImon::I_Item > createIMON(long long since, long long till)
Definition: RPCFw.cc:38
RPCIDMapSH.h
RPCFw::m_connectionString
std::string m_connectionString
Definition: RPCFw.h:54
RPCFw::m_userName
std::string m_userName
Definition: RPCFw.h:55
RPCFw::createFEB
std::vector< RPCObFebmap::Feb_Item > createFEB(long long since, long long till)
Definition: RPCFw.cc:635
RPCFw::TtoUT
unsigned long long TtoUT(const coral::TimeStamp &time)
Definition: RPCFw.cc:1862
RPCFw::createUXC
std::vector< RPCObUXC::Item > createUXC(long long since, long long till)
Definition: RPCFw.cc:1504
protons_cff.time
time
Definition: protons_cff.py:39
RPCFw::N_IOV
unsigned long long N_IOV
Definition: RPCFw.h:40
RPCFw::RPCFw
RPCFw(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: RPCFw.cc:30
RPCFw::createIDMAP
std::vector< RPCObPVSSmap::Item > createIDMAP()
Definition: RPCFw.cc:544
RPCFw::isMajor
bool isMajor(const coral::TimeStamp &fir, const coral::TimeStamp &sec)
Definition: RPCFw.cc:1891
EcalCondDBWriter_cfi.userName
userName
Definition: EcalCondDBWriter_cfi.py:61
RPCFw::~RPCFw
~RPCFw() override
Definition: RPCFw.cc:33
RPCFw::createMix
std::vector< RPCObGasMix::Item > createMix(long long since, long long till)
Definition: RPCFw.cc:1618
EcalCondDBWriter_cfi.password
password
Definition: EcalCondDBWriter_cfi.py:62
RPCFw::tMAX
coral::TimeStamp tMAX
Definition: RPCFw.h:39
dbread::alias
float alias
Definition: RPCFw.h:25
dbread::value
float value
Definition: RPCFw.h:26
RPCFw::UTtoT
coral::TimeStamp UTtoT(long long utime)
Definition: RPCFw.cc:1731
RPCFw::run
void run() override
Definition: RPCFw.cc:35
writeEcalDQMStatus.since
since
Definition: writeEcalDQMStatus.py:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ntuplemaker.till
till
Definition: ntuplemaker.py:198
RPCDBCom.h
RPCFw::createT
std::vector< RPCObTemp::T_Item > createT(long long since, long long till)
Definition: RPCFw.cc:455
RPCFw
Definition: RPCFw.h:29
RPCFw::m_password
std::string m_password
Definition: RPCFw.h:56
RPCObGasMix.h
RPCStatusSH.h
RPCFw::createGAS
std::vector< RPCObGas::Item > createGAS(long long since, long long till)
Definition: RPCFw.cc:287
RPCFw::createSTATUS
std::vector< RPCObStatus::S_Item > createSTATUS(long long since, long long till)
Definition: RPCFw.cc:205
RPCTempSH.h
RPCFw::createVMON
std::vector< RPCObVmon::V_Item > createVMON(long long from, long long till)
Definition: RPCFw.cc:121
fileinputsource_cfi.sec
sec
Definition: fileinputsource_cfi.py:94
RPCObFebmap.h
dbread
Definition: RPCFw.h:24
RPCDBCom
Definition: RPCDBCom.h:12
RPCObCond.h
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition: l1RCTOmdsFedVectorProducer_cfi.py:4
RPCGasSH.h