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 
27 {
28  public:
29 
33 
34  IdealZPrism() ;
35 
36  IdealZPrism( const IdealZPrism& idzp ) ;
37 
38  IdealZPrism& operator=( const IdealZPrism& idzp ) ;
39 
40  IdealZPrism( const GlobalPoint& faceCenter ,
41  CornersMgr* mgr ,
42  const CCGFloat* parm ) ;
43 
44  virtual ~IdealZPrism() ;
45 
46  CCGFloat dEta() const ;
47  CCGFloat dPhi() const ;
48  CCGFloat dz() const ;
49  CCGFloat eta() const ;
50  CCGFloat z() const ;
51 
52  static void localCorners( Pt3DVec& vec ,
53  const CCGFloat* pv ,
54  Pt3D& ref ) ;
55 
56  virtual void vocalCorners( Pt3DVec& vec ,
57  const CCGFloat* pv ,
58  Pt3D& ref ) const ;
59 
60  private:
61 
62  virtual void initCorners(CornersVec& ) override;
63 
64  static GlobalPoint etaPhiR( float eta ,
65  float phi ,
66  float rad ) ;
67 
68  static GlobalPoint etaPhiPerp( float eta ,
69  float phi ,
70  float perp ) ;
71 
72  static GlobalPoint etaPhiZ( float eta ,
73  float phi ,
74  float z ) ;
75 };
76 
77 std::ostream& operator<<( std::ostream& s , const IdealZPrism& cell ) ;
78 
79 #endif
CaloCellGeometry::CCGFloat CCGFloat
Definition: IdealZPrism.h:30
CCGFloat eta() const
Definition: IdealZPrism.cc:53
static GlobalPoint etaPhiZ(float eta, float phi, float z)
Definition: IdealZPrism.cc:93
virtual void initCorners(CornersVec &) override
Definition: IdealZPrism.cc:140
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:31
Definition: EZMgrFL.h:8
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: IdealZPrism.h:32
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