4# include "GaudiKernel/SmartDataPtr.h"
6# include "EventModel/EventHeader.h"
7# include "EvtRecEvent/EvtRecEvent.h"
8# include "EvtRecEvent/EvtRecTrack.h"
12 double eraw = gTrk->
energy();
13 double phi = gTrk->
phi();
14 double the = gTrk->
theta();
16 return HepLorentzVector( eraw *
sin( the ) *
cos( phi ), eraw *
sin( the ) *
sin( phi ),
17 eraw *
cos( the ), eraw );
20struct GammaPair :
public std::pair<EvtRecTrack*, EvtRecTrack*> {
38struct high_momentum :
public binary_function<GammaPair, GammaPair, bool> {
46 Criteria(
double inv_min = 0.10,
double inv_max = 0.18 )
HepLorentzVector getP4(RecEmcShower *gTrk)
bool isGoodGamma(EvtRecTrack *gtrk)
double sin(const BesAngle a)
double cos(const BesAngle a)
RecEmcShower * emcShower()
Criteria(double inv_min=0.10, double inv_max=0.18)
virtual bool check(const GammaPair &gp) const
GammaPair(EvtRecTrack *g1, EvtRecTrack *g2, double m)
bool operator()(const GammaPair &lgp, const GammaPair &rgp)