#include <ECALPositionCalculator.h>
Public Member Functions | |
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) |
ECALPositionCalculator () | |
Definition at line 9 of file ECALPositionCalculator.h.
|
inline |
Definition at line 12 of file ECALPositionCalculator.h.
double ECALPositionCalculator::ecalEta | ( | const math::XYZVector & | momentum, |
const math::XYZPoint & | vertex | ||
) |
Definition at line 69 of file ECALPositionCalculator.cc.
References ETA, etaBarrelEndcap, create_public_lumi_plots::log, Geom::pi(), R_ECAL, funct::tan(), theta(), and Z_Endcap.
double ECALPositionCalculator::ecalPhi | ( | const MagneticField * | magField, |
const math::XYZVector & | momentum, | ||
const math::XYZPoint & | vertex, | ||
const int | charge | ||
) |
Definition at line 14 of file ECALPositionCalculator.cc.
References RecoTauCleanerPlugins::charge, etaBarrelEndcap, MagneticField::inTesla(), phi, Geom::pi(), Geom::twoPi(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by HLTEgamma::CalculateDetaDphi(), and EgammaHLTElectronDetaDphiProducer::calDEtaDPhiSCTrk().