30 for (std::vector<const DTLayer*>::const_iterator il=
theLayers.begin();
69 if (
id.superlayerId()!=
theId)
return nullptr;
74 if ((ilay>=1) && (ilay<=4)) {
DTLayerId id() const
Return the DetId of this SL.
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.
const GeomDet * component(DetId id) const override
Return the layer with a given id in this SL.
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 DTLayer * > theLayers
std::vector< const GeomDet * > components() const override
Return the layers in the SL.
DTSuperLayer(const DTSuperLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTChamber *ch=0)