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 
31 {
32 public:
33 
37 
39  IdealObliquePrism( const IdealObliquePrism& idop ) ;
40 
42 
43  IdealObliquePrism( const GlobalPoint& faceCenter,
44  const CornersMgr* mgr ,
45  const CCGFloat* parm ) ;
46 
47  virtual ~IdealObliquePrism() ;
48 
49  virtual const CornersVec& getCorners() const ;
50 
51  CCGFloat dEta() const ;
52  CCGFloat dPhi() const ;
53  CCGFloat dz() const ;
54  CCGFloat eta() const ;
55  CCGFloat z() const ;
56 
57  static void localCorners( Pt3DVec& vec ,
58  const CCGFloat* pv ,
59  Pt3D& ref ) ;
60 
61  virtual void vocalCorners( Pt3DVec& vec ,
62  const CCGFloat* pv ,
63  Pt3D& ref ) const ;
64 
65 private:
66 
67  static GlobalPoint etaPhiPerp( float eta, float phi, float perp ) ;
68  static GlobalPoint etaPhiZ(float eta, float phi, float z) ;
69 };
70 
71 std::ostream& operator<<( std::ostream& s , const IdealObliquePrism& cell ) ;
72 
73 #endif
static GlobalPoint etaPhiZ(float eta, float phi, float z)
CCGFloat dEta() const
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const
std::vector< Pt3D > Pt3DVec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
CCGFloat eta() const
CaloCellGeometry::Pt3D Pt3D
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
virtual ~IdealObliquePrism()
CaloCellGeometry::CCGFloat CCGFloat
static GlobalPoint etaPhiPerp(float eta, float phi, float perp)
CCGFloat dPhi() const
CCGFloat z() const
virtual const CornersVec & getCorners() const
Returns the corner points of this cell&#39;s volume.
HepGeom::Point3D< CCGFloat > Pt3D
Definition: EZMgrFL.h:8
T perp() const
Magnitude of transverse component.
IdealObliquePrism & operator=(const IdealObliquePrism &idop)
CCGFloat dz() const
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: DDAxes.h:10