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 
7 
8 class GluedGeomDet : public GeomDet{
9 public:
10 
12 
13  virtual ~GluedGeomDet();
14 
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  std::vector<const GeomDet*> child;
27 };
28 
29 #endif
const GeomDetUnit * monoDet() const
Definition: GluedGeomDet.h:20
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet)
Definition: GluedGeomDet.cc:4
virtual SubDetector subDetector() const
Which subdetector.
Definition: GluedGeomDet.h:18
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
std::vector< const GeomDet * > child
Definition: GluedGeomDet.h:26
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GluedGeomDet.cc:15
virtual ~GluedGeomDet()
Definition: GluedGeomDet.cc:12
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDetUnit.cc:14
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25
const GeomDetUnit * stereoDet() const
Definition: GluedGeomDet.h:21