CMS 3D CMS Logo

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

#include <VBuilders.h>

Public Member Functions

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

Detailed Description

Definition at line 30 of file VBuilders.h.

Member Function Documentation

◆ operator()()

math::XYZTLorentzVector fftjetcms::EnergyEtaP4Builder::operator() ( const double  e,
const double  eta,
const double  phi 
) const
inline

Definition at line 31 of file VBuilders.h.

31  {
32  // There is no mass associated with this energy... We will
33  // assume that the mass is 0 and proceed as if the energy
34  // is the momentum.
35  const double pt = e / cosh(eta);
36  return math::XYZTLorentzVector(pt * cos(phi), pt * sin(phi), pt * sinh(eta), e);
37  }

References funct::cos(), MillePedeFileConverter_cfg::e, PVValHelper::eta, DiDispStaMuonMonitor_cfi::pt, and funct::sin().

DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
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
DDAxes::phi
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