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  double ecalPhi(const MagneticField &magField,
11  const math::XYZVector &momentum,
12  const math::XYZPoint &vertex,
13  const int charge);
14  double ecalEta(const math::XYZVector &momentum, const math::XYZPoint &vertex);
15 }; // namespace egammaTools
16 
17 #endif
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
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)