Go to the documentation of this file.
17 CaloCellGeometry::operator=(tr);
32 for (
unsigned int ix(0); ix != 2; ++ix) {
33 const double sx(0 == ix ? -1.0 : +1.0);
34 for (
unsigned int iy(0); iy != 2; ++iy) {
35 const double sy(0 == iy ? -1.0 : +1.0);
36 for (
unsigned int iz(0); iz != 2; ++iz) {
37 const double sz(0 == iz ? -1.0 : +1.0);
38 const unsigned int i(4 * iz + 2 * ix + (1 == ix ? 1 - iy : iy));
43 dy() >
dx() ?
z + sz *
dz() * ct +
sy *
dy() * st :
z + sz *
dz() * ct +
sx *
dx() * st);
52 if (cell.
param() !=
nullptr) {
53 s <<
"dx = " << cell.
dx() <<
", dy = " << cell.
dy() <<
", dz = " << cell.
dz() << std::endl;
56 for (
unsigned int ci(0); ci != corners.size(); ci++) {
57 s <<
"Corner: " << corners[ci] << std::endl;
60 s <<
" with empty parameters." << std::endl;
std::vector< Pt3D > Pt3DVec
~PreshowerStrip() override
PreshowerStrip::Tr3D Tr3D
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
CaloCellGeometry::Tr3D Tr3D
void initCorners(CaloCellGeometry::CornersVec &) override
Sin< T >::type sin(const T &t)
PreshowerStrip & operator=(const PreshowerStrip &tr)
PreshowerStrip::CCGFloat CCGFloat
CaloCellGeometry::Pt3DVec Pt3DVec
CaloCellGeometry::CCGFloat CCGFloat
PreshowerStrip::Pt3DVec Pt3DVec
Cos< T >::type cos(const T &t)
std::ostream & operator<<(std::ostream &s, const PreshowerStrip &cell)
Global3DPoint GlobalPoint
HepGeom::Point3D< CCGFloat > Pt3D
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
const CCGFloat * param() const
PreshowerStrip::Pt3D Pt3D
A base class to handle the shape of preshower strips.
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
bool uninitialized() const
CaloCellGeometry::Pt3D Pt3D