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