1 #ifndef GeometryHGCalGeometryHGCalTBGeometry_h 2 #define GeometryHGCalGeometryHGCalTBGeometry_h 62 std::shared_ptr<const CaloCellGeometry>
getGeometry(
const DetId&
id)
const override;
120 std::shared_ptr<const CaloCellGeometry>
cellGeomPtr(uint32_t
index)
const override;
CornersVec getNewCorners(const DetId &id, bool debug=false) const
static std::string dbString()
CaloCellGeometry::Pt3DVec Pt3DVec
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.
std::vector< CCGFloat > DimVec
static constexpr unsigned int k_NumberOfParametersPerHex
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
double getArea(const DetId &detid) const
Returns area of a cell.
static constexpr double k_fac1
unsigned int getClosestCellIndex(const GlobalPoint &r) const
static constexpr double k_half
std::vector< unsigned int > IVec
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
std::vector< CCGFloat > TrVec
std::vector< GlobalPoint > CornersVec
std::vector< Pt3D > Pt3DVec
static constexpr unsigned int k_NumberOfShapesTrd
static constexpr unsigned int k_NumberOfParametersPerTrd
ForwardSubdetector m_subdet
static constexpr double k_fac2
PHGCalRcd PGeometryRecord
void addValidID(const DetId &id)
HGCalGeometryRecord AlignedRecord
DetId getClosestCell(const GlobalPoint &r) const override
std::set< DetId > DetIdSet
std::string cellElement() const
std::vector< DetId > m_validIds
CaloCellGeometry::CCGFloat CCGFloat
DetId getGeometryDetId(DetId detId) const
CaloCellGeometry::Pt3D Pt3D
HGCalTBGeometry(const HGCalTBTopology &topology)
DetIdSet getCells(const GlobalPoint &r, double dR) const override
Get a list of all cells within a dR of the given cell.
std::shared_ptr< const CaloCellGeometry > cellGeomPtr(uint32_t index) const override
CaloCellGeometry::Pt3D Pt3D
std::vector< FlatHexagon > CellVec
virtual void fillNamedParams(DDFilteredView fv)
CornersVec get8Corners(const DetId &id) const
const HGCalTBTopology & topology() const
const std::vector< DetId > & getValidGeomDetIds(void) const
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
~HGCalTBGeometry() override
const HGCalTBTopology & m_topology
GlobalPoint getPosition(const DetId &id, bool debug=false) const
CornersVec getCorners(const DetId &id) const
Returns the corner points of this cell's volume.
std::vector< DetId > m_validGeomIds
static constexpr unsigned int k_NumberOfParametersPerShape
unsigned int indexFor(const DetId &id) const override
GlobalPoint getWaferPosition(const DetId &id) const
void initializeParms() override
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)
std::vector< FlatTrd > CellVec2
DetId neighborZ(const DetId &idin, const GlobalVector &p) const
static constexpr unsigned int k_NumberOfShapes
static std::string producerTag()
CaloCellGeometry::CCGFloat CCGFloat
bool present(const DetId &id) const override
is this detid present in the geometry?
unsigned int sizeForDenseIndex() const
void getSummary(CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const override
void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
virtual unsigned int sizeForDenseIndex(const DetId &id) const