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