CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Geometry/TrackerGeometryBuilder/interface/GluedGeomDet.h

Go to the documentation of this file.
00001 #ifndef Geometry_TrackerGeometryBuilder_GluedGeomDet_H
00002 #define Geometry_TrackerGeometryBuilder_GluedGeomDet_H
00003 
00004 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00005 #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
00006 #include "DataFormats/DetId/interface/DetId.h"
00007 
00008 class GluedGeomDet : public GeomDet{
00009 public:
00010 
00011   GluedGeomDet( BoundPlane* sp, const GeomDetUnit* monoDet,  const GeomDetUnit* stereoDet);
00012   
00013   virtual ~GluedGeomDet();
00014 
00015   virtual std::vector<const GeomDet*> components() const;
00016 
00017   // Which subdetector
00018   virtual SubDetector subDetector() const {return theMonoDet->subDetector();}
00019 
00020   const GeomDetUnit* monoDet() const { return theMonoDet;}
00021   const GeomDetUnit* stereoDet() const { return theStereoDet;}
00022 
00023 private:
00024   const GeomDetUnit* theMonoDet;
00025   const GeomDetUnit* theStereoDet;  
00026   std::vector<const GeomDet*> child;
00027 };
00028 
00029 #endif