CMS 3D CMS Logo

BeamSpotGeomDet.h
Go to the documentation of this file.
1 #ifndef BeamSpotGeomDet_H
2 #define BeamSpotGeomDet_H
3 
16 #include <iostream>
17 
19 
21 
22 class BeamSpotGeomDet : public GeomDet {
23 public:
25 
28  }
29 
30  ~BeamSpotGeomDet() override {}
31 
32  SubDetector subDetector() const override { return GeomDetEnumerators::invalidDet; }
33 
34  std::vector<const GeomDet*> components() const override { return std::vector<const GeomDet*>(); }
35 };
36 
37 #endif
SubDetector subDetector() const override
Which subdetector.
void setDetId(DetId id)
Definition: GeomDet.h:120
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
BeamSpotGeomDet(const ReferenceCountingPointer< BoundPlane > &plane)
static const DetId detId()
GeomDetEnumerators::SubDetector SubDetector
~BeamSpotGeomDet() override