CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
10  GluedGeomDet( BoundPlane* sp, const GeomDetUnit* monoDet, const GeomDetUnit* stereoDet, const DetId gluedDetId);
11 
12  virtual ~GluedGeomDet();
13 
14  bool isLeaf() const override { return false;}
15  virtual std::vector<const GeomDet*> components() const;
16 
17  // Which subdetector
18  virtual SubDetector subDetector() const {return theMonoDet->subDetector();}
19 
20  const GeomDetUnit* monoDet() const { return theMonoDet;}
21  const GeomDetUnit* stereoDet() const { return theStereoDet;}
22 
23 private:
26 };
27 
28 #endif
const GeomDetUnit * monoDet() const
Definition: GluedGeomDet.h:20
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, const DetId gluedDetId)
Definition: GluedGeomDet.cc:3
virtual SubDetector subDetector() const
Which subdetector.
Definition: GluedGeomDet.h:18
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GluedGeomDet.cc:11
virtual ~GluedGeomDet()
Definition: GluedGeomDet.cc:8
bool isLeaf() const override
is a Unit
Definition: GluedGeomDet.h:14
Definition: DetId.h:18
Definition: sp.h:21
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDet.cc:44
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25
const GeomDetUnit * stereoDet() const
Definition: GluedGeomDet.h:21