#include <ODCCSConfig.h>
Public Member Functions | |
int | fetchNextId () throw (std::runtime_error) |
int | getBC0Counter () const |
int | getBC0Delay () const |
std::string | getBGOSource () const |
int | getClock () const |
int | getDaccal () const |
int | getDAQBCIDPreset () const |
int | getDelay () const |
std::string | getGain () const |
int | getId () const |
std::string | getMemGain () const |
int | getOffsetHigh () const |
int | getOffsetLow () const |
int | getOffsetMid () const |
std::string | getTable () |
int | getTEDelay () const |
int | getTrgBCIDPreset () const |
std::string | getTrgFilter () const |
std::string | getTrgMode () const |
int | getTTSMask () const |
ODCCSConfig () | |
void | setBC0Counter (int x) |
void | setBC0Delay (int x) |
void | setBGOSource (std::string x) |
void | setClock (int x) |
void | setDaccal (int x) |
void | setDAQBCIDPreset (int x) |
void | setDelay (int x) |
void | setGain (std::string x) |
void | setId (int id) |
void | setMemGain (std::string x) |
void | setOffsetHigh (int x) |
void | setOffsetLow (int x) |
void | setOffsetMid (int x) |
void | setParameters (std::map< std::string, std::string > my_keys_map) |
void | setTEDelay (int x) |
void | setTrgBCIDPreset (int x) |
void | setTrgFilter (std::string x) |
void | setTrgMode (std::string x) |
void | setTTSMask (int x) |
~ODCCSConfig () | |
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 (ODCCSConfig *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_bc0 |
int | m_bc0_delay |
std::string | m_bgo |
int | m_clock |
int | m_daccal |
int | m_daq |
int | m_delay |
std::string | m_gain |
int | m_ID |
std::string | m_memgain |
int | m_offset_high |
int | m_offset_low |
int | m_offset_mid |
std::string | m_pedestal_offset_release |
std::string | m_system |
int | m_te_delay |
int | m_trg |
std::string | m_trg_filter |
std::string | m_trg_mode |
int | m_tts_mask |
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 ODCCSConfig.h.
ODCCSConfig::ODCCSConfig | ( | ) |
ODCCSConfig::~ODCCSConfig | ( | ) |
Definition at line 52 of file ODCCSConfig.cc.
|
private |
|
private |
|
private |
int ODCCSConfig::fetchNextId | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements IODConfig.
Definition at line 16 of file ODCCSConfig.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 79 of file ODCCSConfig.cc.
References alignCSCRings::e.
|
inline |
Definition at line 58 of file ODCCSConfig.h.
|
inline |
|
inline |
Definition at line 50 of file ODCCSConfig.h.
|
inline |
Definition at line 48 of file ODCCSConfig.h.
|
inline |
Definition at line 21 of file ODCCSConfig.h.
|
inline |
Definition at line 54 of file ODCCSConfig.h.
|
inline |
Definition at line 24 of file ODCCSConfig.h.
|
inline |
Definition at line 27 of file ODCCSConfig.h.
|
inline |
|
inline |
Definition at line 30 of file ODCCSConfig.h.
|
inline |
Definition at line 33 of file ODCCSConfig.h.
References m_offset_high, and x.
|
inline |
Definition at line 36 of file ODCCSConfig.h.
References m_offset_low, and x.
|
inline |
Definition at line 39 of file ODCCSConfig.h.
References m_offset_mid, and x.
void ODCCSConfig::setParameters | ( | std::map< std::string, std::string > | my_keys_map | ) |
Definition at line 104 of file ODCCSConfig.cc.
|
inline |
|
inline |
Definition at line 56 of file ODCCSConfig.h.
|
inline |
Definition at line 45 of file ODCCSConfig.h.
References m_trg_filter, and x.
|
inline |
|
inline |
|
private |
Definition at line 135 of file ODCCSConfig.cc.
References alignCSCRings::e, SET_INT, and SET_STRING.
|
friend |
Definition at line 11 of file ODCCSConfig.h.
|
private |
Definition at line 99 of file ODCCSConfig.h.
Referenced by getBC0Counter(), and setBC0Counter().
|
private |
Definition at line 100 of file ODCCSConfig.h.
Referenced by getBC0Delay(), and setBC0Delay().
|
private |
Definition at line 95 of file ODCCSConfig.h.
Referenced by getBGOSource(), and setBGOSource().
|
private |
Definition at line 94 of file ODCCSConfig.h.
Referenced by getClock(), and setClock().
|
private |
Definition at line 83 of file ODCCSConfig.h.
Referenced by getDaccal(), and setDaccal().
|
private |
Definition at line 97 of file ODCCSConfig.h.
Referenced by getDAQBCIDPreset(), and setDAQBCIDPreset().
|
private |
Definition at line 84 of file ODCCSConfig.h.
Referenced by getDelay(), and setDelay().
|
private |
Definition at line 85 of file ODCCSConfig.h.
|
private |
Definition at line 82 of file ODCCSConfig.h.
|
private |
Definition at line 86 of file ODCCSConfig.h.
Referenced by getMemGain(), and setMemGain().
|
private |
Definition at line 87 of file ODCCSConfig.h.
Referenced by getOffsetHigh(), and setOffsetHigh().
|
private |
Definition at line 88 of file ODCCSConfig.h.
Referenced by getOffsetLow(), and setOffsetLow().
|
private |
Definition at line 89 of file ODCCSConfig.h.
Referenced by getOffsetMid(), and setOffsetMid().
|
private |
Definition at line 90 of file ODCCSConfig.h.
|
private |
Definition at line 91 of file ODCCSConfig.h.
|
private |
Definition at line 101 of file ODCCSConfig.h.
Referenced by getTEDelay(), and setTEDelay().
|
private |
Definition at line 98 of file ODCCSConfig.h.
Referenced by getTrgBCIDPreset(), and setTrgBCIDPreset().
|
private |
Definition at line 93 of file ODCCSConfig.h.
Referenced by getTrgFilter(), and setTrgFilter().
|
private |
Definition at line 92 of file ODCCSConfig.h.
Referenced by getTrgMode(), and setTrgMode().
|
private |
Definition at line 96 of file ODCCSConfig.h.
Referenced by getTTSMask(), and setTTSMask().