File indexing completed on 2024-04-06 12:05:33
0001 #include "DetectorDescription/Parser/src/DDLShapelessSolid.h"
0002 #include "DetectorDescription/Core/interface/DDSolid.h"
0003 #include "DetectorDescription/Parser/interface/DDLElementRegistry.h"
0004 #include "DetectorDescription/Parser/src/DDLSolid.h"
0005 #include "DetectorDescription/Parser/src/DDXMLElement.h"
0006
0007 class DDCompactView;
0008
0009 DDLShapelessSolid::DDLShapelessSolid(DDLElementRegistry* myreg) : DDLSolid(myreg) {}
0010
0011 void DDLShapelessSolid::preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) {
0012 myRegistry_->getElement("rSolid")->clear();
0013 }
0014
0015
0016 void DDLShapelessSolid::processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) {
0017 DDSolid dds = DDSolidFactory::shapeless(getDDName(nmspace));
0018
0019 DDLSolid::setReference(nmspace, cpv);
0020 }