ATLAS Offline Software
sectionHandler.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 #include <iostream>
9 
10 
11 sectionHandler::sectionHandler(const std::string& s,
13  : XMLHandler(s, c)
14 {
15 // std::cout<<"Creating handler for section"<<std::endl;
16 }
17 
19  xercesc::DOMNode *t)
20 {
21  bool res;
22  std::string name = getAttributeAsString(c, t, "name",res);
23  std::string version = getAttributeAsString(c, t, "version",res);
24  std::string date = getAttributeAsString(c, t, "date",res);
25  std::string author = getAttributeAsString(c, t, "author",res);
26  std::string top="";
27  top=getAttributeAsString(c, t, "top_volume",res);
28 
29  new AGDDSection(name,version,author,date,top,c.GetSectionStore(),res);
30 }
AGDDController.h
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
sectionHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: sectionHandler.cxx:18
AGDDController
Definition: AGDDController.h:30
sectionHandler::sectionHandler
sectionHandler(const std::string &, AGDDController &c)
Definition: sectionHandler.cxx:11
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:69
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
fillHVMap_fromASCII.date
string date
Definition: fillHVMap_fromASCII.py:8
AGDDSection
Definition: AGDDSection.h:17
sectionHandler.h
XMLHandler
Definition: XMLHandler.h:15
get_generator_info.version
version
Definition: get_generator_info.py:33
CaloCondBlobAlgs_fillNoiseFromASCII.author
string author
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:26
top
@ top
Definition: TruthClasses.h:64
AGDDSection.h
python.compressB64.c
def c
Definition: compressB64.py:93