File indexing completed on 2024-04-06 11:57:20
0001 #ifndef BeamSpotGeomDet_H
0002 #define BeamSpotGeomDet_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <iostream>
0017
0018 #include "Alignment/CommonAlignment/interface/AlignableBeamSpot.h"
0019
0020 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
0021
0022 class BeamSpotGeomDet : public GeomDet {
0023 public:
0024 typedef GeomDetEnumerators::SubDetector SubDetector;
0025
0026 explicit BeamSpotGeomDet(const ReferenceCountingPointer<BoundPlane>& plane) : GeomDet(plane) {
0027 setDetId(AlignableBeamSpot::detId());
0028 }
0029
0030 ~BeamSpotGeomDet() override {}
0031
0032 SubDetector subDetector() const override { return GeomDetEnumerators::invalidDet; }
0033
0034 std::vector<const GeomDet*> components() const override { return std::vector<const GeomDet*>(); }
0035 };
0036
0037 #endif