43 std::vector<const GeomDet*>
components()
const override;
49 const std::vector<const DTLayer*>&
layers()
const;
73 #endif // DTSUPERLAYER_H SubDetector subDetector() const override
Which subdetector.
std::vector< const DTLayer * > theLayers
void add(DTLayer *l)
Add layer to the SL which owns it.
const std::vector< const DTLayer * > & layers() const
Return the layers in the SL.
const DTChamber * chamber() const
DTSuperLayer(const DTSuperLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTChamber *ch=nullptr)
const DTLayer * layer(const DTLayerId &id) const
Return the layer corresponding to the given id.
const GeomDet * component(DetId id) const override
Return the layer with a given id in this SL.
bool operator==(const DTSuperLayer &sl) const
True if id are the same.
DTSuperLayerId id() const
Return the DetId of this SL.
std::vector< const GeomDet * > components() const override
Return the layers in the SL.