#include <LMFRunDat.h>
Public Member Functions | |
LMFRunDat & | Data (const EcalLogicID &id, const std::vector< float > &v) |
int | getEvents (const EcalLogicID &id) |
int | getEvents (int id) |
int | getQualityFlag (int id) |
int | getQualityFlag (const EcalLogicID &id) |
LMFRunDat () | |
LMFRunDat (EcalDBConnection *conn) | |
LMFRunDat (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFRunDat & | setData (const EcalLogicID &id, int n, int q) |
LMFRunDat & | setEvents (const EcalLogicID &id, int n) |
LMFRunDat & | setQualityFlag (const EcalLogicID &id, int q) |
~LMFRunDat () |
LMF_RUN_DAT interface
Definition at line 15 of file LMFRunDat.h.
LMFRunDat::LMFRunDat | ( | ) |
Definition at line 3 of file LMFRunDat.cc.
References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.
: LMFDat() { m_tableName = "LMF_RUN_DAT"; m_className = "LMFRunDat"; m_keys["NEVENTS"] = 0; m_keys["QUALITY_FLAG"] = 1; }
LMFRunDat::LMFRunDat | ( | EcalDBConnection * | conn | ) |
Definition at line 10 of file LMFRunDat.cc.
References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.
: LMFDat(conn) { m_tableName = "LMF_RUN_DAT"; m_className = "LMFRunDat"; m_keys["NEVENTS"] = 0; m_keys["QUALITY_FLAG"] = 1; }
LMFRunDat::LMFRunDat | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 17 of file LMFRunDat.cc.
References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.
: LMFDat(env, conn) { m_tableName = "LMF_RUN_DAT"; m_className = "LMFRunDat"; m_keys["NEVENTS"] = 0; m_keys["QUALITY_FLAG"] = 1; }
LMFRunDat::~LMFRunDat | ( | ) | [inline] |
Definition at line 21 of file LMFRunDat.h.
{ }
LMFRunDat& LMFRunDat::Data | ( | const EcalLogicID & | id, |
const std::vector< float > & | v | ||
) | [inline] |
Definition at line 48 of file LMFRunDat.h.
References setData().
{ LMFDat::setData(id, v); return *this; }
int LMFRunDat::getEvents | ( | const EcalLogicID & | id | ) | [inline] |
Definition at line 23 of file LMFRunDat.h.
References LMFDat::getData().
{ return (int)rint(LMFDat::getData(id, "NEVENTS")); }
int LMFRunDat::getEvents | ( | int | id | ) | [inline] |
Definition at line 26 of file LMFRunDat.h.
References LMFDat::getData().
{ return (int)rint(LMFDat::getData(id, "NEVENTS")); }
int LMFRunDat::getQualityFlag | ( | int | id | ) | [inline] |
Definition at line 32 of file LMFRunDat.h.
References LMFDat::getData().
{ return (int)rint(LMFDat::getData(id, "QUALITY_FLAG")); }
int LMFRunDat::getQualityFlag | ( | const EcalLogicID & | id | ) | [inline] |
Definition at line 29 of file LMFRunDat.h.
References LMFDat::getData().
{ return (int)rint(LMFDat::getData(id, "QUALITY_FLAG")); }
LMFRunDat& LMFRunDat::setData | ( | const EcalLogicID & | id, |
int | n, | ||
int | q | ||
) | [inline] |
Definition at line 43 of file LMFRunDat.h.
Referenced by Data(), setEvents(), and setQualityFlag().
{ LMFDat::setData(id, "NEVENTS", (float)n); LMFDat::setData(id, "QUALITY_FLAG", (float)q); return *this; }
LMFRunDat& LMFRunDat::setEvents | ( | const EcalLogicID & | id, |
int | n | ||
) | [inline] |
Definition at line 35 of file LMFRunDat.h.
References setData().
{ LMFDat::setData(id, "NEVENTS", (float)n); return *this; }
LMFRunDat& LMFRunDat::setQualityFlag | ( | const EcalLogicID & | id, |
int | q | ||
) | [inline] |
Definition at line 39 of file LMFRunDat.h.
References setData().
{ LMFDat::setData(id, "QUALITY_FLAG", (float)q); return *this; }