/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/Pi0RecAlg/Pi0RecAlg-00-00-06/Pi0RecAlg/Criteria.h File Reference

#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 Documentation

#define CRITERAI__H

Definition at line 2 of file Criteria.h.


Function Documentation

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  ) 

Definition at line 22 of file Criteria.h.

00023 {
00024 
00025 }


Generated on Tue Nov 29 23:17:03 2016 for BOSS_7.0.2 by  doxygen 1.4.7