This package provides the base classes and cell geometry classes for calorimetry geometry. Specific implementations of the subdetector geometries can be found by following the inheritance tree of CaloSubdetectorGeometry, but most interface will be handled through the CaloGeometry class.
Generally, the ideal CaloGeometry is assembled by the CaloGeometryBuilder (in the CaloEventSetup package). To extract the geometry, one needs code similar to:
#include "Geometry/CaloGeometry/interface/CaloGeometry.h" #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h" #include "Geometry/Records/interface/IdealGeometryRecord.h" #include "FWCore/Framework/interface/ESHandle.h" ... void ...(edm::Event& e, const edm::EventSetup& es) { edm::ESHandle<CaloGeometry> pGeo; c.get<IdealGeometryRecord>().get(pGeo); const CaloGeometry* geom=pGeo.product();