ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfData
TrigConfData
L1CTP.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGCONFDATA_L1CTP_H
6
#define TRIGCONFDATA_L1CTP_H
7
8
#include "
TrigConfData/DataStructure.h
"
9
10
#include <map>
11
12
namespace
TrigConf
{
13
19
21
class
L1CTP
final :
public
DataStructure
{
22
public
:
23
24
L1CTP
() =
default
;
28
L1CTP
(
const
std::string &
name
,
const
ptree
&
data
);
29
30
L1CTP
(
const
L1CTP
&) =
delete
;
31
L1CTP
&
operator=
(
const
L1CTP
&) =
delete
;
32
L1CTP
(
L1CTP
&&) =
delete
;
33
34
virtual
~L1CTP
()
override
=
default
;
35
40
const
std::string &
ctpin
(
size_t
slot,
size_t
conn)
const
;
41
42
const
std::string &
electrical
(
size_t
conn)
const
;
43
44
const
std::string &
optical
(
size_t
conn)
const
;
45
50
const
std::map<std::string, std::pair<size_t,std::string>>&
ctpMon
()
const
{
return
m_ctpmon
; }
51
56
const
std::map<std::string, std::pair<size_t,std::string>>&
ctpinMon
()
const
{
return
m_ctpinMon
; }
57
59
virtual
void
clear
()
override
;
60
61
private
:
62
64
virtual
void
update
()
override
{
load
(); };
65
void
load
();
66
67
std::string
m_ctpin
[3][4];
68
std::string
m_electrical
[3];
69
std::string
m_optical
[12];
70
71
std::map<std::string, std::pair<size_t,std::string>>
m_ctpmon
;
72
std::map<std::string, std::pair<size_t,std::string>>
m_ctpinMon
;
73
};
74
}
75
76
#endif
DataStructure.h
TrigConf::DataStructure::name
virtual const std::string & name() const final
Definition
DataStructure.cxx:108
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::L1CTP::ctpMon
const std::map< std::string, std::pair< size_t, std::string > > & ctpMon() const
CTP monitors.
Definition
L1CTP.h:50
TrigConf::L1CTP::operator=
L1CTP & operator=(const L1CTP &)=delete
TrigConf::L1CTP::clear
virtual void clear() override
Clearing the configuration data.
Definition
L1CTP.cxx:65
TrigConf::L1CTP::m_electrical
std::string m_electrical[3]
Definition
L1CTP.h:68
TrigConf::L1CTP::m_ctpinMon
std::map< std::string, std::pair< size_t, std::string > > m_ctpinMon
Definition
L1CTP.h:72
TrigConf::L1CTP::m_optical
std::string m_optical[12]
Definition
L1CTP.h:69
TrigConf::L1CTP::m_ctpin
std::string m_ctpin[3][4]
Definition
L1CTP.h:67
TrigConf::L1CTP::m_ctpmon
std::map< std::string, std::pair< size_t, std::string > > m_ctpmon
Definition
L1CTP.h:71
TrigConf::L1CTP::ctpinMon
const std::map< std::string, std::pair< size_t, std::string > > & ctpinMon() const
CTPIN monitors.
Definition
L1CTP.h:56
TrigConf::L1CTP::update
virtual void update() override
Update the internal data after modification of the data object.
Definition
L1CTP.h:64
TrigConf::L1CTP::load
void load()
Definition
L1CTP.cxx:14
TrigConf::L1CTP::electrical
const std::string & electrical(size_t conn) const
Definition
L1CTP.cxx:84
TrigConf::L1CTP::~L1CTP
virtual ~L1CTP() override=default
TrigConf::L1CTP::optical
const std::string & optical(size_t conn) const
Definition
L1CTP.cxx:92
TrigConf::L1CTP::ctpin
const std::string & ctpin(size_t slot, size_t conn) const
name of ctpin connector
Definition
L1CTP.cxx:71
TrigConf::L1CTP::L1CTP
L1CTP()=default
TrigConf::L1CTP::L1CTP
L1CTP(L1CTP &&)=delete
TrigConf::L1CTP::L1CTP
L1CTP(const L1CTP &)=delete
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