Go to the documentation of this file.
26 for (std::vector<const DTSuperLayer*>::const_iterator isl =
theSLs.begin(); isl !=
theSLs.end(); ++isl)
39 return std::vector<const GeomDet*>(
theSLs.begin(),
theSLs.end());
44 if (lId.
layer() == 0) {
54 if (
id.chamberId() !=
theId)
60 for (
auto theSL :
theSLs) {
61 if (theSL->id().superLayer() == isl)
DTChamberId id() const
Return the DTChamberId of this chamber.
const DTLayer * layer(const DTLayerId &id) const
Return the layer corresponding to the given id.
~DTChamber() override
Destructor.
const GeomDet * component(DetId id) const override
Return the sub-component (SL or layer) with a given id in this chamber.
void add(DTSuperLayer *sl)
Add SL to the chamber which takes ownership.
DTChamber(const DTChamberId &id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
std::vector< const GeomDet * > components() const override
Return the superlayers in the chamber.
std::vector< const DTSuperLayer * > theSLs
const std::vector< const DTSuperLayer * > & superLayers() const
Return the superlayers in the chamber.
bool operator==(const DTChamber &ch) const
equal if the id is the same
const DTSuperLayer * superLayer(const DTSuperLayerId &id) const
Return the superlayer corresponding to the given id.
int layer() const
Return the layer number.