ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfData
TrigConfData
L1Board.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGCONFDATA_L1BOARD_H
6
#define TRIGCONFDATA_L1BOARD_H
7
8
#include "
TrigConfData/ConstIter.h
"
9
#include "
TrigConfData/DataStructure.h
"
10
11
#include <vector>
12
#include <string>
13
14
namespace
TrigConf
{
15
21
23
class
L1Board
final :
public
DataStructure
{
24
public
:
25
26
enum class
BoardType
{
CTPIN
,
TOPO
,
MUCTPI
,
MERGER
,
UNKNOWN
};
27
29
L1Board
();
30
31
L1Board
(
const
L1Board
&) =
delete
;
32
L1Board
&
operator=
(
const
L1Board
&) =
delete
;
33
L1Board
(
L1Board
&&) =
delete
;
34
38
L1Board
(
const
std::string & boardName,
const
ptree
&
data
);
39
41
virtual
~L1Board
()
override
=
default
;
42
43
virtual
std::string
className
()
const override
;
44
46
std::size_t
size
()
const
;
47
48
std::string
type
()
const
;
49
50
BoardType
boardType
()
const
;
51
53
bool
legacy
()
const
;
54
56
const
std::vector<std::string> &
connectorNames
()
const
;
57
58
private
:
59
61
virtual
void
update
()
override
;
62
63
BoardType
m_boardType
{
BoardType::UNKNOWN
};
64
bool
m_legacy
{};
65
std::vector<std::string>
m_connectorNames
;
66
};
67
68
}
69
70
#endif
ConstIter.h
DataStructure.h
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::L1Board::update
virtual void update() override
Update the internal members.
Definition
L1Board.cxx:29
TrigConf::L1Board::L1Board
L1Board(L1Board &&)=delete
TrigConf::L1Board::L1Board
L1Board()
Constructor.
Definition
L1Board.cxx:13
TrigConf::L1Board::BoardType
BoardType
Definition
L1Board.h:26
TrigConf::L1Board::BoardType::TOPO
@ TOPO
Definition
L1Board.h:26
TrigConf::L1Board::BoardType::UNKNOWN
@ UNKNOWN
Definition
L1Board.h:26
TrigConf::L1Board::BoardType::MERGER
@ MERGER
Definition
L1Board.h:26
TrigConf::L1Board::BoardType::CTPIN
@ CTPIN
Definition
L1Board.h:26
TrigConf::L1Board::BoardType::MUCTPI
@ MUCTPI
Definition
L1Board.h:26
TrigConf::L1Board::legacy
bool legacy() const
Accessor to the connector type.
Definition
L1Board.cxx:87
TrigConf::L1Board::type
std::string type() const
Definition
L1Board.cxx:70
TrigConf::L1Board::boardType
BoardType boardType() const
Definition
L1Board.cxx:64
TrigConf::L1Board::operator=
L1Board & operator=(const L1Board &)=delete
TrigConf::L1Board::m_legacy
bool m_legacy
Definition
L1Board.h:64
TrigConf::L1Board::L1Board
L1Board(const L1Board &)=delete
TrigConf::L1Board::className
virtual std::string className() const override
A string that is the name of the class.
Definition
L1Board.cxx:24
TrigConf::L1Board::size
std::size_t size() const
Accessor to the number of connectors.
Definition
L1Board.cxx:58
TrigConf::L1Board::~L1Board
virtual ~L1Board() override=default
Destructor.
TrigConf::L1Board::m_connectorNames
std::vector< std::string > m_connectorNames
Definition
L1Board.h:65
TrigConf::L1Board::connectorNames
const std::vector< std::string > & connectorNames() const
Accessor to connector names.
Definition
L1Board.cxx:93
TrigConf::L1Board::m_boardType
BoardType m_boardType
Definition
L1Board.h:63
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