Geometry
CommonTopologies
interface
GluedGeomDet.h
Go to the documentation of this file.
1
#ifndef Geometry_TrackerGeometryBuilder_GluedGeomDet_H
2
#define Geometry_TrackerGeometryBuilder_GluedGeomDet_H
3
4
#include "
Geometry/CommonTopologies/interface/TrackerGeomDet.h
"
5
#include "
DataFormats/DetId/interface/DetId.h
"
6
7
class
GluedGeomDet
final :
public
TrackerGeomDet
{
8
public
:
9
GluedGeomDet
(
BoundPlane
* sp,
const
GeomDetUnit
*
monoDet
,
const
GeomDetUnit
*
stereoDet
,
DetId
gluedDetId);
10
11
~GluedGeomDet
()
override
;
12
13
bool
isLeaf
()
const override
{
return
false
; }
14
std::vector<const GeomDet*>
components
()
const override
;
15
16
// Which subdetector
17
SubDetector
subDetector
()
const override
{
return
theMonoDet
->
subDetector
(); }
18
19
const
GeomDetUnit
*
monoDet
()
const
{
return
theMonoDet
; }
20
const
GeomDetUnit
*
stereoDet
()
const
{
return
theStereoDet
; }
21
22
private
:
23
const
GeomDetUnit
*
theMonoDet
;
24
const
GeomDetUnit
*
theStereoDet
;
25
};
26
27
#endif
GeomDetEnumerators::SubDetector
SubDetector
Definition:
GeomDetEnumerators.h:10
GeomDet
Definition:
GeomDet.h:27
TrackerGeomDet
Definition:
TrackerGeomDet.h:6
GluedGeomDet::GluedGeomDet
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, DetId gluedDetId)
Definition:
GluedGeomDet.cc:3
GluedGeomDet::monoDet
const GeomDetUnit * monoDet() const
Definition:
GluedGeomDet.h:19
TrackerGeomDet.h
GluedGeomDet::theMonoDet
const GeomDetUnit * theMonoDet
Definition:
GluedGeomDet.h:23
DetId
Definition:
DetId.h:17
GluedGeomDet::theStereoDet
const GeomDetUnit * theStereoDet
Definition:
GluedGeomDet.h:24
GluedGeomDet
Definition:
GluedGeomDet.h:7
GluedGeomDet::~GluedGeomDet
~GluedGeomDet() override
Definition:
GluedGeomDet.cc:11
GluedGeomDet::components
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
Definition:
GluedGeomDet.cc:13
GluedGeomDet::isLeaf
bool isLeaf() const override
is a Unit
Definition:
GluedGeomDet.h:13
GluedGeomDet::stereoDet
const GeomDetUnit * stereoDet() const
Definition:
GluedGeomDet.h:20
DetId.h
BoundPlane
GluedGeomDet::subDetector
SubDetector subDetector() const override
Which subdetector.
Definition:
GluedGeomDet.h:17
GeomDet::subDetector
virtual SubDetector subDetector() const
Which subdetector.
Definition:
GeomDet.cc:38
Generated for CMSSW Reference Manual by
1.8.16