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