1 #ifndef GEOMETRY_CALOGEOMETRY_CALOGEOMETRY_H 2 #define GEOMETRY_CALOGEOMETRY_CALOGEOMETRY_H 1 55 std::vector<const CaloSubdetectorGeometry*>
m_geos;
std::vector< const CaloSubdetectorGeometry * > m_geos
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id.
unsigned int makeIndex(DetId::Detector det, int subdet, bool &ok) const
static const std::vector< DetId > k_emptyVec
void setSubdetGeometry(DetId::Detector det, int subdet, const CaloSubdetectorGeometry *geom)
Register a subdetector geometry.
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
bool present(const DetId &id) const
is this detid present in the geometry?
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly