ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDBMenuLoader.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_TRIGDBMENULOADER_H
13#define TRIGCONFIO_TRIGDBMENULOADER_H
14
16
17#include "boost/property_tree/ptree.hpp"
18
19#include "TrigConfData/L1Menu.h"
21
22
23namespace TrigConf {
24
25 class QueryDefinition;
26
31 public:
32
34 TrigDBMenuLoader(const std::string & connection);
35
37 virtual ~TrigDBMenuLoader() override;
38
46 bool loadL1Menu ( unsigned int smk,
47 boost::property_tree::ptree & l1menu,
48 const std::string & outFileName = "") const;
49
57 bool loadHLTMenu ( unsigned int smk,
58 boost::property_tree::ptree & hltmenu,
59 const std::string & outFileName = "") const;
60
68 bool loadL1Menu ( unsigned int smk,
69 L1Menu & l1menu,
70 const std::string & outFileName = "") const;
71
79 bool loadHLTMenu ( unsigned int smk,
80 HLTMenu & hltmenu,
81 const std::string & outFileName = "") const;
82 private:
83 std::map<size_t, QueryDefinition> m_l1queries;
84 std::map<size_t, QueryDefinition> m_hltqueries;
85 };
86
87}
88
89#endif
90
Loader class for Trigger configuration from the Trigger DB.
HLT menu configuration.
Definition HLTMenu.h:21
L1 menu configuration.
Definition L1Menu.h:28
Loader of trigger configurations from the Trigger database.
TrigDBMenuLoader(const std::string &connection)
Constructor.
bool loadHLTMenu(unsigned int smk, boost::property_tree::ptree &hltmenu, const std::string &outFileName="") const
Load HLT menu content from the Trigger DB into two ptrees for a given SuperMasterKey (SMK)
std::map< size_t, QueryDefinition > m_hltqueries
bool loadL1Menu(unsigned int smk, boost::property_tree::ptree &l1menu, const std::string &outFileName="") const
Load L1 menu content from the Trigger DB into a ptree for a given SuperMasterKey (SMK)
std::map< size_t, QueryDefinition > m_l1queries
virtual ~TrigDBMenuLoader() override
Destructor - cannot be defined here because QueryDefinition is an incomplete type.
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22