#include <ODSRPConfig.h>
Public Member Functions | |
int | getAutomaticMasks () const |
int | getAutomaticSrpSelect () const |
std::string | getConfigFile () const |
int | getDebugMode () const |
int | getDummyMode () const |
int | getId () const |
std::string | getPatternDirectory () const |
int | getSRP0BunchAdjustPosition () const |
unsigned char * | getSRPClob () const |
unsigned int | getSRPClobSize () const |
std::string | getTable () |
ODSRPConfig () | |
void | setAutomaticMasks (int x) |
void | setAutomaticSrpSelect (int x) |
void | setConfigFile (std::string x) |
void | setDebugMode (int x) |
void | setDummyMode (int x) |
void | setId (int id) |
void | setParameters (const std::map< std::string, std::string > &my_keys_map) |
void | setPatternDirectory (std::string x) |
void | setSRP0BunchAdjustPosition (int x) |
void | setSRPClob (unsigned char *x) |
~ODSRPConfig () | |
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 (ODSRPConfig *result) throw (std::runtime_error) |
int | fetchID () throw (std::runtime_error) |
int | fetchNextId () throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
Private Attributes | |
int | m_auto |
int | m_auto_srp |
int | m_bnch |
int | m_debug |
int | m_dummy |
std::string | m_file |
int | m_ID |
std::string | m_patdir |
unsigned int | m_size |
unsigned char * | m_srp_clob |
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 17 of file ODSRPConfig.h.
ODSRPConfig::ODSRPConfig | ( | ) |
ODSRPConfig::~ODSRPConfig | ( | ) |
Definition at line 37 of file ODSRPConfig.cc.
|
private |
Definition at line 26 of file ODSRPConfig.cc.
|
private |
Definition at line 203 of file ODSRPConfig.cc.
References alignCSCRings::e, and query::result.
|
private |
|
private |
|
inline |
Definition at line 39 of file ODSRPConfig.h.
References m_auto.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
Definition at line 42 of file ODSRPConfig.h.
References m_auto_srp.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file ODSRPConfig.h.
References m_bnch.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
Definition at line 51 of file ODSRPConfig.h.
References m_srp_clob.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
Definition at line 52 of file ODSRPConfig.h.
References m_size.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inlinevirtual |
Implements IODConfig.
Definition at line 24 of file ODSRPConfig.h.
|
privatevirtual |
Implements IODConfig.
Definition at line 116 of file ODSRPConfig.cc.
References gather_cfg::cout, and alignCSCRings::e.
|
inline |
Definition at line 38 of file ODSRPConfig.h.
|
inline |
|
inline |
Definition at line 47 of file ODSRPConfig.h.
|
inline |
Definition at line 29 of file ODSRPConfig.h.
|
inline |
Definition at line 32 of file ODSRPConfig.h.
|
inline |
Definition at line 26 of file ODSRPConfig.h.
References m_ID.
Referenced by popcon::EcalSRPHandler::getNewObjects().
void ODSRPConfig::setParameters | ( | const std::map< std::string, std::string > & | my_keys_map | ) |
Definition at line 65 of file ODSRPConfig.cc.
References gather_cfg::cout, end, alignmentValidation::fname, mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::transform.
|
inline |
Definition at line 35 of file ODSRPConfig.h.
|
inline |
Definition at line 44 of file ODSRPConfig.h.
|
inline |
|
private |
Definition at line 166 of file ODSRPConfig.cc.
References gather_cfg::cout, and alignCSCRings::e.
|
friend |
Definition at line 19 of file ODSRPConfig.h.
|
private |
Definition at line 73 of file ODSRPConfig.h.
Referenced by getAutomaticMasks(), and setAutomaticMasks().
|
private |
Definition at line 73 of file ODSRPConfig.h.
Referenced by getAutomaticSrpSelect(), and setAutomaticSrpSelect().
|
private |
Definition at line 74 of file ODSRPConfig.h.
Referenced by getSRP0BunchAdjustPosition(), and setSRP0BunchAdjustPosition().
|
private |
Definition at line 69 of file ODSRPConfig.h.
Referenced by getDebugMode(), and setDebugMode().
|
private |
Definition at line 70 of file ODSRPConfig.h.
Referenced by getDummyMode(), and setDummyMode().
|
private |
Definition at line 71 of file ODSRPConfig.h.
Referenced by getConfigFile(), and setConfigFile().
|
private |
Definition at line 67 of file ODSRPConfig.h.
|
private |
Definition at line 72 of file ODSRPConfig.h.
Referenced by getPatternDirectory(), and setPatternDirectory().
|
private |
Definition at line 75 of file ODSRPConfig.h.
Referenced by getSRPClobSize().
|
private |
Definition at line 68 of file ODSRPConfig.h.
Referenced by getSRPClob(), and setSRPClob().