82#include "TGraphErrors.h"
83#include "TDirectory.h"
96 void getName(std::string& name);
108 double gamHXSection(
double s,
double El,
double Eh,
int nmc=100000);
118 double Rad1(
double s,
double x);
119 double Rad2(
double s,
double x);
129 double Li2(
double x);
133 int _mode,_ndaugs,radflag;
134 EvtId daugs[10],gamId;
135 static double _xs0,_xs1;
136 static double _er0,_er1;
141 double differ,differ2,Rad2Xs;
143 std::vector<double> BR_ee;
144 std::vector<EvtId > ResId;
148 Double_t pgam[4],phds[4],ph1[4],ph2[4],mhds;
149 Double_t mass1,mass2;
void findMaxXS(EvtParticle *p)
double gamHXSection_er(double El, double Eh)
double Ros_xs(double mx, double bree, EvtId pid)
double Rad1(double s, double x)
static EvtXsection * myxsection
bool meson_sampling(EvtVector4R pcm, EvtVector4R pi)
bool xs_sampling(double xs)
double gamHXSection(EvtParticle *p, double El, double Eh, int nmc=100000)
double Rad1difXs(EvtParticle *p)
bool baryon_sampling(EvtVector4R pcm, EvtVector4R pi)
double Rad2difXs(EvtParticle *p)
double SoftPhoton_xs(double s, double b)
double difgamXs(EvtParticle *p)
bool gam_sampling(EvtParticle *p)
double Rad2(double s, double x)
void getName(std::string &name)
void decay(EvtParticle *p)