ATLAS Offline Software
addmaterialHandler.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
9  : XMLHandler(s, c)
10 {
11 }
12 
14  xercesc::DOMNode *t)
15 {
16  m_names.push_back (getAttributeAsString(c, t, "material"));
17 }
18 
19 
20 std::vector<std::string> addmaterialHandler::GetNames()
21 {
22  std::vector<std::string> v;
23  v.swap (m_names);
24  return v;
25 }
addmaterialHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: addmaterialHandler.cxx:13
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AGDDController
Definition: AGDDController.h:30
addmaterialHandler::m_names
std::vector< std::string > m_names
Definition: addmaterialHandler.h:20
addmaterialHandler.h
addmaterialHandler::GetNames
std::vector< std::string > GetNames()
Definition: addmaterialHandler.cxx:20
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:69
XMLHandler
Definition: XMLHandler.h:15
python.PyAthena.v
v
Definition: PyAthena.py:154
python.SystemOfUnits.s
float s
Definition: SystemOfUnits.py:147
addmaterialHandler::addmaterialHandler
addmaterialHandler(const std::string &, AGDDController &c)
Definition: addmaterialHandler.cxx:7
python.compressB64.c
def c
Definition: compressB64.py:93