CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IdealZPrism.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_CALOGEOMETRY_IDEALZPRISM_H
2 #define GEOMETRY_CALOGEOMETRY_IDEALZPRISM_H 1
3 
5 
28 {
29  public:
30 
34 
35  IdealZPrism() ;
36 
37  IdealZPrism( const IdealZPrism& idzp ) ;
38 
39  IdealZPrism& operator=( const IdealZPrism& idzp ) ;
40 
41  IdealZPrism( const GlobalPoint& faceCenter ,
42  const CornersMgr* mgr ,
43  const CCGFloat* parm ) ;
44 
45  virtual ~IdealZPrism() ;
46 
47  virtual const CornersVec& getCorners() const ;
48 
49  CCGFloat dEta() const ;
50  CCGFloat dPhi() const ;
51  CCGFloat dz() const ;
52  CCGFloat eta() const ;
53  CCGFloat z() const ;
54 
55  static void localCorners( Pt3DVec& vec ,
56  const CCGFloat* pv ,
57  Pt3D& ref ) ;
58 
59  virtual void vocalCorners( Pt3DVec& vec ,
60  const CCGFloat* pv ,
61  Pt3D& ref ) const ;
62 
63  private:
64 
65  static GlobalPoint etaPhiR( float eta ,
66  float phi ,
67  float rad ) ;
68 
69  static GlobalPoint etaPhiPerp( float eta ,
70  float phi ,
71  float perp ) ;
72 
73  static GlobalPoint etaPhiZ( float eta ,
74  float phi ,
75  float z ) ;
76 };
77 
78 std::ostream& operator<<( std::ostream& s , const IdealZPrism& cell ) ;
79 
80 #endif
virtual const CornersVec & getCorners() const
Returns the corner points of this cell&#39;s volume.
Definition: IdealZPrism.cc:145
CaloCellGeometry::CCGFloat CCGFloat
Definition: IdealZPrism.h:31
CCGFloat eta() const
Definition: IdealZPrism.cc:53
static GlobalPoint etaPhiZ(float eta, float phi, float z)
Definition: IdealZPrism.cc:93
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const
Definition: IdealZPrism.cc:65
static GlobalPoint etaPhiR(float eta, float phi, float rad)
Definition: IdealZPrism.cc:73
std::vector< Pt3D > Pt3DVec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
CCGFloat dz() const
Definition: IdealZPrism.cc:47
virtual ~IdealZPrism()
Definition: IdealZPrism.cc:31
IdealZPrism & operator=(const IdealZPrism &idzp)
Definition: IdealZPrism.cc:19
CCGFloat dEta() const
Definition: IdealZPrism.cc:35
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
Definition: IdealZPrism.cc:103
HepGeom::Point3D< CCGFloat > Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: IdealZPrism.h:32
Definition: EZMgrFL.h:8
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: IdealZPrism.h:33
CCGFloat dPhi() const
Definition: IdealZPrism.cc:41
T perp() const
Magnitude of transverse component.
static GlobalPoint etaPhiPerp(float eta, float phi, float perp)
Definition: IdealZPrism.cc:83
CCGFloat z() const
Definition: IdealZPrism.cc:59
Definition: DDAxes.h:10