XML handler for CalorimeterParameters. More...
#include <CalorimeterParametersXML.h>
Public Member Functions | |
virtual TiXmlElement | toXML (const GearParameters ¶meters) const |
Creates an XML node for the given parameters. More... | |
virtual GearParameters * | fromXML (const TiXmlElement *xmlElement, GearMgr *gearMgr=0) const |
Creates the appropriate GearParameters subclass from the given XML element (node) | |
XML handler for CalorimeterParameters.
Definition at line 21 of file CalorimeterParametersXML.h.
|
virtual |
Creates an XML node for the given parameters.
Implements gear::XMLHandler.
Definition at line 25 of file CalorimeterParametersXML.cc.
References gear::LayerLayout::getAbsorberThickness(), gear::LayerLayout::getCellSize0(), gear::LayerLayout::getCellSize1(), gear::CalorimeterParameters::getExtent(), gear::CalorimeterParameters::getLayerLayout(), gear::CalorimeterParameters::getLayoutType(), gear::LayerLayout::getNLayers(), gear::CalorimeterParameters::getPhi0(), gear::CalorimeterParameters::getSymmetryOrder(), gear::LayerLayout::getThickness(), gear::GearParametersXML::getXMLForParameters(), gear::TiXmlNode::InsertEndChild(), gear::TiXmlElement::SetAttribute(), and gear::TiXmlElement::SetDoubleAttribute().
Referenced by gear::GearXML::createXMLFile().