#include <FEConfigMainInfo.h>
Public Member Functions | |
FEConfigMainInfo () | |
int | getBstId () const |
int | getBttId () const |
int | getBxtId () const |
Tm | getDBTime () const |
std::string | getDescription () const |
int | getFgrId () const |
int | getId () const |
int | getLinId () const |
int | getLUTId () const |
int | getPedId () const |
int | getSliId () const |
int | getSpiId () const |
std::string | getTable () |
int | getTimId () const |
int | getVersion () const |
int | getWeiId () const |
bool | operator!= (const FEConfigMainInfo &r) const |
bool | operator== (const FEConfigMainInfo &r) const |
void | setBstId (int x) |
void | setBttId (int x) |
void | setBxtId (int x) |
void | setDBTime (Tm x) |
void | setDescription (std::string x) |
void | setFgrId (int x) |
void | setId (int id) |
void | setLinId (int x) |
void | setLUTId (int x) |
void | setPedId (int x) |
void | setSliId (int x) |
void | setSpiId (int x) |
void | setTimId (int x) |
void | setVersion (int id) |
void | setWeiId (int x) |
~FEConfigMainInfo () | |
Public Member Functions inherited from IODConfig | |
std::string | getConfigTag () |
void | setConfigTag (std::string x) |
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 () |
Private Member Functions | |
void | clear () |
void | fetchData (FEConfigMainInfo *result) throw (std::runtime_error) |
int | fetchID () throw (std::runtime_error) |
int | fetchIDLast () throw (std::runtime_error) |
int | fetchNextId () throw (std::runtime_error) |
void | insertConfig () throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | setByID (int id) throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
Private Attributes | |
int | m_bst_id |
int | m_btt_id |
int | m_bxt_id |
Tm | m_db_time |
std::string | m_description |
int | m_fgr_id |
int | m_ID |
int | m_lin_id |
int | m_lut_id |
int | m_ped_id |
int | m_sli_id |
int | m_spi_id |
int | m_tim_id |
int | m_version |
int | m_wei_id |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Public Types inherited from IODConfig | |
typedef oracle::occi::Clob | Clob |
typedef oracle::occi::SQLException | SQLException |
typedef oracle::occi::Statement | Statement |
typedef oracle::occi::Stream | Stream |
Public Attributes inherited from IODConfig | |
std::string | m_config_tag |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from IODConfig | |
void | checkPrepare () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
void | populateClob (Clob &clob, std::string fname, unsigned int bufsize) throw (std::runtime_error) |
unsigned char * | readClob (Clob &clob, int size) throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes inherited from IODConfig | |
Statement * | m_readStmt |
Statement * | m_writeStmt |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 19 of file FEConfigMainInfo.h.
FEConfigMainInfo::FEConfigMainInfo | ( | ) |
FEConfigMainInfo::~FEConfigMainInfo | ( | ) |
Definition at line 27 of file FEConfigMainInfo.cc.
|
private |
Definition at line 30 of file FEConfigMainInfo.cc.
|
private |
Definition at line 263 of file FEConfigMainInfo.cc.
References gather_cfg::cout, DateHandler::dateToTm(), cuy::dh, alignCSCRings::e, and query::result.
|
private |
Definition at line 70 of file FEConfigMainInfo.cc.
References gather_cfg::cout, cuy::dh, and alignCSCRings::e.
|
private |
Definition at line 190 of file FEConfigMainInfo.cc.
References cuy::dh, and alignCSCRings::e.
|
private |
|
inline |
Definition at line 70 of file FEConfigMainInfo.h.
References m_bst_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadStripHandler::getNewObjects().
|
inline |
Definition at line 67 of file FEConfigMainInfo.h.
References m_btt_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadTTHandler::getNewObjects().
|
inline |
Definition at line 64 of file FEConfigMainInfo.h.
References m_bxt_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGBadXTHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
Definition at line 49 of file FEConfigMainInfo.h.
References m_fgr_id.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), and popcon::EcalTPGFineGrainStripEEHandler::getNewObjects().
|
inline |
Definition at line 30 of file FEConfigMainInfo.h.
References m_ID.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 43 of file FEConfigMainInfo.h.
References m_lin_id.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), and popcon::EcalTPGLinConstHandler::getNewObjects().
|
inline |
Definition at line 46 of file FEConfigMainInfo.h.
References m_lut_id.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), and popcon::EcalTPGLutGroupHandler::getNewObjects().
|
inline |
Definition at line 40 of file FEConfigMainInfo.h.
References m_ped_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGPedestalsHandler::getNewObjects().
|
inline |
Definition at line 52 of file FEConfigMainInfo.h.
References m_sli_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGSlidingWindowHandler::getNewObjects().
|
inline |
Definition at line 58 of file FEConfigMainInfo.h.
References m_spi_id.
Referenced by EcalTPGParamBuilder::analyze(), and popcon::EcalTPGSpikeThresholdHandler::getNewObjects().
|
inlinevirtual |
Implements IODConfig.
Definition at line 26 of file FEConfigMainInfo.h.
|
inline |
Definition at line 61 of file FEConfigMainInfo.h.
References m_tim_id.
Referenced by EcalTPGParamBuilder::analyze().
|
inline |
Definition at line 73 of file FEConfigMainInfo.h.
References m_version.
Referenced by popcon::EcalTPGBadXTHandler::getNewObjects().
|
inline |
Definition at line 55 of file FEConfigMainInfo.h.
References m_wei_id.
Referenced by EcalTPGParamBuilder::analyze(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), and popcon::EcalTPGWeightGroupHandler::getNewObjects().
|
private |
|
inline |
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 122 of file FEConfigMainInfo.cc.
References alignCSCRings::e.
|
inline |
Definition at line 69 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 66 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 63 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
private |
Definition at line 218 of file FEConfigMainInfo.cc.
References gather_cfg::cout, DateHandler::dateToTm(), cuy::dh, and alignCSCRings::e.
|
inline |
Definition at line 33 of file FEConfigMainInfo.h.
|
inline |
Definition at line 36 of file FEConfigMainInfo.h.
References m_description, and x.
|
inline |
Definition at line 48 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
|
inline |
Definition at line 42 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 45 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 39 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 51 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 57 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 60 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 72 of file FEConfigMainInfo.h.
References m_version.
Referenced by popcon::EcalTPGBadStripHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGWeightIdMapHandler::getNewObjects(), popcon::EcalTPGLutIdMapHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGWeightGroupHandler::getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler::getNewObjects(), popcon::EcalTPGSlidingWindowHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), and EcalTPGDBApp::writeToConfDB_TPGMain().
|
inline |
Definition at line 54 of file FEConfigMainInfo.h.
Referenced by EcalTPGDBApp::writeToConfDB_TPGMain().
|
private |
Definition at line 145 of file FEConfigMainInfo.cc.
References gather_cfg::cout, cuy::dh, and alignCSCRings::e.
|
friend |
Definition at line 21 of file FEConfigMainInfo.h.
|
private |
Definition at line 92 of file FEConfigMainInfo.h.
Referenced by getBstId(), and setBstId().
|
private |
Definition at line 91 of file FEConfigMainInfo.h.
Referenced by getBttId(), and setBttId().
|
private |
Definition at line 90 of file FEConfigMainInfo.h.
Referenced by getBxtId(), and setBxtId().
|
private |
Definition at line 96 of file FEConfigMainInfo.h.
Referenced by getDBTime(), and setDBTime().
|
private |
Definition at line 97 of file FEConfigMainInfo.h.
Referenced by getDescription(), and setDescription().
|
private |
Definition at line 88 of file FEConfigMainInfo.h.
Referenced by getFgrId(), and setFgrId().
|
private |
Definition at line 83 of file FEConfigMainInfo.h.
Referenced by getId(), operator==(), and setId().
|
private |
Definition at line 85 of file FEConfigMainInfo.h.
Referenced by getLinId(), and setLinId().
|
private |
Definition at line 86 of file FEConfigMainInfo.h.
Referenced by getLUTId(), and setLUTId().
|
private |
Definition at line 84 of file FEConfigMainInfo.h.
Referenced by getPedId(), and setPedId().
|
private |
Definition at line 87 of file FEConfigMainInfo.h.
Referenced by getSliId(), and setSliId().
|
private |
Definition at line 94 of file FEConfigMainInfo.h.
Referenced by getSpiId(), and setSpiId().
|
private |
Definition at line 93 of file FEConfigMainInfo.h.
Referenced by getTimId(), and setTimId().
|
private |
Definition at line 95 of file FEConfigMainInfo.h.
Referenced by getVersion(), and setVersion().
|
private |
Definition at line 89 of file FEConfigMainInfo.h.
Referenced by getWeiId(), and setWeiId().