1 #ifndef GeometryHGCalGeometryHGCalGeometry_h 2 #define GeometryHGCalGeometryHGCalGeometry_h 66 const CCGFloat* parm ,
67 const DetId& detId )
override;
70 std::shared_ptr<const CaloCellGeometry>
getGeometry(
const DetId&
id )
const override;
124 std::shared_ptr<const CaloCellGeometry>
cellGeomPtr(uint32_t index)
const override;
std::vector< DetId > m_validGeomIds
HGCalGeometryMode::GeometryMode mode_
std::vector< CCGFloat > DimVec
std::vector< FlatHexagon > CellVec
std::string cellElement() const
std::shared_ptr< const CaloCellGeometry > cellGeomPtr(uint32_t index) const override
unsigned int sizeForDenseIndex() const
unsigned int getClosestCellIndex(const GlobalPoint &r) const
DetId neighborZ(const DetId &idin, const GlobalVector &p) const
const HGCalTopology & m_topology
static std::string producerTag()
~HGCalGeometry() override
std::vector< unsigned int > IVec
const std::vector< DetId > & getValidGeomDetIds(void) const
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< Pt3D > Pt3DVec
CornersVec getCorners(const DetId &id) const
Returns the corner points of this cell's volume.
CaloCellGeometry::Pt3DVec Pt3DVec
HGCalGeometry(const HGCalTopology &topology)
static unsigned int k_NumberOfShapes
void initializeParms() override
static unsigned int k_NumberOfParametersPerHex
std::vector< DetId > m_validIds
const HGCalTopology & topology() const
static std::string dbString()
static unsigned int k_NumberOfShapesTrd
std::set< DetId > DetIdSet
CornersVec get8Corners(const DetId &id) const
static unsigned int k_NumberOfParametersPerTrd
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)
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)
ForwardSubdetector m_subdet
std::vector< FlatTrd > CellVec2
DetId getClosestCell(const GlobalPoint &r) const override
CornersVec getNewCorners(const DetId &id) const
void getSummary(CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const override
HepGeom::Point3D< CCGFloat > Pt3D
std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const override
Get the cell geometry of a given detector id. Should return false if not found.
static unsigned int k_NumberOfParametersPerShape
CaloCellGeometry::Pt3D Pt3D
PHGCalRcd PGeometryRecord
virtual void fillNamedParams(DDFilteredView fv)
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
void addValidID(const DetId &id)
virtual unsigned int sizeForDenseIndex(const DetId &id) const
unsigned int indexFor(const DetId &id) const override
bool present(const DetId &id) const override
is this detid present in the geometry?
DetId getGeometryDetId(DetId detId) const
CaloCellGeometry::CCGFloat CCGFloat