BOSS 8.0.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 38 of file Criteria.h.

Member Function Documentation

◆ operator()()

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

Definition at line 39 of file Criteria.h.

39 {
40 double p1 = ( getP4( lgp.First->emcShower() ) + getP4( lgp.Second->emcShower() ) ).rho();
41 double p2 = ( getP4( rgp.First->emcShower() ) + getP4( rgp.Second->emcShower() ) ).rho();
42 return p1 > p2;
43 }
double p2[4]
double p1[4]
HepLorentzVector getP4(RecEmcShower *gTrk)
Definition Criteria.h:10
EvtRecTrack * Second
Definition Criteria.h:26
EvtRecTrack * First
Definition Criteria.h:25

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