1 #ifndef DTGeometry_DTGeometry_h
2 #define DTGeometry_DTGeometry_h
63 const std::vector<const DTChamber*>&
chambers()
const;
66 const std::vector<const DTSuperLayer*>&
superLayers()
const;
69 const std::vector<const DTLayer*>&
layers()
const;
std::map< DetId, GeomDet * > DTDetMap
std::vector< GeomDetType const * > DetTypeContainer
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
virtual const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
Class to update a given geometry with a set of alignments.
virtual const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
DTGeometry()
Default constructor.
DetUnitContainer theDetUnits
DetTypeContainer theDetTypes
std::vector< const DTSuperLayer * > theSuperLayers
const DTLayer * layer(DTLayerId id) const
Return a layer given its id.
std::vector< const DTLayer * > theLayers
virtual const DetTypeContainer & detTypes() const override
Return a vector of all det types.
DetIdContainer theDetUnitIds
virtual const GeomDet * idToDet(DetId) const override
std::vector< const DTChamber * > theChambers
const DTSuperLayer * superLayer(DTSuperLayerId id) const
Return a DTSuperLayer given its id.
virtual ~DTGeometry()
Destructor.
virtual const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const std::vector< const DTLayer * > & layers() const
Return a vector of all SuperLayer.
const DTChamber * chamber(DTChamberId id) const
Return a DTChamber given its id.
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< GeomDet const * > DetContainer
std::vector< GeomDetUnit const * > DetUnitContainer
void add(DTChamber *ch)
Add a DTChamber to Geometry.
const std::vector< const DTSuperLayer * > & superLayers() const
Return a vector of all SuperLayer.
std::vector< DetId > DetIdContainer
virtual const DetUnitContainer & detUnits() const override
Returm a vector of all GeomDetUnit.