12 #ifndef RecoJets_FFTJetAlgorithms_VBuilders_h
13 #define RecoJets_FFTJetAlgorithms_VBuilders_h
23 const double pt,
const double eta,
const double phi)
const
25 const double px = pt*
cos(phi);
26 const double py = pt*
sin(phi);
27 const double pz = pt*sinh(eta);
28 const double e =
sqrt(px*px + py*py + pz*pz);
36 const double e,
const double eta,
const double phi)
const
41 const double pt = e/cosh(eta);
43 pt*
cos(phi), pt*
sin(phi), pt*sinh(eta), e);
48 #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