#include <ODScanConfig.h>
Definition at line 9 of file ODScanConfig.h.
◆ ODScanConfig()
ODScanConfig::ODScanConfig |
( |
| ) |
|
◆ ~ODScanConfig()
ODScanConfig::~ODScanConfig |
( |
| ) |
|
|
override |
◆ clear()
void ODScanConfig::clear |
( |
void |
| ) |
|
|
private |
◆ fetchData()
◆ fetchID()
int ODScanConfig::fetchID |
( |
| ) |
|
|
privatenoexcept |
◆ fetchNextId()
int ODScanConfig::fetchNextId |
( |
| ) |
|
|
privatenoexcept |
◆ getFromVal()
int ODScanConfig::getFromVal |
( |
| ) |
const |
|
inline |
◆ getId()
int ODScanConfig::getId |
( |
void |
| ) |
const |
|
inline |
◆ getScanType()
std::string ODScanConfig::getScanType |
( |
| ) |
const |
|
inline |
◆ getStep()
int ODScanConfig::getStep |
( |
| ) |
const |
|
inline |
◆ getTable()
std::string ODScanConfig::getTable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getToVal()
int ODScanConfig::getToVal |
( |
| ) |
const |
|
inline |
◆ getTypeId()
int ODScanConfig::getTypeId |
( |
| ) |
const |
|
inline |
◆ prepareWrite()
void ODScanConfig::prepareWrite |
( |
| ) |
|
|
overrideprivatevirtualnoexcept |
Implements IODConfig.
Definition at line 70 of file ODScanConfig.cc.
77 "INSERT INTO ECAL_scan_dat ( scan_id, scan_tag ,"
78 " type_id, scan_type , FROM_VAL , TO_VAL, STEP )"
79 " VALUES ( :1, :2, :3, :4, :5, :6, :7)");
84 throw(std::runtime_error(
std::string(
"ODScanConfig::prepareWrite(): ") +
e.getMessage()));
References MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ setFromVal()
void ODScanConfig::setFromVal |
( |
int |
x | ) |
|
|
inline |
◆ setId()
void ODScanConfig::setId |
( |
int |
id | ) |
|
|
inline |
◆ setParameters()
void ODScanConfig::setParameters |
( |
const std::map< std::string, std::string > & |
my_keys_map | ) |
|
Definition at line 50 of file ODScanConfig.cc.
54 for (std::map<std::string, std::string>::const_iterator ci = my_keys_map.begin(); ci != my_keys_map.end(); ci++) {
55 if (ci->first ==
"SCAN_ID")
57 if (ci->first ==
"TYPE_ID")
59 if (ci->first ==
"TYPE" || ci->first ==
"SCAN_TYPE")
61 if (ci->first ==
"FROM" || ci->first ==
"FROM_VAL")
63 if (ci->first ==
"TO" || ci->first ==
"TO_VAL")
65 if (ci->first ==
"STEP")
66 setStep(atoi(ci->second.c_str()));
◆ setScanType()
void ODScanConfig::setScanType |
( |
std::string |
x | ) |
|
|
inline |
◆ setStep()
void ODScanConfig::setStep |
( |
int |
x | ) |
|
|
inline |
◆ setToVal()
void ODScanConfig::setToVal |
( |
int |
x | ) |
|
|
inline |
◆ setTypeId()
void ODScanConfig::setTypeId |
( |
int |
x | ) |
|
|
inline |
◆ writeDB()
void ODScanConfig::writeDB |
( |
| ) |
|
|
privatenoexcept |
◆ EcalCondDBInterface
◆ m_from_val
int ODScanConfig::m_from_val |
|
private |
◆ m_ID
◆ m_step
◆ m_to_val
int ODScanConfig::m_to_val |
|
private |
◆ m_type
std::string ODScanConfig::m_type |
|
private |
◆ m_type_id
int ODScanConfig::m_type_id |
|
private |