1 #ifndef GeometryHGCalGeometryHGCalGeometry_h
2 #define GeometryHGCalGeometryHGCalGeometry_h
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.
CaloCellGeometry::Pt3DVec Pt3DVec
HGCalGeometry(const HGCalTopology &topology)
virtual DetId getClosestCell(const GlobalPoint &r) const override
virtual void initializeParms() override
std::vector< DetId > m_validIds
const HGCalTopology & topology() const
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)
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const override
Get a list of all cells within a dR of the given cell.
static std::string dbString()
virtual unsigned int indexFor(const DetId &id) const override
std::set< DetId > DetIdSet
CaloCellGeometry::CCGFloat CCGFloat
virtual void getSummary(CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const
void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
CaloCellGeometry::Pt3D Pt3D
ForwardSubdetector m_subdet
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
CaloCellGeometry::Pt3D Pt3D
PHGCalRcd PGeometryRecord
virtual const CaloCellGeometry * cellGeomPtr(uint32_t index) const override
virtual void fillNamedParams(DDFilteredView fv)
virtual const CaloCellGeometry * getGeometry(const DetId &id) const override
Get the cell geometry of a given detector id. Should return false if not found.
void addValidID(const DetId &id)
CaloCellGeometry::CCGFloat CCGFloat