ATLAS Offline Software
Functions
AnalysisUtils::Imass Namespace Reference

compute Invariant mass More...

Functions

double two (const INavigable4Momentum *p1, const INavigable4Momentum *p2)
 
double four (const INavigable4Momentum *p1, const INavigable4Momentum *p2, const INavigable4Momentum *p3, const INavigable4Momentum *p4)
 

Detailed Description

compute Invariant mass

Function Documentation

◆ four()

double AnalysisUtils::Imass::four ( const INavigable4Momentum p1,
const INavigable4Momentum p2,
const INavigable4Momentum p3,
const INavigable4Momentum p4 
)
inline

Definition at line 75 of file AnalysisMisc.h.

76  {
77  return (p1->hlv()+p2->hlv()+p3->hlv()+p4->hlv()).m();
78  }

◆ two()

double AnalysisUtils::Imass::two ( const INavigable4Momentum p1,
const INavigable4Momentum p2 
)
inline

Definition at line 71 of file AnalysisMisc.h.

71  {
72  return (p1->hlv()+p2->hlv()).m();
73  }
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
I4Momentum::hlv
virtual CLHEP::HepLorentzVector hlv() const =0
CLHEP HepLorentzVector.
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131
TRTCalib_cfilter.p3
p3
Definition: TRTCalib_cfilter.py:132