#include <ODTTCFConfig.h>
Definition at line 15 of file ODTTCFConfig.h.
◆ ODTTCFConfig()
ODTTCFConfig::ODTTCFConfig |
( |
| ) |
|
◆ ~ODTTCFConfig()
ODTTCFConfig::~ODTTCFConfig |
( |
| ) |
|
|
override |
◆ clear()
void ODTTCFConfig::clear |
( |
void |
| ) |
|
|
private |
◆ fetchData()
◆ fetchID()
int ODTTCFConfig::fetchID |
( |
| ) |
|
|
privatenoexcept |
◆ fetchNextId()
int ODTTCFConfig::fetchNextId |
( |
| ) |
|
|
privatenoexcept |
◆ getId()
int ODTTCFConfig::getId |
( |
void |
| ) |
const |
|
inline |
◆ getReg30()
int ODTTCFConfig::getReg30 |
( |
| ) |
|
|
inline |
◆ getRxBC0Delay()
int ODTTCFConfig::getRxBC0Delay |
( |
| ) |
|
|
inline |
◆ getSize()
unsigned int ODTTCFConfig::getSize |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODTTCFConfig::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getTTCFClob()
unsigned char* ODTTCFConfig::getTTCFClob |
( |
| ) |
const |
|
inline |
◆ getTTCFConfigurationFile()
std::string ODTTCFConfig::getTTCFConfigurationFile |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODTTCFConfig::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 48 of file ODTTCFConfig.cc.
55 "INSERT INTO ECAL_TTCF_CONFIGURATION (ttcf_configuration_id, ttcf_tag, "
56 " rxbc0_delay, reg_30 , ttcf_configuration_file , ttcf_configuration ) "
57 "VALUES (:1, :2, :3 , :4, :5, :6)");
66 oracle::occi::Clob clob(
m_conn);
73 std::cout <<
"inserted into CONFIGURATION with id=" << next_id << std::endl;
78 "SELECT ttcf_configuration FROM ECAL_TTCF_CONFIGURATION WHERE"
79 " ttcf_configuration_id=:1 FOR UPDATE");
81 std::cout <<
"updating the clob 0" << std::endl;
84 throw(std::runtime_error(
std::string(
"ODTTCFConfig::prepareWrite(): ") +
e.getMessage()));
87 std::cout <<
"updating the clob 1 " << std::endl;
References gather_cfg::cout, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ setId()
void ODTTCFConfig::setId |
( |
int |
id | ) |
|
|
inline |
◆ setParameters()
void ODTTCFConfig::setParameters |
( |
const std::map< std::string, std::string > & |
my_keys_map | ) |
|
Definition at line 184 of file ODTTCFConfig.cc.
188 for (std::map<std::string, std::string>::const_iterator ci = my_keys_map.begin(); ci != my_keys_map.end(); ci++) {
189 if (ci->first ==
"TTCF_CONFIGURATION_ID")
191 if (ci->first ==
"Configuration") {
200 cout <<
"fname=" <<
fname <<
" and reduced is: " << str3 << endl;
204 std::cout <<
"Going to read file: " << str3 << endl;
207 inpFile.open(str3.c_str());
212 bufsize = inpFile.tellg();
213 std::cout <<
" bufsize =" << bufsize << std::endl;
215 inpFile.seekg(0, ios::beg);
220 }
else if (ci->first ==
"RXBC0_DELAY") {
222 }
else if (ci->first ==
"REG_30") {
References gather_cfg::cout, end, alignmentValidation::fname, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ setReg30()
void ODTTCFConfig::setReg30 |
( |
int |
x | ) |
|
|
inline |
◆ setRxBC0Delay()
void ODTTCFConfig::setRxBC0Delay |
( |
int |
x | ) |
|
|
inline |
◆ setSize()
void ODTTCFConfig::setSize |
( |
unsigned int |
id | ) |
|
|
inline |
◆ setTTCFClob()
void ODTTCFConfig::setTTCFClob |
( |
unsigned char * |
x | ) |
|
|
inline |
◆ setTTCFConfigurationFile()
void ODTTCFConfig::setTTCFConfigurationFile |
( |
std::string |
x | ) |
|
|
inline |
◆ writeDB()
void ODTTCFConfig::writeDB |
( |
| ) |
|
|
privatenoexcept |
◆ EcalCondDBInterface
◆ m_ID
◆ m_reg_30
int ODTTCFConfig::m_reg_30 |
|
private |
◆ m_rxbc0_delay
int ODTTCFConfig::m_rxbc0_delay |
|
private |
◆ m_size
unsigned int ODTTCFConfig::m_size |
|
private |
◆ m_ttcf_clob
unsigned char* ODTTCFConfig::m_ttcf_clob |
|
private |
◆ m_ttcf_file
std::string ODTTCFConfig::m_ttcf_file |
|
private |