Go to the documentation of this file.
25 mapIdToDet::const_iterator
i =
theMap.find(
id);
26 return (
i !=
theMap.end()) ?
i->second :
nullptr;
36 return dynamic_cast<const ME0EtaPartition*>(
idToDetUnit(
id));
40 return dynamic_cast<const ME0Layer*>(
idToDetUnit(
id.layerId()));
44 return dynamic_cast<const ME0Chamber*>(
idToDetUnit(
id.chamberId()));
const std::vector< ME0EtaPartition const * > & etaPartitions() const
Return a vector of all ME0 eta partitions.
~ME0Geometry() override
Destructor.
DetContainer theEtaPartitions
const GeomDetType & type() const override
ME0Geometry()
Default constructor.
virtual const GeomDetType & type() const
DetTypeContainer theEtaPartitionTypes
const GeomDet * idToDet(DetId) const override
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
const std::vector< const ME0Chamber * > & chambers() const
Return a vector of all ME0 chambers.
std::vector< ME0EtaPartition const * > allEtaPartitions
const ME0Chamber * chamber(ME0DetId id) const
Return a chamber given its id.
std::vector< const GeomDetType * > DetTypeContainer
DetIdContainer theEtaPartitionIds
std::vector< DetId > DetIdContainer
DetId geographicalId() const
The label of this GeomDet.
std::vector< const GeomDet * > DetContainer
std::vector< ME0Chamber const * > allChambers
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
void add(ME0EtaPartition *etaPartition)
Add a ME0 etaPartition to the Geometry.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return a etaPartition given its id.
std::vector< ME0Layer const * > allLayers
const std::vector< const ME0Layer * > & layers() const
Return a vector of all ME0 layers.
const ME0Layer * layer(ME0DetId id) const
Return a layer given its id.