1 #ifndef GEOMETRY_CALOGEOMETRY_CALOGEOMETRY_H 2 #define GEOMETRY_CALOGEOMETRY_CALOGEOMETRY_H 1 54 std::vector<const CaloSubdetectorGeometry*>
m_geos;
static constexpr int kNSubDets
std::vector< const CaloSubdetectorGeometry * > m_geos
static constexpr int kLength
static constexpr int kMaxDet
static constexpr int kNDets
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
unsigned int makeIndex(DetId::Detector det, int subdet, bool &ok) const
static const std::vector< DetId > k_emptyVec
static constexpr int kMaxSub
CaloCellGeometryMayOwnPtr getGeometry(const DetId &id) const
Get the cell geometry of a given detector id.
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
static constexpr int kMinDet