CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtConExc.cc File Reference
#include <math.h>
#include "EvtGenBase/EvtPatches.hh"
#include <stdlib.h>
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtGenKine.hh"
#include "EvtGenBase/EvtPDL.hh"
#include "EvtGenBase/EvtReport.hh"
#include "EvtGenModels/EvtPhsp.hh"
#include "EvtGenModels/EvtConExc.hh"
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtGenBase/EvtParticleFactory.hh"
#include "EvtGenBase/EvtRandom.hh"
#include "EvtGenBase/EvtHelSys.hh"
#include "EvtGenBase/EvtDecayTable.hh"
#include "EvtGenBase/EvtDecayBase.hh"
#include <string>
#include <iostream>
#include <fstream>
#include <istream>
#include <strstream>
#include <stdio.h>

Go to the source code of this file.

Functions

double dgauss_ (double(*fun)(double *), double *, double *, double *)
 
double Rad2difXs (double *m)
 
double Rad2difXs_er (double *m)
 
double Rad2difXs2 (double *mhs)
 
double Rad2difXs_er2 (double *mhs)
 

Variables

std::ofstream oa
 

Function Documentation

◆ dgauss_()

double dgauss_ ( double(*)(double *)  fun,
double *  ,
double *  ,
double *   
)

◆ Rad2difXs()

double Rad2difXs ( double *  m)

Definition at line 1186 of file EvtConExc.cc.

1186 {// leading second order xsection, mhs: the mass of final states
1187 double cms = EvtConExc::_cms;
1188 double s = cms * cms;
1189 double x = 1 - (*mhs)*(*mhs)/s;
1190 EvtConExc myconexc;
1191 double wsx;
1192 double dhs=(*mhs);
1193 double xs = EvtConExc::myxsection->getXsection(dhs);
1194 wsx=myconexc.Rad2(s,x);
1196 double difxs = 2*dhs/cms/cms * wsx *xs;
1197 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
1198 return difxs;
1199}
Double_t x[10]
std::ofstream oa
Definition: EvtConExc.cc:133
XmlRpcServer s
Definition: HelloServer.cpp:11
static EvtXsection * myxsection
Definition: EvtConExc.hh:124
static double _cms
Definition: EvtConExc.hh:125
double Rad2(double s, double x)
Definition: EvtConExc.cc:1048
static double XS_max
Definition: EvtConExc.hh:126
double getXsection(double mx)

◆ Rad2difXs2()

double Rad2difXs2 ( double *  mhs)

Definition at line 1213 of file EvtConExc.cc.

1213 {// leading second order xsection, mhs: the mass of final states
1214 double cms = EvtConExc::_cms;
1215 double s = cms * cms;
1216 double x = 1 - (*mhs)*(*mhs)/s;
1217 EvtConExc myconexc;
1218 double wsx;
1219 double dhs=(*mhs);
1220 double xs = EvtConExc::myxsection->getXsection(dhs);
1221 wsx=myconexc.Rad2(s,x);
1223 double difxs = 2*dhs/cms/cms * wsx *xs;
1224 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
1225 return difxs;
1226}

Referenced by EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double *  m)

Definition at line 1200 of file EvtConExc.cc.

1200 {// leading second order xsection, mhs: the mass of final states
1201 double cms = EvtConExc::_cms;
1202 double s = cms * cms;
1203 double x = 1 - (*mhs)*(*mhs)/s;
1204 EvtConExc myconexc;
1205 double wsx;
1206 double xs = EvtConExc::myxsection->getErr(*mhs);
1207 wsx=myconexc.Rad2(s,x);
1208 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
1209 std::ofstream oa;oa<<x<<std::endl;
1210 return differ2;
1211}
double getErr(double mx)

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double *  mhs)

Definition at line 1228 of file EvtConExc.cc.

1228 {// leading second order xsection, mhs: the mass of final states
1229 double cms = EvtConExc::_cms;
1230 double s = cms * cms;
1231 double x = 1 - (*mhs)*(*mhs)/s;
1232 EvtConExc myconexc;
1233 double wsx;
1234 double xs = EvtConExc::myxsection->getErr(*mhs);
1235 wsx=myconexc.Rad2(s,x);
1236 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
1237 oa<<x<<std::endl;
1238 return differ2;
1239}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa

std::ofstream oa

Definition at line 133 of file EvtConExc.cc.

Referenced by Rad2difXs(), Rad2difXs2(), Rad2difXs_er(), and Rad2difXs_er2().