23#include "EvtGenBase/EvtPatches.hh"
24#include "EvtGenBase/EvtPatches.hh"
25#include "EvtGenBase/EvtIdSet.hh"
26#include "EvtGenBase/EvtParticle.hh"
27#include "EvtGenBase/EvtPhotonParticle.hh"
28#include "EvtGenBase/EvtPDL.hh"
29#include "EvtGenModels/EvtPHOTOS.hh"
32 int *,
int *,
int *,
int *,
33 double *,
double *,
double *,
34 double *,
double *,
double *,
35 double *,
double *,
double *);
38 int *,
int *,
int *,
int *,
39 double *,
double *,
double *,
40 double *,
double *,
double *,
41 double *,
double *,
double *);
63 int entry,eventnum,numparticle,istat,partnum,mother;
64 int daugfirst,dauglast;
66 int numparticlephotos;
68 double px,py,pz,e,m,
x,
y,z,
t;
82 static EvtIdSet quarks(dq,adq,uq,auq,sq,asq,cq,acq,bq,abq,tq,atq);\
104 &mother,&daugfirst,&dauglast,
105 &px,&py,&pz,&e,&m,&x,&
y,&z,&
t);
112 if (quarks.contains(p->
getDaug(i)->
getId())==1)
continue;
135 &mother,&daugfirst,&dauglast,
136 &px,&py,&pz,&e,&m,&x,&
y,&z,&
t);
154 begevtgengetx_(&entry,&eventnum,&numparticlephotos,&istat,&partnum,
155 &mother,&daugfirst,&dauglast,
156 &px,&py,&pz,&e,&m,&x,&
y,&z,&
t);
161 if (numparticle==numparticlephotos)
return;
172 &mother,&daugfirst,&dauglast,
173 &px,&py,&pz,&e,&m,&x,&
y,&z,&
t);
178 e=sqrt(
mp*
mp+px*px+py*py+pz*pz);
180 new4mom.
set(e,px,py,pz);
186 for(entry=numparticle+1;entry<=numparticlephotos;entry++){
189 &mother,&daugfirst,&dauglast,
190 &px,&py,&pz,&e,&m,&x,&
y,&z,&
t);
192 new4mom.
set(e,px,py,pz);
198 gamma->
init(GAMM,new4mom);
void begevtgengetx_(int *, int *, int *, int *, int *, int *, int *, int *, double *, double *, double *, double *, double *, double *, double *, double *, double *)
void begevtgenstorex_(int *, int *, int *, int *, int *, int *, int *, int *, double *, double *, double *, double *, double *, double *, double *, double *, double *)
void begevtgengetx_(int *, int *, int *, int *, int *, int *, int *, int *, double *, double *, double *, double *, double *, double *, double *, double *, double *)
void begevtgenstorex_(int *, int *, int *, int *, int *, int *, int *, int *, double *, double *, double *, double *, double *, double *, double *, double *, double *)
static int getStdHep(EvtId id)
static EvtId getId(const std::string &name)
void doRadCorr(EvtParticle *p)
const EvtVector4R & getP4() const
void setP4(const EvtVector4R &p4)
EvtParticle * getDaug(int i)
void addDaug(EvtParticle *node)
void init(EvtId part_n, double e, double px, double py, double pz)
void set(int i, double d)