CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IdealObliquePrism.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_CALOGEOMETRY_IDEALOBLIQUEPRISM_H
2 #define GEOMETRY_CALOGEOMETRY_IDEALOBLIQUEPRISM_H 1
3 
5 
6 namespace calogeom {
32  {
33  public:
34 
35  IdealObliquePrism( const GlobalPoint& faceCenter,
36  const CornersMgr* mgr ,
37  const double* parm ) :
38  CaloCellGeometry ( faceCenter, mgr, parm ) {}
39 
40  virtual ~IdealObliquePrism() {}
41 
42  virtual const CornersVec& getCorners() const ;
43 
44  double dEta() const { return param()[0] ; }
45  double dPhi() const { return param()[1] ; }
46  double dz() const { return param()[2] ; }
47  double eta() const { return param()[3] ; }
48  double z() const { return param()[4] ; }
49 
50  static std::vector<HepGeom::Point3D<double> > localCorners( const double* pv,
51  HepGeom::Point3D<double> & ref ) ;
52 
53  virtual std::vector<HepGeom::Point3D<double> > vocalCorners( const double* pv,
54  HepGeom::Point3D<double> & ref ) const
55  { return localCorners( pv, ref ) ; }
56 
57  private:
58  };
59 
60  std::ostream& operator<<( std::ostream& s , const IdealObliquePrism& cell ) ;
61 }
62 
63 
64 #endif
EZArrayFL< GlobalPoint > CornersVec
virtual const CornersVec & getCorners() const
const double * param() const
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, HepGeom::Point3D< double > &ref)
virtual std::vector< HepGeom::Point3D< double > > vocalCorners(const double *pv, HepGeom::Point3D< double > &ref) const
Definition: EZMgrFL.h:8
IdealObliquePrism(const GlobalPoint &faceCenter, const CornersMgr *mgr, const double *parm)
std::ostream & operator<<(std::ostream &s, const IdealObliquePrism &cell)
string s
Definition: asciidump.py:422