45 mapIdToDet::const_iterator
i =
theMap.find(
id);
46 return (i !=
theMap.end()) ?
72 theDets.push_back(etaPartition);
79 theMap.insert(std::pair<DetId,const GeomDetUnit*>
std::vector< GeomDetType const * > DetTypeContainer
std::vector< const GEMEtaPartition * > allEtaPartitions
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
DetIdContainer theEtaPartitionIds
virtual const GeomDet * idToDet(DetId) const override
virtual const DetTypeContainer & detTypes() const override
Return a vector of all det types.
virtual const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
virtual const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
GEMGeometry()
Default constructor.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return a etaPartition given its id.
virtual ~GEMGeometry()
Destructor.
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM chambers.
DetId geographicalId() const
The label of this GeomDet.
void add(GEMEtaPartition *etaPartition)
Add a GEM etaPartition to the Geometry.
DetUnitContainer theEtaPartitions
Add a GEM Chamber to the Geometry.
virtual const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
virtual const DetUnitContainer & detUnits() const override
Returm a vector of all GeomDetUnit.
DetTypeContainer theEtaPartitionTypes
std::vector< GeomDet const * > DetContainer
std::vector< GeomDetUnit const * > DetUnitContainer
std::vector< DetId > DetIdContainer