ATLAS Offline Software
L1TopoConfigGlobal.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef __TopoCore__L1TopoConfigGlobal__
6 #define __TopoCore__L1TopoConfigGlobal__
7 
8 #include <vector>
9 #include <string>
10 
11 namespace TXC {
12 
14  TopoConfigElement() = default;
15  TopoConfigElement(const std::string & name, const std::string & value) : name(name), value(value) {}
16  std::string name {""};
17  std::string value {""};
18  };
19 
21  public:
22 
23  // default constructor
24  L1TopoConfigGlobal() =default;
25 
26  //move constructor to allow faster vector filling
28  L1TopoConfigGlobal& operator=(L1TopoConfigGlobal&& ) noexcept = default;
29 
30  // destructor
31  virtual ~L1TopoConfigGlobal();
32 
33  // get all TopoConfig elements
35 
36  // setters
37  void addTopoConfigElement(const std::string & name, const std::string & value);
39 
40  private:
41 
42  // TopoConfig elements stored here
43  std::vector<TopoConfigElement> m_topoConfigElements;
44  };
45 
46 std::ostream & operator<<(std::ostream &, const L1TopoConfigGlobal &);
47 
48 } // end of namespace TXC
49 
50 #endif
TXC::operator<<
std::ostream & operator<<(std::ostream &, const TXC::L1TopoConfigAlg &)
Definition: L1TopoConfigAlg.cxx:104
TXC::L1TopoConfigGlobal::L1TopoConfigGlobal
L1TopoConfigGlobal(L1TopoConfigGlobal &&) noexcept=default
TXC::TopoConfigElement::name
std::string name
Definition: L1TopoConfigGlobal.h:16
athena.value
value
Definition: athena.py:122
TXC::L1TopoConfigGlobal::getTopoConfigs
const std::vector< TopoConfigElement > & getTopoConfigs() const
Definition: L1TopoConfigGlobal.h:34
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
TXC::TopoConfigElement::TopoConfigElement
TopoConfigElement(const std::string &name, const std::string &value)
Definition: L1TopoConfigGlobal.h:15
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
TXC::L1TopoConfigGlobal::L1TopoConfigGlobal
L1TopoConfigGlobal()=default
TXC::L1TopoConfigGlobal
Definition: L1TopoConfigGlobal.h:20
vector
Definition: MultiHisto.h:13
TXC::TopoConfigElement::TopoConfigElement
TopoConfigElement()=default
TXC
Definition: IL1TopoMenuLoader.h:10
TXC::TopoConfigElement::value
std::string value
Definition: L1TopoConfigGlobal.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TXC::L1TopoConfigGlobal::m_topoConfigElements
std::vector< TopoConfigElement > m_topoConfigElements
Definition: L1TopoConfigGlobal.h:43
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
TXC::L1TopoConfigGlobal::addTopoConfigElement
void addTopoConfigElement(const std::string &name, const std::string &value)
Definition: L1TopoConfigGlobal.cxx:15
TXC::TopoConfigElement
Definition: L1TopoConfigGlobal.h:13