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

Definition at line 2 of file Criteria.h.

Function Documentation

◆ getP4()

HepLorentzVector getP4 ( RecEmcShower * gTrk)

Definition at line 10 of file Criteria.h.

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

Referenced by high_momentum::operator()().

◆ isGoodGamma()

bool isGoodGamma ( EvtRecTrack * gtrk)

Definition at line 19 of file Criteria.h.

19{}