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