#include "GaudiKernel/SmartDataPtr.h"
#include "EventModel/EventHeader.h"
#include "EvtRecEvent/EvtRecEvent.h"
#include "EvtRecEvent/EvtRecTrack.h"
Go to the source code of this file.
Classes | |
struct | GammaPair |
struct | high_momentum |
struct | Criteria |
Defines | |
#define | CRITERAI__H |
Functions | |
HepLorentzVector | getP4 (RecEmcShower *gTrk) |
bool | isGoodGamma (EvtRecTrack *gtrk) |
#define CRITERAI__H |
Definition at line 2 of file Criteria.h.
HepLorentzVector getP4 | ( | RecEmcShower * | gTrk | ) |
Definition at line 10 of file Criteria.h.
References cos(), DstEmcShower::energy(), DstEmcShower::phi(), sin(), and DstEmcShower::theta().
Referenced by Pi0::make_pi0_list(), high_momentum::operator()(), and Pi0::Pi0ListToTDS().
00011 { 00012 00013 double eraw = gTrk->energy(); 00014 double phi = gTrk->phi(); 00015 double the = gTrk->theta(); 00016 00017 return HepLorentzVector( eraw * sin(the) * cos(phi), 00018 eraw * sin(the) * sin(phi), 00019 eraw * cos(the), 00020 eraw ); 00021 }
bool isGoodGamma | ( | EvtRecTrack * | gtrk | ) |