Go to the documentation of this file.
33 CaloCellGeometry::operator=(idzp);
82 std::vector<GlobalPoint> gc(8,
GlobalPoint(0, 0, 0));
86 const float z_near(
z);
87 const float z_far(
z * (1 - 2 *
dz /
p.mag()));
97 for (
unsigned int i(0);
i != 8; ++
i) {
101 ref = 0.25 * (lc[0] + lc[1] + lc[2] + lc[3]);
105 if (
co.uninitialized()) {
110 const CCGFloat z_far(z_near + 2 *
dz() *
p.z() / fabs(
p.z()));
118 corners[4] =
GlobalPoint(corners[0].
x(), corners[0].
y(), z_far);
119 corners[5] =
GlobalPoint(corners[1].
x(), corners[1].
y(), z_far);
120 corners[6] =
GlobalPoint(corners[2].
x(), corners[2].
y(), z_far);
121 corners[7] =
GlobalPoint(corners[3].
x(), corners[3].
y(), z_far);
127 s <<
"dEta = " << cell.
dEta() <<
", dPhi = " << cell.
dPhi() <<
", dz = " << cell.
dz() << std::endl;
std::vector< Pt3D > Pt3DVec
static GlobalPoint etaPhiZ(float eta, float phi, float z)
static constexpr uint32_t k_dEta
void initCorners(CornersVec &) override
static constexpr uint32_t k_dZ
std::ostream & operator<<(std::ostream &s, const IdealZPrism &cell)
Global3DVector GlobalVector
T perp() const
Magnitude of transverse component.
CaloCellGeometry::CCGFloat CCGFloat
static GlobalPoint etaPhiR(float eta, float phi, float rad)
Global3DPoint GlobalPoint
static constexpr uint32_t k_Z
IdealZPrism::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
static constexpr uint32_t k_dPhi
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
const CCGFloat * param() const
static constexpr uint32_t k_Eta
std::unique_ptr< IdealZPrism > m_geoForPF
IdealZPrism & operator=(const IdealZPrism &idzp)
CaloCellGeometry::Pt3D Pt3D
static GlobalPoint etaPhiPerp(float eta, float phi, float perp)
CaloCellGeometry::Pt3DVec Pt3DVec
IdealZPrism::CCGFloat CCGFloat
std::shared_ptr< const IdealZPrism > forPF() const