CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CSCGeometryBuilderFromDDD Class Reference

#include <CSCGeometryBuilderFromDDD.h>

Public Member Functions

void build (std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
 Build the geometry. More...
 
 CSCGeometryBuilderFromDDD ()
 Constructor. More...
 
virtual ~CSCGeometryBuilderFromDDD ()
 Destructor. More...
 

Private Attributes

const std::string myName
 

Detailed Description

Build the CSCGeometry from the DDD description.

Author
Tim Cox

Definition at line 19 of file CSCGeometryBuilderFromDDD.h.

Constructor & Destructor Documentation

CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD ( )

Constructor.

Definition at line 11 of file CSCGeometryBuilderFromDDD.cc.

11 : myName("CSCGeometryBuilderFromDDD"){}
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD ( )
virtual

Destructor.

Definition at line 14 of file CSCGeometryBuilderFromDDD.cc.

14 {}

Member Function Documentation

void CSCGeometryBuilderFromDDD::build ( std::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(), AlignmentProducerBase::createGeometries(), MuonAlignmentInputMethod::idealCSCGeometry(), CSCGeometryESModule::initCSCGeometry_(), MisalignedMuonESProducer::produce(), and MuonAlignmentOutputXML::write().

17  {
18 
21 
22  // simple class just really a method to get the parameters... but I want this method
23  // available to classes other than CSCGeometryBuilderFromDDD so... simple class...
25  if ( ! cscp.build(cview, muonConstants, rig, rdp) ) {
26  throw cms::Exception("CSCGeometryBuilderFromDDD", "Failed to build the necessary objects from the DDD");
27  }
28  CSCGeometryBuilder realbuilder;
29  realbuilder.build(geom, rig, rdp);
30  // return realbuilder.build(rig, rdp);
31 
32 }
bool build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig, CSCRecoDigiParameters &rdp)
Build the geometry returning the RecoIdealGeometry and the CSCRecoDigiParameters objects.
void build(std::shared_ptr< CSCGeometry > theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.

Member Data Documentation

const std::string CSCGeometryBuilderFromDDD::myName
private

Definition at line 34 of file CSCGeometryBuilderFromDDD.h.