21 for (
auto & theChamber :
theChambers)
delete theChamber;
96 DTDetMap::const_iterator
i =
theMap.find(lId);
97 return (i !=
theMap.end()) ?
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
~DTGeometry() override
Destructor.
const DTChamber * chamber(const DTChamberId &id) const
Return a DTChamber given its id.
DTGeometry()
Default constructor.
DetTypeContainer theDetTypes
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
std::vector< const DTSuperLayer * > theSuperLayers
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
std::vector< const DTLayer * > theLayers
Container::value_type value_type
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
DetIdContainer theDetUnitIds
DetId geographicalId() const
The label of this GeomDet.
std::vector< const DTChamber * > theChambers
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const std::vector< const DTLayer * > & layers() const
Return a vector of all SuperLayer.
std::vector< DetId > DetIdContainer
std::vector< const GeomDet * > DetContainer
const GeomDet * idToDet(DetId) const override
const DTLayer * layer(const DTLayerId &id) const
Return a layer given its id.
void add(DTChamber *ch)
Add a DTChamber to Geometry.
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
std::vector< const GeomDetType * > DetTypeContainer
const std::vector< const DTSuperLayer * > & superLayers() const
Return a vector of all SuperLayer.
const DTSuperLayer * superLayer(const DTSuperLayerId &id) const
Return a DTSuperLayer given its id.