#include <ODWeightsDat.h>
Public Member Functions | |
int | getCrystalId () const |
int | getFedId () const |
int | getId () const |
int | getSMId () const |
std::string | getTable () override |
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 () override | |
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) noexcept(false) |
void | fetchData (ODWeightsDat *p) noexcept(false) |
void | prepareWrite () noexcept(false) override |
void | writeArrayDB (const std::vector< ODWeightsDat > &data, ODFEWeightsInfo *iov) noexcept(false) |
void | writeDB (const ODWeightsDat *item, ODFEWeightsInfo *iov) noexcept(false) |
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 () noexcept(false) |
void | createReadStatement () noexcept(false) |
void | populateClob (Clob &clob, std::string fname, unsigned int bufsize) noexcept(false) |
unsigned char * | readClob (Clob &clob, int size) noexcept(false) |
void | setPrefetchRowCount (int ncount) noexcept(false) |
void | terminateReadStatement () noexcept(false) |
void | terminateWriteStatement () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
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 | ( | ) |
Definition at line 10 of file ODWeightsDat.cc.
|
override |
Definition at line 26 of file ODWeightsDat.cc.
|
private |
|
privatenoexcept |
Definition at line 87 of file ODWeightsDat.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, setCrystalId(), setFedId(), setSMId(), setTTId(), and setWeight().
Referenced by getWeight().
|
privatenoexcept |
Definition at line 135 of file ODWeightsDat.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements IODConfig.
Definition at line 19 of file ODWeightsDat.h.
|
inline |
|
inline |
Definition at line 52 of file ODWeightsDat.h.
References clear(), data, dccw, fetchData(), noexcept, AlCaHLTBitMon_ParallelJobs::p, prepareWrite(), writeArrayDB(), and writeDB().
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 44 of file ODWeightsDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getWeight().
|
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().
|
privatenoexcept |
Definition at line 167 of file ODWeightsDat.cc.
References KineDebug3::count(), data, MillePedeFileConverter_cfg::e, getCrystalId(), getFedId(), getSMId(), getTTId(), getWeight0(), getWeight1(), getWeight2(), getWeight3(), getWeight4(), getWeight5(), photons_cff::ids, createfilelist::int, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.
Referenced by getWeight().
|
privatenoexcept |
Definition at line 60 of file ODWeightsDat.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getWeight().
|
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().