CMS 3D CMS Logo

ECALPositionCalculator.h
Go to the documentation of this file.
1 #ifndef ECALPositionCalculator_h
2 #define ECALPositionCalculator_h
3 
6 
7 class MagneticField;
8 
9 namespace egammaTools
10 {
11  double ecalPhi(const MagneticField &magField, const math::XYZVector &momentum, const math::XYZPoint &vertex, const int charge);
12  double ecalEta(const math::XYZVector &momentum, const math::XYZPoint &vertex);
13 };
14 
15 #endif
16 
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
double ecalEta(const math::XYZVector &momentum, const math::XYZPoint &vertex)
double ecalPhi(const MagneticField &magField, const math::XYZVector &momentum, const math::XYZPoint &vertex, const int charge)