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
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
() : myName(
"CSCGeometryBuilderFromDDD"
) {}
13
14
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
() {}
15
16
void
CSCGeometryBuilderFromDDD::build
(
CSCGeometry
&
geom
,
17
const
DDCompactView
* cview,
18
const
MuonDDDConstants
& muonConstants) {
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
}
Exception
Definition:
hltDiff.cc:246
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:17
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:16
CSCGeometryParsFromDD.h
CSCGeometryBuilder
Definition:
CSCGeometryBuilder.h:20
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
Definition:
CSCGeometryBuilderFromDDD.cc:14
RecoIdealGeometry.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
CSCGeometryBuilderFromDDD()
Constructor.
Definition:
CSCGeometryBuilderFromDDD.cc:12
Exception.h
RecoIdealGeometry
Definition:
RecoIdealGeometry.h:28
CSCRecoDigiParameters
Definition:
CSCRecoDigiParameters.h:18
CSCGeometryBuilderFromDDD.h
Generated for CMSSW Reference Manual by
1.8.11