CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCGeometryBuilderFromDDD.cc
Go to the documentation of this file.
2 #include "CSCGeometryBuilder.h"
4 
7 
9 
10 
11 CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD() : myName("CSCGeometryBuilderFromDDD"){}
12 
13 
15 
16 
17 void CSCGeometryBuilderFromDDD::build(boost::shared_ptr<CSCGeometry> geom, const DDCompactView* cview, const MuonDDDConstants& muonConstants){
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 }
type of data representation of DDCompactView
Definition: DDCompactView.h:76
bool build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig, CSCRecoDigiParameters &rdp)
Build the geometry returning the RecoIdealGeometry and the CSCRecoDigiParameters objects.
void build(boost::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
void build(boost::shared_ptr< CSCGeometry > theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.