ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDBJobOptionsLoader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
13#define TRIGCONFIO_TRIGDBJOBOPTIONSLOADER_H
14
16
17#include "boost/property_tree/ptree.hpp"
18
20
21#include <map>
22
23namespace TrigConf {
24
29 public:
30
32 TrigDBJobOptionsLoader(const std::string & connection);
33
35 virtual ~TrigDBJobOptionsLoader() override;
36
44 bool loadJobOptions ( unsigned int smk,
45 boost::property_tree::ptree & jobOptions,
46 const std::string & outFileName = "") const;
47
55 bool loadJobOptions ( unsigned int smk,
57 const std::string & outFileName = "") const;
58 private:
59
60 std::map<size_t, QueryDefinition> m_queries;
61 };
62
63}
64
65#endif
66
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.
Definition Config.h:22