28 for (std::vector<const DTLayer*>::const_iterator il =
theLayers.begin(); il !=
theLayers.end(); ++il)
55 if (
id.superlayerId() !=
theId)
61 if ((ilay >= 1) && (ilay <= 4)) {
DTLayerId id() const
Return the DetId of this SL.
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.
int layer() const
Return the layer number.
DTSuperLayerId id() const
Return the DetId of this SL.
DTSuperLayer(const DTSuperLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTChamber *ch=nullptr)
const std::vector< const DTLayer * > & layers() const
Return the layers in the SL.
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.
const DTChamber * chamber() const
std::vector< const GeomDet * > components() const override
Return the layers in the SL.