CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCGeometryBuilderFromDDD Class Reference

#include <CSCGeometryBuilderFromDDD.h>

List of all members.

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

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.

: myName("CSCGeometryBuilderFromDDD"){}
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD ( ) [virtual]

Destructor.

Definition at line 14 of file CSCGeometryBuilderFromDDD.cc.

{}

Member Function Documentation

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); 

}

Member Data Documentation

const std::string CSCGeometryBuilderFromDDD::myName [private]

Definition at line 34 of file CSCGeometryBuilderFromDDD.h.