CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PreshowerStrip.h
Go to the documentation of this file.
1 #ifndef PreshowerStrip_h
2 #define PreshowerStrip_h
3 
5 #include <CLHEP/Geometry/Point3D.h>
6 #include <CLHEP/Geometry/Plane3D.h>
7 #include <CLHEP/Geometry/Vector3D.h>
8 #include <CLHEP/Geometry/Transform3D.h>
9 #include <vector>
10 
22 public:
27 
29 
30  PreshowerStrip(const PreshowerStrip& tr);
31 
33 
34  PreshowerStrip(const GlobalPoint& po, CornersMgr* mgr, const CCGFloat* parm) : CaloCellGeometry(po, mgr, parm) {
35  initSpan();
36  }
37 
38  ~PreshowerStrip() override;
39 
40  CCGFloat dx() const { return param()[0]; }
41  CCGFloat dy() const { return param()[1]; }
42  CCGFloat dz() const { return param()[2]; }
43  CCGFloat tilt() const { return param()[3]; }
44 
45  void vocalCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref) const override { localCorners(vec, pv, ref); }
46 
47  static void localCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref);
48 
49  void getTransform(Tr3D& tr, Pt3DVec* /*lptr*/) const override {}
50 
51 private:
53 };
54 
55 std::ostream& operator<<(std::ostream& s, const PreshowerStrip& cell);
56 
57 #endif
CaloCellGeometry::Pt3DVec Pt3DVec
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
void getTransform(Tr3D &tr, Pt3DVec *) const override
--------— only needed by specific utility; overloaded when needed -—
CaloCellGeometry::Tr3D Tr3D
CaloCellGeometry::Pt3D Pt3D
CaloCellGeometry::CCGFloat CCGFloat
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
void initCorners(CaloCellGeometry::CornersVec &) override
A base class to handle the shape of preshower strips.
const CCGFloat * param() const
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
CCGFloat dx() const
CaloCellGeometry::CCGFloat CCGFloat
CaloCellGeometry::Pt3D Pt3D
CCGFloat tilt() const
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
Definition: EZMgrFL.h:8
CCGFloat dy() const
CCGFloat dz() const
PreshowerStrip(const GlobalPoint &po, CornersMgr *mgr, const CCGFloat *parm)
~PreshowerStrip() override
PreshowerStrip & operator=(const PreshowerStrip &tr)