ATLAS Offline Software
TrigDBMonitoringLoader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef TRIGCONFIO_TRIGDBMONITORINGLOADER_H
10 #define TRIGCONFIO_TRIGDBMONITORINGLOADER_H
11 
13 
14 #include "boost/property_tree/ptree.hpp"
15 
17 
18 namespace TrigConf {
19 
20  class QueryDefinition;
21 
26  public:
27 
29  TrigDBMonitoringLoader(const std::string & connection);
30 
32  virtual ~TrigDBMonitoringLoader() override;
33 
40  bool loadHLTMonitoring ( unsigned int smk,
41  boost::property_tree::ptree & hltmonitoring,
42  const std::string & outFileName = "") const;
43 
51  bool loadHLTMonitoring ( unsigned int smk,
52  HLTMonitoring & hltmonitoring,
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
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
DumpGeoConfig.outFileName
string outFileName
Definition: DumpGeoConfig.py:252
TrigConf::TrigDBMonitoringLoader::~TrigDBMonitoringLoader
virtual ~TrigDBMonitoringLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
TrigConf::TrigDBMonitoringLoader
Loader of trigger menu configurations from the database.
Definition: TrigDBMonitoringLoader.h:25
ptree
boost::property_tree::ptree ptree
Definition: JsonFileLoader.cxx:16
TrigConf::HLTMonitoring
HLT monitoring configuration.
Definition: HLTMonitoring.h:27
TrigConf::TrigDBMonitoringLoader::loadHLTMonitoring
bool loadHLTMonitoring(unsigned int smk, boost::property_tree::ptree &hltmonitoring, const std::string &outFileName="") const
Load HLT menu content from the Trigger DB into two ptrees for a given SuperMasterKey (SMK)
Definition: TrigDBMonitoringLoader.cxx:38
TrigConf::TrigDBMonitoringLoader::m_queries
std::map< size_t, QueryDefinition > m_queries
Definition: TrigDBMonitoringLoader.h:55
TrigConf::TrigDBMonitoringLoader::TrigDBMonitoringLoader
TrigDBMonitoringLoader(const std::string &connection)
Constructor.
Definition: TrigDBMonitoringLoader.cxx:6
HLTMonitoring.h