#include <LMFLaserPulseDat.h>
Public Member Functions | |
int | getFitMethod (EcalLogicID &id) |
int | getFitMethod (int id) |
float | getMTQAmplification (EcalLogicID &id) |
float | getMTQAmplification (int id) |
float | getMTQFW20 (EcalLogicID &id) |
float | getMTQFW20 (int id) |
float | getMTQFW80 (EcalLogicID &id) |
float | getMTQFW80 (int id) |
float | getMTQFWHM (EcalLogicID &id) |
float | getMTQFWHM (int id) |
float | getMTQRise (EcalLogicID &id) |
float | getMTQRise (int id) |
float | getMTQSliding (EcalLogicID &id) |
float | getMTQSliding (int id) |
float | getMTQTime (EcalLogicID &id) |
float | getMTQTime (int id) |
std::string | getTableName () const override |
bool | isValid () override |
LMFLaserPulseDat () | |
LMFLaserPulseDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFLaserPulseDat (EcalDBConnection *c) | |
LMFLaserPulseDat (std::string color) | |
LMFLaserPulseDat (int color) | |
LMFLaserPulseDat (oracle::occi::Environment *env, oracle::occi::Connection *conn, std::string color) | |
LMFLaserPulseDat (oracle::occi::Environment *env, oracle::occi::Connection *conn, int color) | |
LMFLaserPulseDat (EcalDBConnection *c, std::string color) | |
LMFLaserPulseDat (EcalDBConnection *c, int color) | |
LMFLaserPulseDat & | setFitMethod (EcalLogicID &id, int v) |
LMFLaserPulseDat & | setMTQAmplification (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQFW20 (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQFW80 (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQFWHM (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQRise (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQSliding (EcalLogicID &id, float v) |
LMFLaserPulseDat & | setMTQTime (EcalLogicID &id, float v) |
~LMFLaserPulseDat () override | |
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) override |
~LMFColoredTable () override | |
Public Member Functions inherited from LMFDat | |
void | dump () const override |
void | dump (int n) const override |
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 () override | |
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) override |
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) override |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
~LMFUnique () override | |
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) override |
Protected Member Functions inherited from LMFUnique | |
virtual void | getParameters (ResultSet *rset) |
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_LASER_XXX_PULSE_DAT interface ^ ^ | | | _____ color -------— system
Definition at line 19 of file LMFLaserPulseDat.h.
LMFLaserPulseDat::LMFLaserPulseDat | ( | ) |
LMFLaserPulseDat::LMFLaserPulseDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
LMFLaserPulseDat::LMFLaserPulseDat | ( | EcalDBConnection * | c | ) |
LMFLaserPulseDat::LMFLaserPulseDat | ( | std::string | color | ) |
Definition at line 12 of file LMFLaserPulseDat.cc.
References init(), and LMFColoredTable::setColor().
LMFLaserPulseDat::LMFLaserPulseDat | ( | int | color | ) |
LMFLaserPulseDat::LMFLaserPulseDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn, | ||
std::string | color | ||
) |
Definition at line 17 of file LMFLaserPulseDat.cc.
References init(), and LMFColoredTable::setColor().
LMFLaserPulseDat::LMFLaserPulseDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn, | ||
int | color | ||
) |
LMFLaserPulseDat::LMFLaserPulseDat | ( | EcalDBConnection * | c, |
std::string | color | ||
) |
Definition at line 23 of file LMFLaserPulseDat.cc.
References init(), and LMFColoredTable::setColor().
LMFLaserPulseDat::LMFLaserPulseDat | ( | EcalDBConnection * | c, |
int | color | ||
) |
|
inlineoverride |
Definition at line 30 of file LMFLaserPulseDat.h.
|
inline |
Definition at line 43 of file LMFLaserPulseDat.h.
References getFitMethod().
Referenced by getFitMethod(), and getMTQSliding().
int LMFLaserPulseDat::getFitMethod | ( | int | id | ) |
|
inline |
Definition at line 44 of file LMFLaserPulseDat.h.
References getMTQAmplification().
Referenced by getMTQAmplification(), and getMTQSliding().
float LMFLaserPulseDat::getMTQAmplification | ( | int | id | ) |
|
inline |
Definition at line 48 of file LMFLaserPulseDat.h.
References getMTQFW20().
Referenced by getMTQFW20(), and getMTQSliding().
float LMFLaserPulseDat::getMTQFW20 | ( | int | id | ) |
|
inline |
Definition at line 49 of file LMFLaserPulseDat.h.
References getMTQFW80().
Referenced by getMTQFW80(), and getMTQSliding().
float LMFLaserPulseDat::getMTQFW80 | ( | int | id | ) |
|
inline |
Definition at line 47 of file LMFLaserPulseDat.h.
References getMTQFWHM().
Referenced by getMTQFWHM(), and getMTQSliding().
float LMFLaserPulseDat::getMTQFWHM | ( | int | id | ) |
|
inline |
Definition at line 46 of file LMFLaserPulseDat.h.
References getMTQRise().
Referenced by getMTQRise(), and getMTQSliding().
float LMFLaserPulseDat::getMTQRise | ( | int | id | ) |
|
inline |
Definition at line 50 of file LMFLaserPulseDat.h.
References getFitMethod(), getMTQAmplification(), getMTQFW20(), getMTQFW80(), getMTQFWHM(), getMTQRise(), getMTQSliding(), getMTQTime(), init(), and isValid().
Referenced by getMTQSliding().
float LMFLaserPulseDat::getMTQSliding | ( | int | id | ) |
|
inline |
Definition at line 45 of file LMFLaserPulseDat.h.
References getMTQTime().
Referenced by getMTQSliding(), and getMTQTime().
float LMFLaserPulseDat::getMTQTime | ( | int | id | ) |
|
inlineoverridevirtual |
Implements LMFColoredTable.
Definition at line 32 of file LMFLaserPulseDat.h.
References LMFColoredTable::getColor(), setFitMethod(), setMTQAmplification(), setMTQFW20(), setMTQFW80(), setMTQFWHM(), setMTQRise(), setMTQSliding(), setMTQTime(), and findQualityFiles::v.
|
private |
Definition at line 28 of file LMFLaserPulseDat.cc.
References mps_fire::i, LMFUnique::m_className, LMFColoredTable::m_color, LMFDat::m_keys, LMFDat::m_type, and LMFColoredTable::setSystem().
Referenced by getMTQSliding(), and LMFLaserPulseDat().
|
overridevirtual |
Reimplemented from LMFDat.
Definition at line 47 of file LMFLaserPulseDat.cc.
References LMFColoredTable::getColor(), LMFDat::isValid(), LMFDat::m_Error, and runTheMatrix::ret.
Referenced by ntupleDataFormat._Object::_checkIsValid(), getMTQSliding(), and core.AutoHandle.AutoHandle::ReallyLoad().
LMFLaserPulseDat & LMFLaserPulseDat::setFitMethod | ( | EcalLogicID & | id, |
int | v | ||
) |
Definition at line 57 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQAmplification | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 62 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQFW20 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 82 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQFW80 | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 87 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQFWHM | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 77 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQRise | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 72 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQSliding | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 92 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().
LMFLaserPulseDat & LMFLaserPulseDat::setMTQTime | ( | EcalLogicID & | id, |
float | v | ||
) |
Definition at line 67 of file LMFLaserPulseDat.cc.
References LMFDat::setData().
Referenced by getTableName().