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

◆ isGoodGamma()

bool isGoodGamma ( EvtRecTrack gtrk)

Definition at line 22 of file InstallArea/include/Pi0RecAlg/Pi0RecAlg/Criteria.h.

23{
24
25}