CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
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
 

Macros

#define CRITERAI__H
 

Functions

HepLorentzVector getP4 (RecEmcShower *gTrk)
 
bool isGoodGamma (EvtRecTrack *gtrk)
 

Macro Definition Documentation

◆ CRITERAI__H

#define CRITERAI__H

Function Documentation

◆ getP4()

HepLorentzVector getP4 ( RecEmcShower gTrk)

Definition at line 10 of file Reconstruction/Pi0RecAlg/Pi0RecAlg-00-00-06/Pi0RecAlg/Criteria.h.

11{
12
13 double eraw = gTrk->energy();
14 double phi = gTrk->phi();
15 double the = gTrk->theta();
16
17 return HepLorentzVector( eraw * sin(the) * cos(phi),
18 eraw * sin(the) * sin(phi),
19 eraw * cos(the),
20 eraw );
21}
double sin(const BesAngle a)
double cos(const BesAngle a)

Referenced by Pi0::make_pi0_list(), high_momentum::operator()(), and Pi0::Pi0ListToTDS().

◆ isGoodGamma()

bool isGoodGamma ( EvtRecTrack gtrk)