CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
HcalDbOnline Class Reference

Gather conditions data from online DB. More...

#include <HcalDbOnline.h>

Public Types

typedef std::pair< IOVTime,
IOVTime
IntervalOV
 
typedef unsigned long long IOVTime
 

Public Member Functions

std::vector< IntervalOVgetIOVs (const std::string &fTag)
 
bool getObject (HcalPedestals *fObject, HcalPedestalWidths *fWidths, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalPedestals *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalGains *fObject, HcalGainWidths *fWidths, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalGains *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalPedestalWidths *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalGainWidths *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalElectronicsMap *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalQIEData *fObject, const std::string &fTag, IOVTime fTime)
 
bool getObject (HcalCalibrationQIEData *fObject, const std::string &fTag, IOVTime fTime)
 
 HcalDbOnline (const std::string &fDb, bool fVerbose=false)
 
std::vector< std::string > metadataAllTags ()
 
 ~HcalDbOnline ()
 

Private Member Functions

template<class T >
bool getObjectGeneric (T *fObject, const std::string &fTag)
 

Private Attributes

oracle::occi::Connection * mConnect
 
oracle::occi::Environment * mEnvironment
 
oracle::occi::Statement * mStatement
 
bool mVerbose
 

Detailed Description

Gather conditions data from online DB.

Author
Fedor Ratnikov

Definition at line 34 of file HcalDbOnline.h.

Member Typedef Documentation

Definition at line 37 of file HcalDbOnline.h.

typedef unsigned long long HcalDbOnline::IOVTime

Definition at line 36 of file HcalDbOnline.h.

Constructor & Destructor Documentation

HcalDbOnline::HcalDbOnline ( const std::string &  fDb,
bool  fVerbose = false 
)

Definition at line 26 of file HcalDbOnline.cc.

HcalDbOnline::~HcalDbOnline ( )

Definition at line 54 of file HcalDbOnline.cc.

Member Function Documentation

std::vector< HcalDbOnline::IntervalOV > HcalDbOnline::getIOVs ( const std::string &  fTag)

Definition at line 591 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalPedestals fObject,
HcalPedestalWidths fWidths,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 417 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalPedestals fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 488 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalGains fObject,
HcalGainWidths fWidths,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 496 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalGains fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 563 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalPedestalWidths fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 492 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalGainWidths fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 567 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalElectronicsMap fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 60 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalQIEData fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 122 of file HcalDbOnline.cc.

bool HcalDbOnline::getObject ( HcalCalibrationQIEData fObject,
const std::string &  fTag,
IOVTime  fTime 
)

Definition at line 279 of file HcalDbOnline.cc.

template<class T >
bool HcalDbOnline::getObjectGeneric ( T fObject,
const std::string &  fTag 
)
private
std::vector< std::string > HcalDbOnline::metadataAllTags ( )

Definition at line 571 of file HcalDbOnline.cc.

Member Data Documentation

oracle::occi::Connection* HcalDbOnline::mConnect
private

Definition at line 58 of file HcalDbOnline.h.

oracle::occi::Environment* HcalDbOnline::mEnvironment
private

Definition at line 57 of file HcalDbOnline.h.

oracle::occi::Statement* HcalDbOnline::mStatement
private

Definition at line 59 of file HcalDbOnline.h.

bool HcalDbOnline::mVerbose
private

Definition at line 61 of file HcalDbOnline.h.