#include <LMFCorrCoefDat.h>
Public Member Functions | |
void | debug () |
void | dump () |
void | fetch (std::list< int > subiov_ids) |
void | fetch (int subiov_id) |
void | fetch (const LMFLmrSubIOV &iov) |
void | fetchAfter (const Tm &t) |
void | fetchAfter (const Tm &t, int howMany) |
void | fetchBetween (const Tm &tmin, const Tm &tmax) |
void | fetchBetween (const Tm &tmin, const Tm &tmax, int maxNumberOfIOVs) |
RunIOV | fetchLastInsertedRun () |
std::map< int, std::map< int, LMFSextuple > > | getCorrections (const Tm &t) |
std::map< int, std::map< int, LMFSextuple > > | getCorrections (const Tm &t, int max) |
std::map< int, std::map< int, LMFSextuple > > | getCorrections (const Tm &t, const Tm &t2, int max) |
int | getFlag (const LMFLmrSubIOV &iov, const EcalLogicID &id) |
std::vector< float > | getParameterErrors (const LMFLmrSubIOV &iov, const EcalLogicID &id) |
std::list< std::vector< float > > | getParameters (int id) |
std::list< std::vector< float > > | getParameters (const EcalLogicID &id) |
std::vector< float > | getParameters (const LMFLmrSubIOV &iov, const EcalLogicID &id) |
int | getSeqID (const LMFLmrSubIOV &iov, const EcalLogicID &id) |
LMFSeqDat | getSequence (const LMFLmrSubIOV &iov, const EcalLogicID &id) |
std::list< int > | getSubIOVIDs () |
std::vector< Tm > | getTimes (const LMFLmrSubIOV &iov) |
void | init () |
LMFCorrCoefDat () | |
LMFCorrCoefDat (EcalDBConnection *c) | |
LMFCorrCoefDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
void | nodebug () |
LMFCorrCoefDat & | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
LMFCorrCoefDat & | setFlag (const LMFLmrSubIOV &iov, const EcalLogicID &id, int flag) |
LMFCorrCoefDat & | setP123 (const LMFLmrSubIOV &iov, const EcalLogicID &id, float p1, float p2, float p3) |
LMFCorrCoefDat & | setP123 (const LMFLmrSubIOV &iov, const EcalLogicID &id, float p1, float p2, float p3, float p1e, float p2e, float p3e) |
LMFCorrCoefDat & | setP123Errors (const LMFLmrSubIOV &iov, const EcalLogicID &id, float p1e, float p2e, float p3e) |
LMFCorrCoefDat & | setSequence (const LMFLmrSubIOV &iov, const EcalLogicID &id, int seq_id) |
LMFCorrCoefDat & | setSequence (const LMFLmrSubIOV &iov, const EcalLogicID &id, const LMFSeqDat &seq) |
int | size () const |
void | writeDB () |
~LMFCorrCoefDat () | |
Private Member Functions | |
void | checkTriplets (int logic_id, const LMFSextuple &s, const std::map< int, LMFSextuple > &lastMap) |
LMFCorrCoefDatComponent * | find (const LMFLmrSubIOV &iov) |
Private Attributes | |
oracle::occi::Connection * | m_conn |
std::map< int, LMFCorrCoefDatComponent * > | m_data |
bool | m_debug |
oracle::occi::Environment * | m_env |
std::map< int, LMFLmrSubIOV * > | m_subiov |
Static Private Attributes | |
static const int | MAX_NUMBER_OF_SEQUENCES_TO_FETCH = 32 |
Definition at line 16 of file LMFCorrCoefDat.h.
LMFCorrCoefDat::LMFCorrCoefDat | ( | ) |
Definition at line 4 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat::LMFCorrCoefDat | ( | EcalDBConnection * | c | ) |
Definition at line 8 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat::LMFCorrCoefDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 14 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat::~LMFCorrCoefDat | ( | ) |
Definition at line 21 of file LMFCorrCoefDat.cc.
|
private |
Definition at line 331 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::debug | ( | ) |
Definition at line 146 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::dump | ( | void | ) |
Definition at line 116 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::fetch | ( | std::list< int > | subiov_ids | ) |
Definition at line 243 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::fetch | ( | int | subiov_id | ) |
Definition at line 261 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::fetch | ( | const LMFLmrSubIOV & | iov | ) |
Definition at line 284 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::fetchAfter | ( | const Tm & | t | ) |
Definition at line 200 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::fetchAfter | ( | const Tm & | t, |
int | howMany | ||
) |
Definition at line 206 of file LMFCorrCoefDat.cc.
Definition at line 212 of file LMFCorrCoefDat.cc.
Definition at line 216 of file LMFCorrCoefDat.cc.
RunIOV LMFCorrCoefDat::fetchLastInsertedRun | ( | ) |
Definition at line 155 of file LMFCorrCoefDat.cc.
|
private |
Definition at line 98 of file LMFCorrCoefDat.cc.
std::map< int, std::map< int, LMFSextuple > > LMFCorrCoefDat::getCorrections | ( | const Tm & | t | ) |
Definition at line 327 of file LMFCorrCoefDat.cc.
std::map< int, std::map< int, LMFSextuple > > LMFCorrCoefDat::getCorrections | ( | const Tm & | t, |
int | max | ||
) |
Definition at line 356 of file LMFCorrCoefDat.cc.
std::map< int, std::map< int, LMFSextuple > > LMFCorrCoefDat::getCorrections | ( | const Tm & | t, |
const Tm & | t2, | ||
int | max | ||
) |
Definition at line 361 of file LMFCorrCoefDat.cc.
int LMFCorrCoefDat::getFlag | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id | ||
) |
Definition at line 567 of file LMFCorrCoefDat.cc.
std::vector< float > LMFCorrCoefDat::getParameterErrors | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id | ||
) |
Definition at line 555 of file LMFCorrCoefDat.cc.
std::list< std::vector< float > > LMFCorrCoefDat::getParameters | ( | int | id | ) |
Definition at line 516 of file LMFCorrCoefDat.cc.
std::list< std::vector< float > > LMFCorrCoefDat::getParameters | ( | const EcalLogicID & | id | ) |
Definition at line 510 of file LMFCorrCoefDat.cc.
std::vector< float > LMFCorrCoefDat::getParameters | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id | ||
) |
Definition at line 544 of file LMFCorrCoefDat.cc.
int LMFCorrCoefDat::getSeqID | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id | ||
) |
Definition at line 577 of file LMFCorrCoefDat.cc.
LMFSeqDat LMFCorrCoefDat::getSequence | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id | ||
) |
Definition at line 587 of file LMFCorrCoefDat.cc.
std::list< int > LMFCorrCoefDat::getSubIOVIDs | ( | ) |
Definition at line 608 of file LMFCorrCoefDat.cc.
std::vector< Tm > LMFCorrCoefDat::getTimes | ( | const LMFLmrSubIOV & | iov | ) |
Definition at line 322 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::init | ( | void | ) |
Definition at line 38 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::nodebug | ( | ) |
Definition at line 151 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setConnection | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 46 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setFlag | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
int | flag | ||
) |
Definition at line 79 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setP123 | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
float | p1, | ||
float | p2, | ||
float | p3 | ||
) |
Definition at line 59 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setP123 | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
float | p1, | ||
float | p2, | ||
float | p3, | ||
float | p1e, | ||
float | p2e, | ||
float | p3e | ||
) |
Definition at line 65 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setP123Errors | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
float | p1e, | ||
float | p2e, | ||
float | p3e | ||
) |
Definition at line 72 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setSequence | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
int | seq_id | ||
) |
Definition at line 85 of file LMFCorrCoefDat.cc.
LMFCorrCoefDat & LMFCorrCoefDat::setSequence | ( | const LMFLmrSubIOV & | iov, |
const EcalLogicID & | id, | ||
const LMFSeqDat & | seq | ||
) |
Definition at line 91 of file LMFCorrCoefDat.cc.
int LMFCorrCoefDat::size | ( | void | ) | const |
Definition at line 597 of file LMFCorrCoefDat.cc.
void LMFCorrCoefDat::writeDB | ( | ) |
Definition at line 134 of file LMFCorrCoefDat.cc.
|
private |
Definition at line 81 of file LMFCorrCoefDat.h.
|
private |
Definition at line 78 of file LMFCorrCoefDat.h.
|
private |
Definition at line 82 of file LMFCorrCoefDat.h.
|
private |
Definition at line 80 of file LMFCorrCoefDat.h.
|
private |
Definition at line 79 of file LMFCorrCoefDat.h.
|
staticprivate |
Definition at line 76 of file LMFCorrCoefDat.h.