CMS 3D CMS Logo

CSCGeometryBuilderFromDDD.cc
Go to the documentation of this file.
2 #include "CSCGeometryBuilder.h"
4 
7 
9 
10 #include <utility>
11 
12 
13 CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD() : myName("CSCGeometryBuilderFromDDD"){}
14 
15 
17 
18 
19 void CSCGeometryBuilderFromDDD::build(std::shared_ptr<CSCGeometry> geom, const DDCompactView* cview, const MuonDDDConstants& muonConstants){
20 
23 
24  // simple class just really a method to get the parameters... but I want this method
25  // available to classes other than CSCGeometryBuilderFromDDD so... simple class...
27  if ( ! cscp.build(cview, muonConstants, rig, rdp) ) {
28  throw cms::Exception("CSCGeometryBuilderFromDDD", "Failed to build the necessary objects from the DDD");
29  }
30  CSCGeometryBuilder realbuilder;
31  realbuilder.build(std::move(geom), rig, rdp);
32  // return realbuilder.build(rig, rdp);
33 
34 }
type of data representation of DDCompactView
Definition: DDCompactView.h:90
bool build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig, CSCRecoDigiParameters &rdp)
Build the geometry returning the RecoIdealGeometry and the CSCRecoDigiParameters objects.
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
void build(const std::shared_ptr< CSCGeometry > &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
void build(std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
def move(src, dest)
Definition: eostools.py:510