1 #ifndef GeometryHGCalGeometryHGCalGeometry_h
2 #define GeometryHGCalGeometryHGCalGeometry_h
std::vector< DetId > m_validGeomIds
virtual const CaloCellGeometry * cellGeomPtr(uint32_t index) const
A base class to handle the particular shape of HGCal volumes.
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
std::string cellElement() const
virtual unsigned int sizeForDenseIndex() const
unsigned int getClosestCellIndex(const GlobalPoint &r) const
static std::string producerTag()
std::vector< GlobalPoint > CornersVec
GlobalPoint getPosition(const DetId &id) const
std::vector< FlatTrd > CellVec
std::vector< Pt3D > Pt3DVec
CornersVec getCorners(const DetId &id) const
Returns the corner points of this cell's volume.
virtual void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId)
CaloCellGeometry::Pt3DVec Pt3DVec
HGCalGeometry(const HGCalTopology &topology)
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
const HGCalTopology & mTopology
std::vector< DetId > m_validIds
const HGCalTopology & topology() const
std::set< DetId > DetIdSet
CaloCellGeometry::CCGFloat CCGFloat
virtual unsigned int indexFor(const DetId &id) const
ForwardSubdetector m_subdet
HepGeom::Point3D< CCGFloat > Pt3D
CaloCellGeometry::Pt3D Pt3D
virtual void fillNamedParams(DDFilteredView fv)
virtual void initializeParms()
void addValidID(const DetId &id)
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
virtual DetId getClosestCell(const GlobalPoint &r) const
CaloCellGeometry::CCGFloat CCGFloat