ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoConfig
L1TopoConfig
L1TopoMenu.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef L1TOPOMENU_HPP
6
#define L1TOPOMENU_HPP
7
8
#include <vector>
9
#include <map>
10
#include <string>
11
12
#include "
L1TopoCommon/StatusCode.h
"
13
14
#include "
L1TopoConfig/L1TopoConfigAlg.h
"
15
#include "
L1TopoConfig/L1TopoConfigOutputList.h
"
16
#include "
L1TopoConfig/L1TopoConfigGlobal.h
"
17
18
namespace
TrigConf
{
19
class
L1TopoConfig;
20
class
L1TopoMenuLoader;
21
}
22
23
namespace
TXC
{
24
25
class
L1TopoMenu
{
26
27
public
:
28
29
// default constructor
30
L1TopoMenu
();
31
32
// constructor
33
L1TopoMenu
(
const
std::string &
name
,
const
std::string &
version
);
34
35
// assignment constructor
36
L1TopoMenu
(
L1TopoMenu
&& o) noexcept =
default
;
37
38
L1TopoMenu
(
const
L1TopoMenu
&) =
delete
;
39
40
// destructor
41
~L1TopoMenu
();
42
43
//L1TopoMenu & operator=(const L1TopoMenu& rhs);
44
45
// get menu attributes
46
const
std::string &
getName
()
const
{
return
m_name
; }
47
const
std::string &
getVersion
()
const
{
return
m_version
; }
48
const
unsigned
int
&
getSMK
()
const
{
return
m_smk
; }
49
50
51
// accessors
52
const
L1TopoConfigAlg
&
algorithm
(
const
std::string&
name
)
const
;
53
const
std::vector<TXC::L1TopoConfigAlg> &
getL1TopoConfigAlgs
()
const
{
return
m_algos
; }
54
const
L1TopoConfigGlobal
&
getL1TopoConfigGlobal
()
const
{
return
m_topoconfig
; }
55
const
L1TopoConfigOutputList
&
getL1TopoConfigOutputList
()
const
{
return
m_outputlist
; }
56
57
61
void
setName
(
const
std::string &
name
) {
m_name
=
name
; }
62
void
setVersion
(
const
std::string &
version
) {
m_version
=
version
; }
63
void
setSMK
(
const
unsigned
int
&
smk
) {
m_smk
=
smk
; }
64
66
void
addAlgorithm
(
TXC::L1TopoConfigAlg
&&
alg
);
67
69
void
addL1TopoXMLOutput
(
const
TXC::OutputListElement
&
output
) {
m_outputlist
.
addOutputListElement
(
output
); }
70
72
void
addL1TopoConfigGlobal
(
const
TXC::TopoConfigElement
&topoconfig) {
m_topoconfig
.
addTopoConfigElement
(topoconfig); }
74
76
void
print
()
const
;
77
78
L1TopoMenu
&
operator=
(
L1TopoMenu
&& o) noexcept =
default
;
79
80
private
:
81
82
L1TopoMenu
&
operator=
(
const
L1TopoMenu
&) =
delete
;
83
84
friend
class
TrigConf::L1TopoConfig
;
85
friend
class
TrigConf::L1TopoMenuLoader
;
86
87
TCS::StatusCode
setTriggerList
();
88
89
std::string
m_name
{
""
};
90
std::string
m_version
{
""
};
91
unsigned
int
m_smk
{0};
92
93
// vectors of menu objects
94
std::vector<TXC::L1TopoConfigAlg>
m_algos
;
95
TXC::L1TopoConfigGlobal
m_topoconfig
;
96
TXC::L1TopoConfigOutputList
m_outputlist
;
97
98
};
99
100
}
101
102
#endif
TXC::L1TopoMenu::operator=
L1TopoMenu & operator=(L1TopoMenu &&o) noexcept=default
L1TopoConfigAlg.h
SGout2dot.alg
alg
Definition:
SGout2dot.py:243
TXC::L1TopoMenu::m_version
std::string m_version
Definition:
L1TopoMenu.h:90
TXC::L1TopoMenu::~L1TopoMenu
~L1TopoMenu()
Definition:
L1TopoMenu.cxx:24
TXC::L1TopoMenu::getL1TopoConfigGlobal
const L1TopoConfigGlobal & getL1TopoConfigGlobal() const
Definition:
L1TopoMenu.h:54
RunEBWeightsComputation.smk
smk
Definition:
RunEBWeightsComputation.py:87
TXC::L1TopoMenu::m_smk
unsigned int m_smk
Definition:
L1TopoMenu.h:91
TXC::L1TopoMenu::m_algos
std::vector< TXC::L1TopoConfigAlg > m_algos
Definition:
L1TopoMenu.h:94
TXC::L1TopoMenu::getVersion
const std::string & getVersion() const
Definition:
L1TopoMenu.h:47
L1TopoConfigGlobal.h
TXC::L1TopoMenu::m_name
std::string m_name
Definition:
L1TopoMenu.h:89
TXC::L1TopoMenu::getName
const std::string & getName() const
Definition:
L1TopoMenu.h:46
TXC::L1TopoConfigOutputList
Definition:
L1TopoConfigOutputList.h:89
TXC::L1TopoMenu::L1TopoMenu
L1TopoMenu(const L1TopoMenu &)=delete
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition:
Config.h:22
TXC::L1TopoMenu::L1TopoMenu
L1TopoMenu()
Definition:
L1TopoMenu.cxx:14
TrigConf::L1TopoMenuLoader
TriggerDB loader of the HLT menu.
Definition:
L1TopoMenuLoader.h:17
TXC::L1TopoMenu::operator=
L1TopoMenu & operator=(const L1TopoMenu &)=delete
TXC::L1TopoMenu::m_outputlist
TXC::L1TopoConfigOutputList m_outputlist
Definition:
L1TopoMenu.h:96
TXC::L1TopoConfigGlobal
Definition:
L1TopoConfigGlobal.h:20
TXC::L1TopoMenu::print
void print() const
print menu
Definition:
L1TopoMenu.cxx:64
TXC::L1TopoMenu::addL1TopoXMLOutput
void addL1TopoXMLOutput(const TXC::OutputListElement &output)
add output
Definition:
L1TopoMenu.h:69
TXC::OutputListElement
Definition:
L1TopoConfigOutputList.h:57
StatusCode.h
TXC::L1TopoMenu::setVersion
void setVersion(const std::string &version)
Definition:
L1TopoMenu.h:62
TXC::L1TopoConfigOutputList::addOutputListElement
void addOutputListElement(const OutputListElement &output)
Definition:
L1TopoConfigOutputList.cxx:28
TXC::L1TopoMenu::getSMK
const unsigned int & getSMK() const
Definition:
L1TopoMenu.h:48
merge.output
output
Definition:
merge.py:17
TXC
Definition:
IL1TopoMenuLoader.h:10
TXC::L1TopoMenu::L1TopoMenu
L1TopoMenu(L1TopoMenu &&o) noexcept=default
TXC::L1TopoMenu::addAlgorithm
void addAlgorithm(TXC::L1TopoConfigAlg &&alg)
add algorithm
Definition:
L1TopoMenu.cxx:27
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TXC::L1TopoMenu::setSMK
void setSMK(const unsigned int &smk)
Definition:
L1TopoMenu.h:63
TXC::L1TopoMenu::addL1TopoConfigGlobal
void addL1TopoConfigGlobal(const TXC::TopoConfigElement &topoconfig)
add config
Definition:
L1TopoMenu.h:72
TXC::L1TopoMenu::algorithm
const L1TopoConfigAlg & algorithm(const std::string &name) const
Definition:
L1TopoMenu.cxx:32
TXC::L1TopoConfigAlg
Definition:
L1TopoConfigAlg.h:56
L1TopoConfigOutputList.h
get_generator_info.version
version
Definition:
get_generator_info.py:33
TXC::L1TopoMenu::getL1TopoConfigAlgs
const std::vector< TXC::L1TopoConfigAlg > & getL1TopoConfigAlgs() const
Definition:
L1TopoMenu.h:53
TXC::L1TopoMenu::L1TopoConfig
friend class TrigConf::L1TopoConfig
Definition:
L1TopoMenu.h:84
TXC::L1TopoMenu::setTriggerList
TCS::StatusCode setTriggerList()
Definition:
L1TopoMenu.cxx:40
TXC::L1TopoMenu
Definition:
L1TopoMenu.h:25
TXC::L1TopoMenu::getL1TopoConfigOutputList
const L1TopoConfigOutputList & getL1TopoConfigOutputList() const
Definition:
L1TopoMenu.h:55
TXC::L1TopoMenu::setName
void setName(const std::string &name)
setter methods
Definition:
L1TopoMenu.h:61
TXC::L1TopoConfigGlobal::addTopoConfigElement
void addTopoConfigElement(const std::string &name, const std::string &value)
Definition:
L1TopoConfigGlobal.cxx:15
TCS::StatusCode
Definition:
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15
TXC::L1TopoMenu::m_topoconfig
TXC::L1TopoConfigGlobal m_topoconfig
Definition:
L1TopoMenu.h:95
TXC::TopoConfigElement
Definition:
L1TopoConfigGlobal.h:13
Generated on Sun Dec 22 2024 21:13:08 for ATLAS Offline Software by
1.8.18