ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoConfig
Root
L1TopoConfigGlobal.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
L1TopoConfig/L1TopoConfigGlobal.h
"
6
7
#include <iostream>
8
9
using namespace
std
;
10
11
12
13
TXC::L1TopoConfigGlobal::~L1TopoConfigGlobal
() {}
14
15
void
TXC::L1TopoConfigGlobal::addTopoConfigElement
(
const
std::string & name,
const
std::string & value) {
16
m_topoConfigElements
.push_back(
TopoConfigElement
(name,value));
17
}
18
19
void
TXC::L1TopoConfigGlobal::addTopoConfigElement
(
const
TopoConfigElement
& config) {
20
m_topoConfigElements
.push_back(config);
21
}
22
23
namespace
TXC
{
24
25
std::ostream &
operator<<
(std::ostream &o,
const
L1TopoConfigGlobal
& topoconfig) {
26
o <<
"General configuration (<TopoConfig>):"
<< endl;
27
for
(
const
TXC::TopoConfigElement
& ce : topoconfig.
getTopoConfigs
())
28
o <<
" "
<< ce.name <<
": "
<< ce.value << endl;
29
30
return
o;
31
}
32
33
}
// namespace TXC
L1TopoConfigGlobal.h
TXC::L1TopoConfigGlobal
Definition
L1TopoConfigGlobal.h:20
TXC::L1TopoConfigGlobal::~L1TopoConfigGlobal
virtual ~L1TopoConfigGlobal()
Definition
L1TopoConfigGlobal.cxx:13
TXC::L1TopoConfigGlobal::m_topoConfigElements
std::vector< TopoConfigElement > m_topoConfigElements
Definition
L1TopoConfigGlobal.h:43
TXC::L1TopoConfigGlobal::getTopoConfigs
const std::vector< TopoConfigElement > & getTopoConfigs() const
Definition
L1TopoConfigGlobal.h:34
TXC::L1TopoConfigGlobal::addTopoConfigElement
void addTopoConfigElement(const std::string &name, const std::string &value)
Definition
L1TopoConfigGlobal.cxx:15
TXC
Definition
Run2toRun3ConvertersL1.h:5
TXC::operator<<
std::ostream & operator<<(std::ostream &, const TXC::L1TopoConfigAlg &)
Definition
L1TopoConfigAlg.cxx:123
std
STL namespace.
TXC::TopoConfigElement
Definition
L1TopoConfigGlobal.h:13
Generated on
for ATLAS Offline Software by
1.17.0