BOSS 7.1.0
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)
 

Detailed Description

Definition at line 43 of file Criteria.h.

Member Function Documentation

◆ operator()()

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

Definition at line 45 of file 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)
Definition: Criteria.h:10
RecEmcShower * emcShower()
Definition: EvtRecTrack.h:58
double * p2
Definition: qcdloop1.h:76
EvtRecTrack * Second
Definition: Criteria.h:31
EvtRecTrack * First
Definition: Criteria.h:30

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