Go to the documentation of this file.
2 #include "CLHEP/Geometry/Plane3D.h"
3 #include "CLHEP/Geometry/Transform3D.h"
17 CaloCellGeometry::operator=(idct);
80 ref = 0.25 * (lc[0] + lc[1] + lc[2] + lc[3]);
86 const CCGFloat zsign(0 <
p.z() ? 1. : -1.);
92 const Pt3D lb(lf.x(), lf.y(), lf.z() - 2. *
dz());
93 const Pt3D ls(lf.x() -
dx(), lf.y(), lf.z());
96 const Pt3D gb(
gf.x(),
gf.y(),
gf.z() + 2. * zsign *
dz());
104 for (
unsigned int i(0);
i != 8; ++
i) {
105 const Pt3D gl(tr * lc[
i]);
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
CaloCellGeometry::CCGFloat CCGFloat
void initCorners(CornersVec &) override
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
Global3DPoint GlobalPoint
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
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
~IdealCastorTrapezoid() override
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
std::ostream & operator<<(std::ostream &s, const IdealCastorTrapezoid &cell)
CaloCellGeometry::Pt3D Pt3D
CaloCellGeometry::Pt3D Pt3D
CaloCellGeometry::Tr3D Tr3D
IdealCastorTrapezoid & operator=(const IdealCastorTrapezoid &idct)
bool uninitialized() const