CMS 3D CMS Logo

List of all members | Public Member Functions
fftjetcms::PtEtaP4Builder Struct Reference

#include <VBuilders.h>

Public Member Functions

math::XYZTLorentzVector operator() (const double pt, const double eta, const double phi) const
 

Detailed Description

Definition at line 20 of file VBuilders.h.

Member Function Documentation

◆ operator()()

math::XYZTLorentzVector fftjetcms::PtEtaP4Builder::operator() ( const double  pt,
const double  eta,
const double  phi 
) const
inline

Definition at line 21 of file VBuilders.h.

21  {
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);
26  return math::XYZTLorentzVector(px, py, pz, e);
27  }

References funct::cos(), MillePedeFileConverter_cfg::e, PVValHelper::eta, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), and mathSSE::sqrt().

DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
PVValHelper::eta
Definition: PVValidationHelpers.h:69
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDAxes::phi
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37