1 #ifndef DTGeometry_DTChamber_h
2 #define DTGeometry_DTChamber_h
45 std::vector<const GeomDet*>
components()
const override;
51 const std::vector<const DTSuperLayer*>&
superLayers()
const;
67 std::vector<const DTSuperLayer*>
theSLs;
const DTSuperLayer * superLayer(const DTSuperLayerId &id) const
Return the superlayer corresponding to the given id.
const DTLayer * layer(const DTLayerId &id) const
Return the layer corresponding to the given id.
const GeomDet * component(DetId id) const override
Return the sub-component (SL or layer) with a given id in this chamber.
bool operator==(const DTChamber &ch) const
equal if the id is the same
const std::vector< const DTSuperLayer * > & superLayers() const
Return the superlayers in the chamber.
DTChamberId id() const
Return the DTChamberId of this chamber.
std::vector< const GeomDet * > components() const override
Return the superlayers in the chamber.
std::vector< const DTSuperLayer * > theSLs
~DTChamber() override
Destructor.
void add(DTSuperLayer *sl)
Add SL to the chamber which takes ownership.
DTChamber(const DTChamberId &id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
SubDetector subDetector() const override
Which subdetector.