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