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