12#ifndef TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
13#define TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
17#include "boost/property_tree/ptree.hpp"
46 const std::string & outFileName =
"")
const;
57 const std::string & outFileName =
"")
const;
Loader class for Trigger configuration from the Trigger DB.
Base class for Trigger configuration data and wrapper around underlying representation.
TrigDBJobOptionsLoader(const std::string &connection)
Constructor.
std::map< size_t, QueryDefinition > m_queries
bool loadJobOptions(unsigned int smk, boost::property_tree::ptree &jobOptions, const std::string &outFileName="") const
Load job options from the Trigger DB into a ptree for a given SuperMasterKey (SMK)
virtual ~TrigDBJobOptionsLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
TrigDBLoader(const std::string &loaderName, const std::string &connection)
Constructor.
Forward iterator to traverse the main components of the trigger configuration.