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
(std::shared_ptr<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
(
std::move
(geom), rig, rdp);
32
// return realbuilder.build(rig, rdp);
33
34
}
Exception
Definition:
hltDiff.cc:292
CSCRecoDigiParameters.h
CSCGeometryBuilder.h
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:90
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
CSCGeometryParsFromDD.h
CSCGeometryBuilder
Definition:
CSCGeometryBuilder.h:22
CSCGeometryBuilderFromDDD::~CSCGeometryBuilderFromDDD
virtual ~CSCGeometryBuilderFromDDD()
Destructor.
Definition:
CSCGeometryBuilderFromDDD.cc:16
RecoIdealGeometry.h
CSCGeometryBuilder::build
void build(const std::shared_ptr< CSCGeometry > &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
Definition:
CSCGeometryBuilder.cc:19
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:71
CSCGeometryBuilderFromDDD::CSCGeometryBuilderFromDDD
CSCGeometryBuilderFromDDD()
Constructor.
Definition:
CSCGeometryBuilderFromDDD.cc:13
Exception.h
RecoIdealGeometry
Definition:
RecoIdealGeometry.h:28
CSCGeometryBuilderFromDDD::build
void build(std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
Definition:
CSCGeometryBuilderFromDDD.cc:19
CSCRecoDigiParameters
Definition:
CSCRecoDigiParameters.h:18
eostools.move
def move(src, dest)
Definition:
eostools.py:510
CSCGeometryBuilderFromDDD.h
Generated for CMSSW Reference Manual by
1.8.11