#include <ODFEDAQConfig.h>
Public Member Functions | |
int | fetchNextId () throw (std::runtime_error) |
int | getBadTTId () const |
int | getBadXtId () const |
std::string | getComment () const |
int | getDelayId () const |
int | getId () const |
int | getPedestalId () const |
std::string | getTable () |
int | getTriggerBadTTId () const |
int | getTriggerBadXtId () const |
int | getVersion () const |
int | getWeightId () const |
ODFEDAQConfig () | |
void | setBadTTId (int x) |
void | setBadXtId (int x) |
void | setComment (std::string x) |
void | setDelayId (int x) |
void | setId (int id) |
void | setParameters (std::map< std::string, std::string > my_keys_map) |
void | setPedestalId (int x) |
void | setTriggerBadTTId (int x) |
void | setTriggerBadXtId (int x) |
void | setVersion (int id) |
void | setWeightId (int x) |
~ODFEDAQConfig () | |
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 (ODFEDAQConfig *result) throw (std::runtime_error) |
int | fetchID () throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
Private Attributes | |
int | m_btt |
int | m_bxt |
std::string | m_com |
int | m_del |
int | m_ID |
int | m_ped |
int | m_tbtt |
int | m_tbxt |
int | m_version |
int | m_wei |
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 () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
void | populateClob (Clob &clob, std::string fname, unsigned int bufsize) throw (std::runtime_error) |
unsigned char * | readClob (Clob &clob, int size) throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
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 9 of file ODFEDAQConfig.h.
ODFEDAQConfig::ODFEDAQConfig | ( | ) |
ODFEDAQConfig::~ODFEDAQConfig | ( | ) |
Definition at line 49 of file ODFEDAQConfig.cc.
|
private |
|
private |
Definition at line 157 of file ODFEDAQConfig.cc.
References gather_cfg::cout, alignCSCRings::e, getInt(), and query::result.
Referenced by EcalCondDBInterface::fetchFEDelaysForRun().
|
private |
int ODFEDAQConfig::fetchNextId | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
|
inline |
Definition at line 36 of file ODFEDAQConfig.h.
References m_btt.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), and popcon::EcalDAQHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
Definition at line 29 of file ODFEDAQConfig.h.
References m_del.
Referenced by EcalCondDBInterface::fetchFEDelaysForRun().
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 31 of file ODFEDAQConfig.h.
References m_wei.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
privatevirtual |
|
inline |
Definition at line 35 of file ODFEDAQConfig.h.
|
inline |
Definition at line 33 of file ODFEDAQConfig.h.
|
inline |
|
inline |
Definition at line 28 of file ODFEDAQConfig.h.
|
inline |
Definition at line 18 of file ODFEDAQConfig.h.
References errorMatrix2Lands_multiChannel::id, and m_ID.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), EcalCondDBInterface::fetchFEDelaysForRun(), popcon::EcalSRPHandler::getNewObjects(), and popcon::EcalDAQHandler::getNewObjects().
void ODFEDAQConfig::setParameters | ( | std::map< std::string, std::string > | my_keys_map | ) |
Definition at line 97 of file ODFEDAQConfig.cc.
|
inline |
Definition at line 26 of file ODFEDAQConfig.h.
|
inline |
|
inline |
|
inline |
Definition at line 23 of file ODFEDAQConfig.h.
References errorMatrix2Lands_multiChannel::id, and m_version.
|
inline |
Definition at line 30 of file ODFEDAQConfig.h.
|
private |
|
friend |
Definition at line 11 of file ODFEDAQConfig.h.
|
private |
Definition at line 67 of file ODFEDAQConfig.h.
Referenced by getBadTTId(), and setBadTTId().
|
private |
Definition at line 66 of file ODFEDAQConfig.h.
Referenced by getBadXtId(), and setBadXtId().
|
private |
Definition at line 71 of file ODFEDAQConfig.h.
Referenced by getComment(), and setComment().
|
private |
Definition at line 63 of file ODFEDAQConfig.h.
Referenced by getDelayId(), and setDelayId().
|
private |
Definition at line 61 of file ODFEDAQConfig.h.
|
private |
Definition at line 62 of file ODFEDAQConfig.h.
Referenced by getPedestalId(), and setPedestalId().
|
private |
Definition at line 69 of file ODFEDAQConfig.h.
Referenced by getTriggerBadTTId(), and setTriggerBadTTId().
|
private |
Definition at line 68 of file ODFEDAQConfig.h.
Referenced by getTriggerBadXtId(), and setTriggerBadXtId().
|
private |
Definition at line 70 of file ODFEDAQConfig.h.
Referenced by getVersion(), and setVersion().
|
private |
Definition at line 64 of file ODFEDAQConfig.h.
Referenced by getWeightId(), and setWeightId().