 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 q.addToTableList (
"L1_BUNCH_GROUP_SET" );
14 q.extendBinding<
int>(
"key");
16 q.extendCondition(
"L1BGS_ID = :key");
20 q.setDataName(
"L1BGS_DATA");
35 loadFromCrest(bgsk,
pt,
outFileName,
"L1 bunchgroups",
"BGS");
37 loadFromOracle(bgsk,
pt,
outFileName,
"L1 bunchgroups", m_queries);
47 TRG_MSG_ERROR(
"When reading L1 bunchgroup set for L1 BGSK " << bgsk <<
" a parsing error occured ( " << ex.what() <<
" )" );
void setBGSK(unsigned int bgsk)
Loader class for Trigger configuration (L1 prescales set) from the Trigger DB.
Loader of trigger configurations from the Trigger database.
void setData(const ptree &data)
Setting the configuration data.
virtual ~TrigDBL1BunchGroupSetLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
std::map< size_t, QueryDefinition > m_queries
boost::property_tree::ptree ptree
bool loadBunchGroupSet(unsigned int bgsk, L1BunchGroupSet &bgs, const std::string &outFileName="") const
Load content from the Trigger DB into an L1PrescalesSet for a given L1PrescaleKey (L1PSK)
virtual void clear() override
Clearing the configuration data.
TrigDBL1BunchGroupSetLoader(const std::string &connection)
Constructor.