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