#include <CSCGeometryBuilderFromDDD.h>
Public Member Functions | |
void | build (boost::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants) |
Build the geometry. | |
CSCGeometryBuilderFromDDD () | |
Constructor. | |
virtual | ~CSCGeometryBuilderFromDDD () |
Destructor. | |
Private Attributes | |
const std::string | myName |
Build the CSCGeometry from the DDD description.
Definition at line 19 of file CSCGeometryBuilderFromDDD.h.
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD | ( | ) |
Constructor.
Definition at line 11 of file CSCGeometryBuilderFromDDD.cc.
: myName("CSCGeometryBuilderFromDDD"){}
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD | ( | ) | [virtual] |
void CSCGeometryBuilderFromDDD::build | ( | boost::shared_ptr< CSCGeometry > | geom, |
const DDCompactView * | fv, | ||
const MuonDDDConstants & | muonConstants | ||
) |
Build the geometry.
Definition at line 17 of file CSCGeometryBuilderFromDDD.cc.
References CSCGeometryParsFromDD::build(), CSCGeometryBuilder::build(), and Exception.
Referenced by AlignmentMonitorAsAnalyzer::analyze(), AlignmentProducer::createGeometries_(), CSCGeometryESModule::geometryCallback_(), MuonAlignmentInputMethod::idealCSCGeometry(), MisalignedMuonESProducer::produce(), and MuonAlignmentOutputXML::write().
{ RecoIdealGeometry rig; CSCRecoDigiParameters rdp; // simple class just really a method to get the parameters... but I want this method // available to classes other than CSCGeometryBuilderFromDDD so... simple class... CSCGeometryParsFromDD cscp; if ( ! cscp.build(cview, muonConstants, rig, rdp) ) { throw cms::Exception("CSCGeometryBuilderFromDDD", "Failed to build the necessary objects from the DDD"); } CSCGeometryBuilder realbuilder; realbuilder.build(geom, rig, rdp); // return realbuilder.build(rig, rdp); }
const std::string CSCGeometryBuilderFromDDD::myName [private] |
Definition at line 34 of file CSCGeometryBuilderFromDDD.h.