Gather conditions data from online DB. More...
#include <HcalDbPoolOCCI.h>
Public Member Functions | |
bool | getObject (HcalPedestals *fObject, const std::string &fTag, unsigned long fRun) |
bool | getObject (HcalGains *fObject, const std::string &fTag, unsigned long fRun) |
bool | getObject (HcalElectronicsMap *fObject, const std::string &fTag, unsigned long fRun) |
HcalDbPoolOCCI (const std::string &fDb) | |
~HcalDbPoolOCCI () | |
Private Member Functions | |
std::string | getDataToken (const std::string &fIov, unsigned long fRun) |
std::string | getMetadataToken (const std::string &fTag) |
template<class T , class S > | |
bool | getObjectGeneric (T *fObject, S *fCondObject, const std::string &fTag, unsigned long fRun) |
Private Attributes | |
oracle::occi::Connection * | mConnect |
oracle::occi::Environment * | mEnvironment |
oracle::occi::Statement * | mStatement |
Gather conditions data from online DB.
Definition at line 33 of file HcalDbPoolOCCI.h.
HcalDbPoolOCCI::HcalDbPoolOCCI | ( | const std::string & | fDb | ) |
Definition at line 39 of file HcalDbPoolOCCI.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, query::host, mConnect, mEnvironment, mStatement, AlCaHLTBitMon_QueryRunRegistry::string, and EnviromentSettings::user.
HcalDbPoolOCCI::~HcalDbPoolOCCI | ( | ) |
|
private |
Definition at line 112 of file HcalDbPoolOCCI.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, debug, mStatement, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and unpackBuffers-CaloStage2::token.
Referenced by getObjectGeneric().
|
private |
Definition at line 88 of file HcalDbPoolOCCI.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, debug, mStatement, mergeVDriftHistosByStation::name, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and unpackBuffers-CaloStage2::token.
Referenced by getObjectGeneric().
bool HcalDbPoolOCCI::getObject | ( | HcalPedestals * | fObject, |
const std::string & | fTag, | ||
unsigned long | fRun | ||
) |
Definition at line 72 of file HcalDbPoolOCCI.cc.
References getObjectGeneric().
bool HcalDbPoolOCCI::getObject | ( | HcalGains * | fObject, |
const std::string & | fTag, | ||
unsigned long | fRun | ||
) |
Definition at line 77 of file HcalDbPoolOCCI.cc.
References getObjectGeneric().
bool HcalDbPoolOCCI::getObject | ( | HcalElectronicsMap * | fObject, |
const std::string & | fTag, | ||
unsigned long | fRun | ||
) |
Definition at line 82 of file HcalDbPoolOCCI.cc.
|
private |
Definition at line 141 of file HcalDbPoolOCCI.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, debug, getDataToken(), getMetadataToken(), i, mStatement, mergeVDriftHistosByStation::name, S(), AlCaHLTBitMon_QueryRunRegistry::string, and makeHLTPrescaleTable::values.
Referenced by getObject().
|
private |
Definition at line 43 of file HcalDbPoolOCCI.h.
Referenced by HcalDbPoolOCCI(), and ~HcalDbPoolOCCI().
|
private |
Definition at line 42 of file HcalDbPoolOCCI.h.
Referenced by HcalDbPoolOCCI(), and ~HcalDbPoolOCCI().
|
private |
Definition at line 44 of file HcalDbPoolOCCI.h.
Referenced by getDataToken(), getMetadataToken(), getObjectGeneric(), HcalDbPoolOCCI(), and ~HcalDbPoolOCCI().