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