CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/Alignment/ReferenceTrajectories/interface/BeamSpotGeomDet.h

Go to the documentation of this file.
00001 #ifndef BeamSpotGeomDet_H
00002 #define BeamSpotGeomDet_H
00003 
00016 #include <iostream>
00017 
00018 #include "Alignment/CommonAlignment/interface/AlignableBeamSpot.h"
00019 
00020 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00021 
00022 class BeamSpotGeomDet : public GeomDet {
00023  public:
00024 
00025   typedef GeomDetEnumerators::SubDetector SubDetector;
00026   
00027   explicit BeamSpotGeomDet(const ReferenceCountingPointer<BoundPlane>& plane)
00028     :GeomDet(plane) {
00029     setDetId(AlignableBeamSpot::detId());
00030   }
00031 
00032   virtual ~BeamSpotGeomDet() { }
00033 
00034   virtual SubDetector subDetector() const {
00035     return GeomDetEnumerators::invalidDet;
00036   }
00037 
00038   virtual std::vector< const GeomDet*> components() const {
00039     return std::vector< const GeomDet*>();
00040   }
00041 };
00042 
00043 #endif
00044