ATLAS Offline Software
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 
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 
23 namespace TrigConf {
24 
29  public:
30 
32  TrigDBJobOptionsLoader(const std::string & connection);
33 
35  virtual ~TrigDBJobOptionsLoader() override;
36 
42  bool loadJobOptions ( unsigned int smk,
44  const std::string & outFileName = "") const;
45 
51  bool loadJobOptions ( unsigned int smk,
53  const std::string & outFileName = "") const;
54  private:
55  std::map<size_t, QueryDefinition> m_queries;
56  };
57 
58 }
59 
60 #endif
61 
RunEBWeightsComputation.smk
smk
Definition: RunEBWeightsComputation.py:87
TrigConf::TrigDBLoader
Loader of trigger configurations from Json files.
Definition: TrigDBLoader.h:33
TrigConf::TrigDBJobOptionsLoader::m_queries
std::map< size_t, QueryDefinition > m_queries
Definition: TrigDBJobOptionsLoader.h:55
TrigDBLoader.h
Loader class for Trigger configuration from the Trigger DB.
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
jobOptions
Definition: jobOptions.CompareGeomDBSources.py:1
DumpGeoConfig.outFileName
string outFileName
Definition: DumpGeoConfig.py:238
TrigConf::TrigDBJobOptionsLoader::TrigDBJobOptionsLoader
TrigDBJobOptionsLoader(const std::string &connection)
Constructor.
Definition: TrigDBJobOptionsLoader.cxx:8
TrigConf::TrigDBJobOptionsLoader
Loader of trigger configurations from Json files.
Definition: TrigDBJobOptionsLoader.h:28
ptree
boost::property_tree::ptree ptree
Definition: JsonFileLoader.cxx:16
TrigConf::DataStructure
Base class for Trigger configuration data and wrapper around underlying representation.
Definition: DataStructure.h:37
TrigConf::TrigDBJobOptionsLoader::~TrigDBJobOptionsLoader
virtual ~TrigDBJobOptionsLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
TrigConf::TrigDBJobOptionsLoader::loadJobOptions
bool loadJobOptions(unsigned int smk, boost::property_tree::ptree &jobOptions, const std::string &outFileName="") const
Load content from the Trigger DB into two ptrees for a given SuperMasterKey (SMK)
Definition: TrigDBJobOptionsLoader.cxx:51
DataStructure.h