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 
44  bool loadJobOptions ( unsigned int smk,
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 
RunEBWeightsComputation.smk
smk
Definition: RunEBWeightsComputation.py:87
TrigConf::TrigDBLoader
Loader of trigger configurations from the Trigger database.
Definition: TrigDBLoader.h:39
TrigConf::TrigDBJobOptionsLoader::m_queries
std::map< size_t, QueryDefinition > m_queries
Definition: TrigDBJobOptionsLoader.h:60
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
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
dumpNswErrorDb.outFileName
string outFileName
Definition: dumpNswErrorDb.py:131
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 job options from the Trigger DB into a ptree for a given SuperMasterKey (SMK)
Definition: TrigDBJobOptionsLoader.cxx:51
DataStructure.h