ATLAS Offline Software
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 
6 
7 #include <iostream>
8 
9 using namespace std;
10 
11 
12 
14 
15 void TXC::L1TopoConfigGlobal::addTopoConfigElement(const std::string & name, const std::string & value) {
16  m_topoConfigElements.push_back(TopoConfigElement(name,value));
17 }
18 
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
athena.value
value
Definition: athena.py:124
TXC::L1TopoConfigGlobal::getTopoConfigs
const std::vector< TopoConfigElement > & getTopoConfigs() const
Definition: L1TopoConfigGlobal.h:34
L1TopoConfigGlobal.h
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
TXC::L1TopoConfigGlobal
Definition: L1TopoConfigGlobal.h:20
TXC::L1TopoConfigGlobal::~L1TopoConfigGlobal
virtual ~L1TopoConfigGlobal()
Definition: L1TopoConfigGlobal.cxx:13
TXC
Definition: IL1TopoMenuLoader.h:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition: TestGaudiProperty.cxx:69
TXC::L1TopoConfigGlobal::addTopoConfigElement
void addTopoConfigElement(const std::string &name, const std::string &value)
Definition: L1TopoConfigGlobal.cxx:15
TXC::TopoConfigElement
Definition: L1TopoConfigGlobal.h:13