Geometry
DTGeometryBuilder
src
DTGeometryBuilderFromDD4Hep.h
Go to the documentation of this file.
1
#ifndef DTGeometryBuilder_DTGeometryBuilderFromDD4Hep_h
2
#define DTGeometryBuilder_DTGeometryBuilderFromDD4Hep_h
3
// -*- C++ -*-
4
//
5
// Package: Gemetry/DTGeometryBuilder
6
// Class: DTGeometryBuilderFromDD4Hep
7
//
16
//
17
// Original Author: Ianna Osborne
18
// Created: Wed, 16 Jan 2019 10:19:37 GMT
19
// Modified by Sergio Lo Meo (sergio.lo.meo@cern.ch) Mon, 31 August 2020
20
//
21
//
22
23
#include "
DataFormats/GeometrySurface/interface/ReferenceCounted.h
"
24
#include "
DataFormats/GeometrySurface/interface/Plane.h
"
25
#include "
DetectorDescription/DDCMS/interface/DDDetector.h
"
26
#include "
DetectorDescription/DDCMS/interface/DDFilteredView.h
"
27
#include "
Geometry/MuonNumbering/interface/DTNumberingScheme.h
"
28
29
#include <DD4hep/SpecParRegistry.h>
30
31
namespace
dd4hep
{
32
class
Detector
;
33
}
34
35
class
DTGeometry
;
36
class
DTChamber
;
37
class
DTSuperLayer
;
38
class
DTLayer
;
39
class
MuonGeometryConstants
;
40
class
MuonGeometryNumbering
;
41
42
class
DTGeometryBuilderFromDD4Hep
{
43
public
:
44
DTGeometryBuilderFromDD4Hep
() {}
45
46
void
build
(
DTGeometry
&,
const
cms::DDDetector
*,
const
MuonGeometryConstants
&,
const
dd4hep::SpecParRefs&);
47
48
private
:
49
void
buildGeometry
(
cms::DDFilteredView
&,
DTGeometry
&,
const
MuonGeometryConstants
&)
const
;
50
51
DTChamber
*
buildChamber
(
cms::DDFilteredView
&,
const
MuonGeometryConstants
&)
const
;
52
53
DTSuperLayer
*
buildSuperLayer
(
cms::DDFilteredView
&,
DTChamber
*,
const
MuonGeometryConstants
&)
const
;
54
55
DTLayer
*
buildLayer
(
cms::DDFilteredView
&,
DTSuperLayer
*,
const
MuonGeometryConstants
&)
const
;
56
57
using
RCPPlane
=
ReferenceCountingPointer<Plane>
;
58
59
RCPPlane
plane
(
const
cms::DDFilteredView
&,
Bounds
* bounds)
const
;
60
};
61
62
#endif
DTGeometry
Definition:
DTGeometry.h:28
MuonGeometryConstants
Definition:
MuonGeometryConstants.h:20
DTGeometryBuilderFromDD4Hep::buildLayer
DTLayer * buildLayer(cms::DDFilteredView &, DTSuperLayer *, const MuonGeometryConstants &) const
Definition:
DTGeometryBuilderFromDD4Hep.cc:127
DTChamber
Definition:
DTChamber.h:24
Bounds
Definition:
Bounds.h:18
ReferenceCountingPointer< Plane >
DTSuperLayer
Definition:
DTSuperLayer.h:24
cms::DDFilteredView
Definition:
DDFilteredView.h:70
DTGeometryBuilderFromDD4Hep::buildSuperLayer
DTSuperLayer * buildSuperLayer(cms::DDFilteredView &, DTChamber *, const MuonGeometryConstants &) const
Definition:
DTGeometryBuilderFromDD4Hep.cc:107
DDDetector.h
DTGeometryBuilderFromDD4Hep::buildGeometry
void buildGeometry(cms::DDFilteredView &, DTGeometry &, const MuonGeometryConstants &) const
Definition:
DTGeometryBuilderFromDD4Hep.cc:49
Plane.h
DDFilteredView.h
DTNumberingScheme.h
DTLayer
Definition:
DTLayer.h:25
DTGeometryBuilderFromDD4Hep::DTGeometryBuilderFromDD4Hep
DTGeometryBuilderFromDD4Hep()
Definition:
DTGeometryBuilderFromDD4Hep.h:44
DTGeometryBuilderFromDD4Hep
Definition:
DTGeometryBuilderFromDD4Hep.h:42
align::Detector
Definition:
StructureType.h:86
DTGeometryBuilderFromDD4Hep::plane
RCPPlane plane(const cms::DDFilteredView &, Bounds *bounds) const
Definition:
DTGeometryBuilderFromDD4Hep.cc:80
ReferenceCounted.h
DTGeometryBuilderFromDD4Hep::build
void build(DTGeometry &, const cms::DDDetector *, const MuonGeometryConstants &, const dd4hep::SpecParRefs &)
Definition:
DTGeometryBuilderFromDD4Hep.cc:163
dd4hep
Definition:
DDPlugins.h:8
cms::DDDetector
Definition:
DDDetector.h:12
MuonGeometryNumbering
Definition:
MuonGeometryNumbering.h:24
DTGeometryBuilderFromDD4Hep::buildChamber
DTChamber * buildChamber(cms::DDFilteredView &, const MuonGeometryConstants &) const
Definition:
DTGeometryBuilderFromDD4Hep.cc:91
Generated for CMSSW Reference Manual by
1.8.16