Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Geometry
CSCGeometryBuilder
src
CSCGeometryBuilderFromDDD.cc
Go to the documentation of this file.
1
#include "
CSCGeometryBuilderFromDDD.h
"
2
#include "
CSCGeometryBuilder.h
"
3
#include "
CSCGeometryParsFromDD.h
"
4
5
#include <
CondFormats/GeometryObjects/interface/RecoIdealGeometry.h
>
6
#include <
CondFormats/GeometryObjects/interface/CSCRecoDigiParameters.h
>
7
8
#include <
FWCore/Utilities/interface/Exception.h
>
9
10
11
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
() : myName(
"CSCGeometryBuilderFromDDD"
){}
12
13
14
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
(){}
15
16
17
void
CSCGeometryBuilderFromDDD::build
(boost::shared_ptr<CSCGeometry>
geom
,
const
DDCompactView
* cview,
const
MuonDDDConstants
& muonConstants){
18
19
RecoIdealGeometry
rig;
20
CSCRecoDigiParameters
rdp;
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...
24
CSCGeometryParsFromDD
cscp;
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
}
CSCRecoDigiParameters.h
CSCGeometryBuilder.h
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:77
MuonDDDConstants
Definition:
MuonDDDConstants.h:21
CSCGeometryParsFromDD::build
bool build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig, CSCRecoDigiParameters &rdp)
Build the geometry returning the RecoIdealGeometry and the CSCRecoDigiParameters objects.
Definition:
CSCGeometryParsFromDD.cc:24
CSCGeometryBuilderFromDDD::build
void build(boost::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
Definition:
CSCGeometryBuilderFromDDD.cc:17
CSCGeometryParsFromDD
Definition:
CSCGeometryParsFromDD.h:21
CSCGeometryParsFromDD.h
CSCGeometryBuilder
Definition:
CSCGeometryBuilder.h:22
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
Definition:
CSCGeometryBuilderFromDDD.cc:14
relativeConstraints.geom
list geom
Definition:
relativeConstraints.py:71
RecoIdealGeometry.h
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
CSCGeometryBuilderFromDDD()
Constructor.
Definition:
CSCGeometryBuilderFromDDD.cc:11
Exception.h
edm::hlt::Exception
error
Definition:
HLTenums.h:21
RecoIdealGeometry
Definition:
RecoIdealGeometry.h:26
CSCGeometryBuilder::build
void build(boost::shared_ptr< CSCGeometry > theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
Definition:
CSCGeometryBuilder.cc:19
CSCRecoDigiParameters
Definition:
CSCRecoDigiParameters.h:19
CSCGeometryBuilderFromDDD.h
Generated for CMSSW Reference Manual by
1.8.5