Main Page
Namespaces
Classes
Package Documentation
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
#include <utility>
11
12
13
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
() : myName(
"CSCGeometryBuilderFromDDD"
){}
14
15
16
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
(){}
17
18
19
void
CSCGeometryBuilderFromDDD::build
(
CSCGeometry
&
geom
,
const
DDCompactView
* cview,
const
MuonDDDConstants
& muonConstants){
20
21
RecoIdealGeometry
rig;
22
CSCRecoDigiParameters
rdp;
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...
26
CSCGeometryParsFromDD
cscp;
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
(geom, rig, rdp);
32
}
Exception
Definition:
hltDiff.cc:292
CSCRecoDigiParameters.h
CSCGeometry
Definition:
CSCGeometry.h:24
CSCGeometryBuilder.h
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
CSCGeometryBuilder::build
void build(CSCGeometry &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
Definition:
CSCGeometryBuilder.cc:19
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
CSCGeometryParsFromDD
Definition:
CSCGeometryParsFromDD.h:20
CSCGeometryBuilderFromDDD::build
void build(CSCGeometry &geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
Definition:
CSCGeometryBuilderFromDDD.cc:19
CSCGeometryParsFromDD.h
CSCGeometryBuilder
Definition:
CSCGeometryBuilder.h:20
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
Definition:
CSCGeometryBuilderFromDDD.cc:16
RecoIdealGeometry.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
CSCGeometryBuilderFromDDD()
Constructor.
Definition:
CSCGeometryBuilderFromDDD.cc:13
Exception.h
RecoIdealGeometry
Definition:
RecoIdealGeometry.h:28
CSCRecoDigiParameters
Definition:
CSCRecoDigiParameters.h:18
CSCGeometryBuilderFromDDD.h
Generated for CMSSW Reference Manual by
1.8.11