CMS 3D CMS Logo

GluedGeomDet.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerGeometryBuilder_GluedGeomDet_H
2 #define Geometry_TrackerGeometryBuilder_GluedGeomDet_H
3 
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:
25 };
26 
27 #endif
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, DetId gluedDetId)
Definition: GluedGeomDet.cc:3
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
Definition: GluedGeomDet.cc:13
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:23
~GluedGeomDet() override
Definition: GluedGeomDet.cc:11
const GeomDetUnit * monoDet() const
Definition: GluedGeomDet.h:19
bool isLeaf() const override
is a Unit
Definition: GluedGeomDet.h:13
Definition: DetId.h:17
const GeomDetUnit * stereoDet() const
Definition: GluedGeomDet.h:20
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDet.cc:38
SubDetector subDetector() const override
Which subdetector.
Definition: GluedGeomDet.h:17
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:24