#include <LocationDef.h>
Public Member Functions | |
int | fetchID () throw (std::runtime_error) |
std::string | getLocation () const |
LocationDef () | |
bool | operator!= (const LocationDef &l) const |
bool | operator== (const LocationDef &l) const |
void | setByID (int id) throw (std::runtime_error) |
void | setLocation (std::string loc) |
virtual | ~LocationDef () |
Public Member Functions inherited from IDBObject | |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
virtual | ~IDBObject () |
Protected Member Functions | |
void | fetchAllDefs (std::vector< LocationDef > *fillVec) throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes | |
std::string | m_loc |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Def for Location information
Definition at line 12 of file LocationDef.h.
LocationDef::LocationDef | ( | ) |
|
virtual |
Definition at line 20 of file LocationDef.cc.
|
protected |
Definition at line 103 of file LocationDef.cc.
References alignCSCRings::e, setByID(), and IDBObject::setConnection().
|
virtual |
Implements IUniqueDBObject.
Definition at line 43 of file LocationDef.cc.
References alignCSCRings::e.
string LocationDef::getLocation | ( | ) | const |
Definition at line 26 of file LocationDef.cc.
Referenced by EcalTPGDBApp::printTag(), and EcalErrorMask::readDB().
|
inline |
|
inline |
|
virtual |
Implements IUniqueDBObject.
Definition at line 76 of file LocationDef.cc.
References alignCSCRings::e, and errorMatrix2Lands_multiChannel::id.
Referenced by fetchAllDefs().
void LocationDef::setLocation | ( | std::string | loc | ) |
Definition at line 33 of file LocationDef.cc.
Referenced by EcalBarrelMonitorClient::beginRunDb(), EcalEndcapMonitorClient::beginRunDb(), popcon::EcalSRPHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalChannelStatusHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTPGDBApp::readFromCondDB_Pedestals(), and EcalPedOffset::writeDb().
|
friend |
Definition at line 14 of file LocationDef.h.
|
protected |
Definition at line 32 of file LocationDef.h.
Referenced by operator!=(), and operator==().