ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfData
TrigConfData
HLTMenu.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGCONFDATA_HLTMENU_H
6
#define TRIGCONFDATA_HLTMENU_H
7
8
#include "
TrigConfData/ConstIter.h
"
9
#include "
TrigConfData/DataStructure.h
"
10
#include "
TrigConfData/HLTChain.h
"
11
12
#include <map>
13
14
namespace
TrigConf
{
15
21
class
HLTMenu
final :
public
DataStructure
{
22
public
:
23
25
HLTMenu
();
26
30
HLTMenu
(
const
ptree
&
data
);
31
HLTMenu
(
const
HLTMenu
&) =
default
;
32
HLTMenu
(
HLTMenu
&&) =
default
;
33
35
virtual
~HLTMenu
()
override
=
default
;
36
37
// class name
38
virtual
std::string
className
()
const override
{
39
return
"HLTMenu"
;
40
}
41
43
std::size_t
size
()
const
;
44
46
unsigned
int
smk
()
const
;
47
void
setSMK
(
unsigned
int
psk);
48
50
using
const_iterator
=
ConstIter<ptree, Chain>
;
51
56
const_iterator
begin
()
const
;
57
62
const_iterator
end
()
const
;
63
65
std::vector<DataStructure>
streams
()
const
;
66
68
std::map<std::string, std::vector<std::string>>
sequencers
()
const
;
69
71
void
printMenu
(
bool
full =
false
)
const
;
72
74
virtual
void
clear
()
override
;
75
76
private
:
77
79
virtual
void
update
()
override
{
load
(); };
80
void
load
();
81
83
unsigned
int
m_smk
{0};
84
};
85
}
86
87
#ifndef TRIGCONF_STANDALONE
88
#ifndef XAOD_STANDALONE
89
90
#include "
AthenaKernel/CLASS_DEF.h
"
91
CLASS_DEF
(
TrigConf::HLTMenu
, 24176960 , 1 )
92
93
#include "AthenaKernel/CondCont.h"
94
CONDCONT_DEF
(
TrigConf::HLTMenu
, 155284098 );
95
96
#endif
97
#endif
98
99
#endif
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
ConstIter.h
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataStructure.h
HLTChain.h
TrigConf::ConstIter
Forward iterator over an iterable of type V returning an object of type T.
Definition
ConstIter.h:31
TrigConf::DataStructure::data
const ptree & data() const
Access to the underlying data, if needed.
Definition
DataStructure.h:83
TrigConf::DataStructure::DataStructure
DataStructure()
Default constructor, leading to an uninitialized configuration object.
Definition
DataStructure.cxx:11
TrigConf::DataStructure::ptree
boost::property_tree::ptree ptree
Definition
DataStructure.h:40
TrigConf::HLTMenu
HLT menu configuration.
Definition
HLTMenu.h:21
TrigConf::HLTMenu::streams
std::vector< DataStructure > streams() const
Accessor to the connected output streams.
Definition
HLTMenu.cxx:65
TrigConf::HLTMenu::end
const_iterator end() const
End of the HLT chains list.
Definition
HLTMenu.cxx:57
TrigConf::HLTMenu::begin
const_iterator begin() const
Begin of the HLT chains list.
Definition
HLTMenu.cxx:51
TrigConf::HLTMenu::className
virtual std::string className() const override
A string that is the name of the class.
Definition
HLTMenu.h:38
TrigConf::HLTMenu::const_iterator
ConstIter< ptree, Chain > const_iterator
Iterator over the HLT chains.
Definition
HLTMenu.h:50
TrigConf::HLTMenu::HLTMenu
HLTMenu(HLTMenu &&)=default
TrigConf::HLTMenu::sequencers
std::map< std::string, std::vector< std::string > > sequencers() const
Accessor to the sequencers.
Definition
HLTMenu.cxx:80
TrigConf::HLTMenu::setSMK
void setSMK(unsigned int psk)
Definition
HLTMenu.cxx:46
TrigConf::HLTMenu::HLTMenu
HLTMenu(const HLTMenu &)=default
TrigConf::HLTMenu::update
virtual void update() override
Update the internal data after modification of the data object.
Definition
HLTMenu.h:79
TrigConf::HLTMenu::size
std::size_t size() const
Accessor to the number of HLT chains.
Definition
HLTMenu.cxx:35
TrigConf::HLTMenu::printMenu
void printMenu(bool full=false) const
print overview of L1 Menu
Definition
HLTMenu.cxx:96
TrigConf::HLTMenu::load
void load()
Definition
HLTMenu.cxx:20
TrigConf::HLTMenu::HLTMenu
HLTMenu()
Constructor.
Definition
HLTMenu.cxx:10
TrigConf::HLTMenu::clear
virtual void clear() override
Clearing the configuration data.
Definition
HLTMenu.cxx:29
TrigConf::HLTMenu::~HLTMenu
virtual ~HLTMenu() override=default
Destructor.
TrigConf::HLTMenu::m_smk
unsigned int m_smk
the supermasterkey
Definition
HLTMenu.h:83
TrigConf::HLTMenu::smk
unsigned int smk() const
setter and getter for the supermasterkey
Definition
HLTMenu.cxx:41
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
Generated on
for ATLAS Offline Software by
1.17.0