CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
11 
25 {
26 public:
27 
32 
33  PreshowerStrip() ;
34 
35  PreshowerStrip( const PreshowerStrip& tr ) ;
36 
38 
40  const CornersMgr* mgr ,
41  const CCGFloat* parm ) :
42  CaloCellGeometry ( po , mgr, parm ) {initSpan();}
43 
44  virtual ~PreshowerStrip();
45 
46  virtual const CornersVec& getCorners() const ;
47 
48  CCGFloat dx() const { return param()[0] ; }
49  CCGFloat dy() const { return param()[1] ; }
50  CCGFloat dz() const { return param()[2] ; }
51  CCGFloat tilt() const { return param()[3] ; }
52 
53  virtual void vocalCorners( Pt3DVec& vec ,
54  const CCGFloat* pv ,
55  Pt3D& ref ) const
56  { localCorners( vec, pv, ref ) ; }
57 
58  static void localCorners( Pt3DVec& vec ,
59  const CCGFloat* pv ,
60  Pt3D& ref ) ;
61 
62  virtual Tr3D getTransform( Pt3DVec* /*lptr*/ ) const
63  { return Tr3D() ; }
64 };
65 
66 std::ostream& operator<<( std::ostream& s , const PreshowerStrip& cell) ;
67 
68 #endif
CaloCellGeometry::Pt3DVec Pt3DVec
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
EZArrayFL< GlobalPoint > CornersVec
CaloCellGeometry::Tr3D Tr3D
virtual const CornersVec & getCorners() const
Returns the corner points of this cell&#39;s volume.
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:187
A base class to handle the shape of preshower strips.
const CCGFloat * param() const
PreshowerStrip(const GlobalPoint &po, const CornersMgr *mgr, const CCGFloat *parm)
CCGFloat dx() const
CaloCellGeometry::CCGFloat CCGFloat
CaloCellGeometry::Pt3D Pt3D
void initSpan() const
CCGFloat tilt() const
virtual ~PreshowerStrip()
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
Definition: EZMgrFL.h:8
CCGFloat dy() const
CCGFloat dz() const
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const
virtual Tr3D getTransform(Pt3DVec *) const
PreshowerStrip & operator=(const PreshowerStrip &tr)