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