12 #ifndef RecoJets_FFTJetAlgorithms_VBuilders_h 13 #define RecoJets_FFTJetAlgorithms_VBuilders_h 22 const double px = pt *
cos(phi);
23 const double py = pt *
sin(phi);
24 const double pz = pt * sinh(eta);
25 const double e =
sqrt(px * px + py * py + pz * pz);
35 const double pt = e / cosh(eta);
41 #endif // RecoJets_FFTJetAlgorithms_VBuilders_h
Sin< T >::type sin(const T &t)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Cos< T >::type cos(const T &t)
math::XYZTLorentzVector operator()(const double e, const double eta, const double phi) const
math::XYZTLorentzVector operator()(const double pt, const double eta, const double phi) const