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 
26 {
27  public:
28 
30  const CornersMgr* mgr,
31  const double* parm ) :
32  CaloCellGeometry ( po , mgr, parm ) {}
33 
34  virtual ~PreshowerStrip() {}
35 
36  virtual const CornersVec& getCorners() const ;
37 
38  const double dx() const { return param()[0] ; }
39  const double dy() const { return param()[1] ; }
40  const double dz() const { return param()[2] ; }
41 
42  virtual std::vector<HepGeom::Point3D<double> > vocalCorners( const double* pv,
43  HepGeom::Point3D<double> & ref ) const
44  { return localCorners( pv, ref ) ; }
45 
46  static std::vector<HepGeom::Point3D<double> > localCorners( const double* pv,
47  HepGeom::Point3D<double> & ref ) ;
48  virtual HepGeom::Transform3D getTransform( std::vector<HepGeom::Point3D<double> >* lptr ) const
49  { return HepGeom::Transform3D() ; }
50 
51  private:
52 };
53 
54 std::ostream& operator<<( std::ostream& s , const PreshowerStrip& cell) ;
55 
56 #endif
EZArrayFL< GlobalPoint > CornersVec
const double dx() const
virtual HepGeom::Transform3D getTransform(std::vector< HepGeom::Point3D< double > > *lptr) const
virtual const CornersVec & getCorners() const
const double * param() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
A base class to handle the shape of preshower strips.
const double dy() const
const double dz() const
PreshowerStrip(const GlobalPoint &po, const CornersMgr *mgr, const double *parm)
virtual ~PreshowerStrip()
virtual std::vector< HepGeom::Point3D< double > > vocalCorners(const double *pv, HepGeom::Point3D< double > &ref) const
Definition: EZMgrFL.h:8
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, HepGeom::Point3D< double > &ref)
string s
Definition: asciidump.py:422