BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
high_momentum Struct Reference

#include <Criteria.h>

+ Inheritance diagram for high_momentum:

Public Member Functions

bool operator() (const GammaPair &lgp, const GammaPair &rgp)
 
bool operator() (const GammaPair &lgp, const GammaPair &rgp)
 

Detailed Description

Member Function Documentation

◆ operator()() [1/2]

bool high_momentum::operator() ( const GammaPair lgp,
const GammaPair rgp 
)
inline

Definition at line 45 of file InstallArea/include/Pi0RecAlg/Pi0RecAlg/Criteria.h.

46 {
47 double p1 = (getP4(lgp.First->emcShower())+ getP4(lgp.Second->emcShower())).rho();
48 double p2 = (getP4(rgp.First->emcShower())+ getP4(rgp.Second->emcShower())).rho();
49 return p1 > p2;
50 }
HepLorentzVector getP4(RecEmcShower *gTrk)

◆ operator()() [2/2]

bool high_momentum::operator() ( const GammaPair lgp,
const GammaPair rgp 
)
inline

Definition at line 45 of file Reconstruction/Pi0RecAlg/Pi0RecAlg-00-00-06/Pi0RecAlg/Criteria.h.

46 {
47 double p1 = (getP4(lgp.First->emcShower())+ getP4(lgp.Second->emcShower())).rho();
48 double p2 = (getP4(rgp.First->emcShower())+ getP4(rgp.Second->emcShower())).rho();
49 return p1 > p2;
50 }

The documentation for this struct was generated from the following files: