1 #ifndef GeometryHGCalGeometryFastTimeGeometry_h 2 #define GeometryHGCalGeometryFastTimeGeometry_h 47 void localCorners(Pt3DVec& lc,
const CCGFloat*
pv,
unsigned int i, Pt3D& ref);
53 const DetId& detId)
override;
56 std::shared_ptr<const CaloCellGeometry>
getGeometry(
const DetId&
id)
const override;
103 std::shared_ptr<const CaloCellGeometry>
cellGeomPtr(uint32_t index)
const override;
void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
std::set< DetId > DetIdSet
A base class to handle the particular shape of HGCal volumes.
std::vector< CCGFloat > DimVec
DetId getClosestCell(const GlobalPoint &r) const override
std::vector< GlobalPoint > CornersVec
CaloCellGeometry::Pt3DVec Pt3DVec
void getSummary(CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const override
CaloCellGeometry::CCGFloat CCGFloat
static std::string dbString()
std::vector< unsigned int > IVec
virtual void fillNamedParams(DDFilteredView fv)
const FastTimeTopology & topology() const
void addValidID(const DetId &id)
std::vector< CCGFloat > TrVec
std::vector< Pt3D > Pt3DVec
FastTimeGeometryRecord AlignedRecord
GlobalPoint getPosition(const DetId &id) const
CaloCellGeometry::Pt3D Pt3D
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)
FastTimeGeometry(const FastTimeTopology &topology)
PFastTimeRcd PGeometryRecord
DetIdSet getCells(const GlobalPoint &r, double dR) const override
Get a list of all cells within a dR of the given cell.
~FastTimeGeometry() override
std::vector< FlatTrd > CellVec
std::string cellElement() const
std::vector< DetId > m_validIds
bool present(const DetId &id) const override
is this detid present in the geometry?
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.
unsigned int indexFor(const DetId &id) const override
void initializeParms() override
HepGeom::Point3D< CCGFloat > Pt3D
static std::string producerTag()
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
std::shared_ptr< const CaloCellGeometry > cellGeomPtr(uint32_t index) const override
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
ForwardSubdetector m_subdet
virtual unsigned int sizeForDenseIndex(const DetId &id) const
const std::vector< DetId > & getValidGeomDetIds(void) const
std::vector< DetId > m_validGeomIds
unsigned int sizeForDenseIndex() const
const FastTimeTopology & m_topology
CornersVec getCorners(const DetId &id) const
Returns the corner points of this cell's volume.