 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 q.addToTableList (
"HLT_PRESCALE_SET" );
14 q.extendBinding<
int>(
"key");
16 q.extendCondition(
"HPS_ID = :key");
20 q.setDataName(
"HPS_DATA");
34 loadFromCrest(psk,
pt,
outFileName,
"HLT prescales",
"HLTPS");
36 loadFromOracle(psk,
pt,
outFileName,
"HLT prescales", m_queries);
46 TRG_MSG_ERROR(
"When reading HLT prescales for HLT PSK " << psk <<
" a parsing error occured ( " << ex.what() <<
" )" );
void setPSK(unsigned int psk)
virtual ~TrigDBHLTPrescalesSetLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
Loader of trigger configurations from the Trigger database.
bool loadHLTPrescales(unsigned int hltpsk, HLTPrescalesSet &hltpss, const std::string &outFileName="") const
Load content from the Trigger DB into an HLTPrescalesSet for a given HLTPrescaleKey (HLTPSK)
void setData(const ptree &data)
Setting the configuration data.
Loader class for Trigger configuration (HLT prescales set) from the Trigger DB.
TrigDBHLTPrescalesSetLoader(const std::string &connection)
Constructor.
boost::property_tree::ptree ptree
virtual void clear() override
Clearing the configuration data.
std::map< size_t, QueryDefinition > m_queries