#include <LMFPrimDat.h>
Public Member Functions | |
float | getAlpha (EcalLogicID &id) |
float | getAlpha (int id) |
float | getAPDoverAM3 (EcalLogicID &id) |
float | getAPDoverAM3 (int id) |
float | getAPDoverAMean (EcalLogicID &id) |
float | getAPDoverAMean (int id) |
float | getAPDoverARMS (EcalLogicID &id) |
float | getAPDoverARMS (int id) |
float | getAPDoverBM3 (EcalLogicID &id) |
float | getAPDoverBM3 (int id) |
float | getAPDoverBMean (EcalLogicID &id) |
float | getAPDoverBMean (int id) |
float | getAPDoverBRMS (EcalLogicID &id) |
float | getAPDoverBRMS (int id) |
float | getAPDoverPnM3 (EcalLogicID &id) |
float | getAPDoverPnM3 (int id) |
float | getAPDoverPnMean (EcalLogicID &id) |
float | getAPDoverPnMean (int id) |
float | getAPDoverPnRMS (EcalLogicID &id) |
float | getAPDoverPnRMS (int id) |
float | getBeta (EcalLogicID &id) |
float | getBeta (int id) |
int | getFlag (EcalLogicID &id) |
int | getFlag (int id) |
float | getM3 (EcalLogicID &id) |
float | getM3 (int id) |
float | getMean (EcalLogicID &id) |
float | getMean (int id) |
float | getRMS (EcalLogicID &id) |
float | getRMS (int id) |
float | getShapeCorr (EcalLogicID &id) |
float | getShapeCorr (int id) |
std::string | getTableName () const |
bool | isValid () |
LMFPrimDat () | |
LMFPrimDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFPrimDat (EcalDBConnection *c) | |
LMFPrimDat (std::string color, std::string system) | |
LMFPrimDat (int color, std::string system) | |
LMFPrimDat (oracle::occi::Environment *env, oracle::occi::Connection *conn, std::string color, std::string system) | |
LMFPrimDat (EcalDBConnection *c, std::string color, std::string system) | |
LMFPrimDat (oracle::occi::Environment *env, oracle::occi::Connection *conn, int color, std::string system) | |
LMFPrimDat (EcalDBConnection *c, int color, std::string system) | |
LMFPrimDat & | setAlpha (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverA (EcalLogicID &id, float mean, float rms, float m3) |
LMFPrimDat & | setAPDoverAM3 (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverAMean (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverARMS (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverB (EcalLogicID &id, float mean, float rms, float m3) |
LMFPrimDat & | setAPDoverBM3 (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverBMean (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverBRMS (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverPn (EcalLogicID &id, float mean, float rms, float m3) |
LMFPrimDat & | setAPDoverPnM3 (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverPnMean (EcalLogicID &id, float v) |
LMFPrimDat & | setAPDoverPnRMS (EcalLogicID &id, float v) |
LMFPrimDat & | setBeta (EcalLogicID &id, float v) |
LMFPrimDat & | setFlag (EcalLogicID &id, int v) |
LMFPrimDat & | setM3 (EcalLogicID &id, float v) |
LMFPrimDat & | setMean (EcalLogicID &id, float v) |
LMFPrimDat & | setPN (EcalLogicID &id, float mean, float rms, float m3) |
LMFPrimDat & | setRMS (EcalLogicID &id, float v) |
LMFPrimDat & | setShapeCorr (EcalLogicID &id, float v) |
~LMFPrimDat () | |
Public Member Functions inherited from LMFColoredTable | |
std::string | getColor () const |
virtual std::string | getSystem () const |
int | getVmax (EcalLogicID &id) |
int | getVmin (EcalLogicID &id) |
LMFColoredTable () | |
LMFColoredTable (EcalDBConnection *c) | |
LMFColoredTable (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFColoredTable & | setColor (int color) |
LMFColoredTable & | setColor (std::string color) |
virtual LMFColoredTable & | setSystem (int system) |
virtual LMFColoredTable & | setSystem (std::string s) |
LMFColoredTable & | setVersions (EcalLogicID &id, int vmin, int vmax) |
LMFColoredTable & | setVmax (EcalLogicID &id, int v) |
LMFColoredTable & | setVmin (EcalLogicID &id, int v) |
int | writeDB () noexcept(false) |
~LMFColoredTable () | |
Public Member Functions inherited from LMFDat | |
void | dump () const |
void | dump (int n) const |
virtual void | dump (int n, int max) const |
void | fetch () noexcept(false) |
void | fetch (int logic_id) noexcept(false) |
void | fetch (int logic_id, const Tm &tm) noexcept(false) |
void | fetch (int logic_id, const Tm *timestamp, int dir) noexcept(false) |
void | fetch (const EcalLogicID &id, const Tm &tm) noexcept(false) |
void | fetch (const EcalLogicID &id, const Tm &tm, int dir) noexcept(false) |
void | fetch (const EcalLogicID &id) noexcept(false) |
std::map< int, std::vector< float > > | fetchData () noexcept(false) |
virtual std::string | foreignKeyName () const |
std::vector< float > | getData (int id) |
std::vector< float > | getData (const EcalLogicID &id) |
bool | getData (int id, std::vector< float > &ret) |
bool | getData (const EcalLogicID &id, std::vector< float > &ret) |
std::map< int, std::vector< float > > | getData () |
float | getData (int id, unsigned int k) |
float | getData (const EcalLogicID &id, unsigned int k) |
float | getData (const EcalLogicID &id, const std::string &key) |
float | getData (int id, const std::string &key) |
bool | getData (int id, unsigned int k, float &ret) |
bool | getData (const EcalLogicID &id, unsigned int k, float &ret) |
bool | getData (int id, const std::string &key, float &ret) |
bool | getData (const EcalLogicID &id, const std::string &key, float &ret) |
virtual std::string | getIovIdFieldName () const |
std::list< std::string > | getKeyList () |
std::map< std::string, unsigned int > | getKeys () |
LMFRunIOV | getLMFRunIOV () const |
int | getLMFRunIOVID () |
std::list< int > | getLogicIds () |
void | getNext (LMFDat *dat) noexcept(false) |
void | getPrevious (LMFDat *dat) noexcept(false) |
std::map< unsigned int, std::string > | getReverseMap () const |
Tm | getSubrunStart () const |
LMFDat () | |
LMFDat (EcalDBConnection *c) | |
LMFDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
std::vector< float > | operator[] (int id) |
LMFDat & | setData (int logic_id, const std::vector< float > &data) |
LMFDat & | setData (const EcalLogicID &logic_id, const std::vector< float > &data) |
LMFDat & | setData (const EcalLogicID &logic_id, const std::string &key, float v) |
LMFDat & | setLMFRunIOV (const LMFRunIOV &iov) |
LMFDat & | setMaxDataToDump (int n) |
void | setWhereClause (std::string w) |
void | setWhereClause (std::string w, const std::vector< std::string > &p) |
int | size () const |
~LMFDat () | |
Public Member Functions inherited from LMFUnique | |
void | attach (std::string name, LMFUnique *u) |
void | debug () |
virtual bool | exists () |
virtual boost::ptr_list< LMFUnique > | fetchAll () const noexcept(false) |
int | fetchID () noexcept(false) |
std::string | getClassName () |
std::string | getClassName () const |
int | getID () const |
int | getInt (std::string fieldname) const |
std::string | getString (std::string fieldname) const |
virtual bool | isValid () const |
LMFUnique () | |
LMFUnique (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFUnique (EcalDBConnection *c) | |
void | nodebug () |
virtual bool | operator< (const LMFUnique &r) |
virtual bool | operator<= (const LMFUnique &r) |
std::string | sequencePostfix (const Tm &t) |
void | setByID (int id) noexcept(false) |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
virtual | ~LMFUnique () |
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 | init () |
Additional Inherited Members | |
Public Types inherited from LMFUnique | |
typedef oracle::occi::ResultSet | ResultSet |
typedef oracle::occi::Statement | Statement |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from LMFDat | |
void | adjustParameters (int n, std::string &sql, Statement *stmt) |
std::string | buildInsertSql () |
std::string | buildSelectSql (int logic_id=0, int direction=0) |
bool | check () |
void | getKeyTypes () noexcept(false) |
void | getNeighbour (LMFDat *dat, int which) noexcept(false) |
int | writeDB () noexcept(false) |
Protected Member Functions inherited from LMFUnique | |
virtual void | setClassName (std::string s) |
virtual int | writeForeignKeys () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
Protected Attributes inherited from LMFColoredTable | |
int | m_color |
int | m_system |
Protected Attributes inherited from LMFDat | |
std::string | _where |
std::vector< std::string > | _wherePars |
std::map< int, std::vector< float > > | m_data |
std::string | m_Error |
std::map< std::string, unsigned int > | m_keys |
int | m_max |
std::string | m_tableName |
std::vector< std::string > | m_type |
Protected Attributes inherited from LMFUnique | |
bool | _profiling |
std::string | m_className |
char | m_debug |
std::map< std::string, LMFUnique * > | m_foreignKeys |
std::map< std::string, int > | m_intFields |
std::map< std::string, std::string > | m_stringFields |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
LMF_YYYY_XXX_PPRIM_DAT interface ^ ^ | | | _____ color -------— system
Definition at line 19 of file LMFPrimDat.h.
LMFPrimDat::LMFPrimDat | ( | ) |
LMFPrimDat::LMFPrimDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
LMFPrimDat::LMFPrimDat | ( | EcalDBConnection * | c | ) |
LMFPrimDat::LMFPrimDat | ( | std::string | color, |
std::string | system | ||
) |
Definition at line 17 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
LMFPrimDat::LMFPrimDat | ( | int | color, |
std::string | system | ||
) |
Definition at line 24 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
LMFPrimDat::LMFPrimDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn, | ||
std::string | color, | ||
std::string | system | ||
) |
Definition at line 31 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
LMFPrimDat::LMFPrimDat | ( | EcalDBConnection * | c, |
std::string | color, | ||
std::string | system | ||
) |
Definition at line 49 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
LMFPrimDat::LMFPrimDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn, | ||
int | color, | ||
std::string | system | ||
) |
Definition at line 40 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
LMFPrimDat::LMFPrimDat | ( | EcalDBConnection * | c, |
int | color, | ||
std::string | system | ||
) |
Definition at line 56 of file LMFPrimDat.cc.
References init(), LMFColoredTable::setColor(), and LMFColoredTable::setSystem().
|
inline |
Definition at line 35 of file LMFPrimDat.h.
float LMFPrimDat::getAlpha | ( | EcalLogicID & | id | ) |
Definition at line 269 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAlpha | ( | int | id | ) |
float LMFPrimDat::getAPDoverAM3 | ( | EcalLogicID & | id | ) |
Definition at line 233 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverAM3 | ( | int | id | ) |
float LMFPrimDat::getAPDoverAMean | ( | EcalLogicID & | id | ) |
Definition at line 237 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverAMean | ( | int | id | ) |
float LMFPrimDat::getAPDoverARMS | ( | EcalLogicID & | id | ) |
Definition at line 241 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverARMS | ( | int | id | ) |
float LMFPrimDat::getAPDoverBM3 | ( | EcalLogicID & | id | ) |
Definition at line 245 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverBM3 | ( | int | id | ) |
float LMFPrimDat::getAPDoverBMean | ( | EcalLogicID & | id | ) |
Definition at line 261 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverBMean | ( | int | id | ) |
float LMFPrimDat::getAPDoverBRMS | ( | EcalLogicID & | id | ) |
Definition at line 265 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverBRMS | ( | int | id | ) |
float LMFPrimDat::getAPDoverPnM3 | ( | EcalLogicID & | id | ) |
Definition at line 257 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverPnM3 | ( | int | id | ) |
float LMFPrimDat::getAPDoverPnMean | ( | EcalLogicID & | id | ) |
Definition at line 249 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverPnMean | ( | int | id | ) |
float LMFPrimDat::getAPDoverPnRMS | ( | EcalLogicID & | id | ) |
Definition at line 253 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getAPDoverPnRMS | ( | int | id | ) |
float LMFPrimDat::getBeta | ( | EcalLogicID & | id | ) |
Definition at line 273 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getBeta | ( | int | id | ) |
int LMFPrimDat::getFlag | ( | EcalLogicID & | id | ) |
Definition at line 281 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
int LMFPrimDat::getFlag | ( | int | id | ) |
float LMFPrimDat::getM3 | ( | EcalLogicID & | id | ) |
Definition at line 229 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getM3 | ( | int | id | ) |
float LMFPrimDat::getMean | ( | EcalLogicID & | id | ) |
Definition at line 221 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getMean | ( | int | id | ) |
float LMFPrimDat::getRMS | ( | EcalLogicID & | id | ) |
Definition at line 225 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getRMS | ( | int | id | ) |
float LMFPrimDat::getShapeCorr | ( | EcalLogicID & | id | ) |
Definition at line 277 of file LMFPrimDat.cc.
References LMFDat::getData().
Referenced by getTableName().
float LMFPrimDat::getShapeCorr | ( | int | id | ) |
|
inlinevirtual |
Implements LMFColoredTable.
Definition at line 37 of file LMFPrimDat.h.
References getAlpha(), getAPDoverAM3(), getAPDoverAMean(), getAPDoverARMS(), getAPDoverBM3(), getAPDoverBMean(), getAPDoverBRMS(), getAPDoverPnM3(), getAPDoverPnMean(), getAPDoverPnRMS(), getBeta(), LMFColoredTable::getColor(), getFlag(), getM3(), getMean(), getRMS(), getShapeCorr(), LMFColoredTable::getSystem(), init(), isValid(), SiStripPI::mean, SiStripPI::rms, setAlpha(), setAPDoverA(), setAPDoverAM3(), setAPDoverAMean(), setAPDoverARMS(), setAPDoverB(), setAPDoverBM3(), setAPDoverBMean(), setAPDoverBRMS(), setAPDoverPn(), setAPDoverPnM3(), setAPDoverPnMean(), setAPDoverPnRMS(), setBeta(), setFlag(), setM3(), setMean(), setPN(), setRMS(), setShapeCorr(), and findQualityFiles::v.
|
private |
Definition at line 63 of file LMFPrimDat.cc.
References mps_fire::i, LMFUnique::m_className, LMFColoredTable::m_color, LMFDat::m_keys, LMFColoredTable::m_system, and LMFDat::m_type.
Referenced by getTableName(), and LMFPrimDat().
|
virtual |
Reimplemented from LMFDat.
Definition at line 90 of file LMFPrimDat.cc.
References LMFColoredTable::getColor(), LMFColoredTable::getSystem(), and LMFDat::m_Error.
Referenced by ntupleDataFormat._Object::_checkIsValid(), getTableName(), and core.AutoHandle.AutoHandle::ReallyLoad().
LMFPrimDat & LMFPrimDat::setAlpha | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 206 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setAPDoverA | ( | EcalLogicID & | id, |
float | mean, | ||
float | rms, | ||
float | m3 | ||
) |
Definition at line 147 of file LMFPrimDat.cc.
References setAPDoverAM3(), setAPDoverAMean(), and setAPDoverARMS().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setAPDoverAM3 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 132 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverA().
LMFPrimDat & LMFPrimDat::setAPDoverAMean | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 137 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverA().
LMFPrimDat & LMFPrimDat::setAPDoverARMS | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 142 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverA().
LMFPrimDat & LMFPrimDat::setAPDoverB | ( | EcalLogicID & | id, |
float | mean, | ||
float | rms, | ||
float | m3 | ||
) |
Definition at line 170 of file LMFPrimDat.cc.
References setAPDoverBM3(), setAPDoverBMean(), and setAPDoverBRMS().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setAPDoverBM3 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 155 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverB().
LMFPrimDat & LMFPrimDat::setAPDoverBMean | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 160 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverB().
LMFPrimDat & LMFPrimDat::setAPDoverBRMS | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 165 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverB().
LMFPrimDat & LMFPrimDat::setAPDoverPn | ( | EcalLogicID & | id, |
float | mean, | ||
float | rms, | ||
float | m3 | ||
) |
Definition at line 193 of file LMFPrimDat.cc.
References setAPDoverPnM3(), setAPDoverPnMean(), and setAPDoverPnRMS().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setAPDoverPnM3 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 178 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverPn().
LMFPrimDat & LMFPrimDat::setAPDoverPnMean | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 183 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverPn().
LMFPrimDat & LMFPrimDat::setAPDoverPnRMS | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 188 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setAPDoverPn().
LMFPrimDat & LMFPrimDat::setBeta | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 211 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setFlag | ( | EcalLogicID & | id, |
int | v | ||
) |
Definition at line 201 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setM3 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 119 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setPN().
LMFPrimDat & LMFPrimDat::setMean | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 109 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setPN().
LMFPrimDat & LMFPrimDat::setPN | ( | EcalLogicID & | id, |
float | mean, | ||
float | rms, | ||
float | m3 | ||
) |
Definition at line 124 of file LMFPrimDat.cc.
References setM3(), setMean(), and setRMS().
Referenced by getTableName().
LMFPrimDat & LMFPrimDat::setRMS | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 114 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName(), and setPN().
LMFPrimDat & LMFPrimDat::setShapeCorr | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 216 of file LMFPrimDat.cc.
References LMFDat::setData().
Referenced by getTableName().