ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
virtual CLHEP::HepLorentzVector hlv() const =0
CLHEP HepLorentzVector.

◆ 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 }