#include <ODWeightsDat.h>
Public Member Functions | |
int | getCrystalId () const |
int | getFedId () const |
int | getId () const |
int | getSMId () const |
std::string | getTable () |
int | getTTId () const |
std::vector< std::vector< float > > | getWeight () const |
float | getWeight0 () const |
float | getWeight1 () const |
float | getWeight2 () const |
float | getWeight3 () const |
float | getWeight4 () const |
float | getWeight5 () const |
ODWeightsDat () | |
void | setCrystalId (int dac) |
void | setFedId (int dac) |
void | setId (int dac) |
void | setSMId (int dac) |
void | setTTId (int dac) |
void | setWeight (int pos, float x) |
void | setWeight0 (float x) |
void | setWeight1 (float x) |
void | setWeight2 (float x) |
void | setWeight3 (float x) |
void | setWeight4 (float x) |
void | setWeight5 (float x) |
~ODWeightsDat () | |
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 (std::vector< ODWeightsDat > *fillMap, ODFEWeightsInfo *iov) throw (std::runtime_error) |
void | fetchData (ODWeightsDat *p) throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeArrayDB (const std::vector< ODWeightsDat > &data, ODFEWeightsInfo *iov) throw (std::runtime_error) |
void | writeDB (const ODWeightsDat *item, ODFEWeightsInfo *iov) throw (std::runtime_error) |
Private Attributes | |
std::vector< std::vector< float > > | dccw |
int | m_fed |
int | m_ID |
int | m_sm |
int | m_tt |
float | m_wei [6] |
float | m_wei0 |
float | m_wei1 |
float | m_wei2 |
float | m_wei3 |
float | m_wei4 |
float | m_wei5 |
int | m_xt |
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 12 of file ODWeightsDat.h.
ODWeightsDat::ODWeightsDat | ( | ) |
ODWeightsDat::~ODWeightsDat | ( | ) |
Definition at line 26 of file ODWeightsDat.cc.
|
private |
Definition at line 30 of file ODWeightsDat.cc.
|
private |
Definition at line 87 of file ODWeightsDat.cc.
References gather_cfg::cout, alignCSCRings::e, o2o::iov, AlCaHLTBitMon_ParallelJobs::p, setCrystalId(), setFedId(), setSMId(), setTTId(), and setWeight().
|
private |
Definition at line 135 of file ODWeightsDat.cc.
References gather_cfg::cout, alignCSCRings::e, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements IODConfig.
Definition at line 19 of file ODWeightsDat.h.
|
inline |
|
inline |
Definition at line 52 of file ODWeightsDat.h.
References dccw.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 44 of file ODWeightsDat.cc.
References alignCSCRings::e.
|
inline |
Definition at line 33 of file ODWeightsDat.h.
References m_xt.
Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 27 of file ODWeightsDat.h.
References m_fed.
Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 21 of file ODWeightsDat.h.
References m_ID.
Referenced by popcon::EcalSRPHandler::getNewObjects(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 24 of file ODWeightsDat.h.
References m_sm.
Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 30 of file ODWeightsDat.h.
References m_tt.
Referenced by fetchData(), and EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 43 of file ODWeightsDat.h.
Referenced by fetchData().
|
inline |
Definition at line 36 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 37 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 38 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 39 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 40 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
inline |
Definition at line 41 of file ODWeightsDat.h.
Referenced by EcalDccWeightBuilder::writeWeightToDB().
|
private |
Definition at line 167 of file ODWeightsDat.cc.
References KineDebug3::count(), data, alignCSCRings::e, getCrystalId(), getFedId(), getSMId(), getTTId(), getWeight0(), getWeight1(), getWeight2(), getWeight3(), getWeight4(), getWeight5(), and o2o::iov.
|
private |
|
friend |
Definition at line 14 of file ODWeightsDat.h.
|
private |
Definition at line 86 of file ODWeightsDat.h.
Referenced by getWeight().
|
private |
Definition at line 73 of file ODWeightsDat.h.
Referenced by getFedId(), and setFedId().
|
private |
Definition at line 76 of file ODWeightsDat.h.
|
private |
Definition at line 72 of file ODWeightsDat.h.
|
private |
Definition at line 74 of file ODWeightsDat.h.
|
private |
Definition at line 85 of file ODWeightsDat.h.
Referenced by setWeight().
|
private |
Definition at line 78 of file ODWeightsDat.h.
Referenced by getWeight0(), and setWeight0().
|
private |
Definition at line 79 of file ODWeightsDat.h.
Referenced by getWeight1(), and setWeight1().
|
private |
Definition at line 80 of file ODWeightsDat.h.
Referenced by getWeight2(), and setWeight2().
|
private |
Definition at line 81 of file ODWeightsDat.h.
Referenced by getWeight3(), and setWeight3().
|
private |
Definition at line 82 of file ODWeightsDat.h.
Referenced by getWeight4(), and setWeight4().
|
private |
Definition at line 83 of file ODWeightsDat.h.
Referenced by getWeight5(), and setWeight5().
|
private |
Definition at line 75 of file ODWeightsDat.h.
Referenced by getCrystalId(), and setCrystalId().