BOSS 7.0.1
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 "EvtGenModels/EvtGlobalSet.hh"
#include <string>
#include <iostream>
#include <fstream>
#include <istream>
#include <strstream>
#include <stdio.h>
#include "TGraphErrors.h"
#include "TCanvas.h"
#include "TPostScript.h"
#include "TStyle.h"
#include "TMultiGraph.h"
#include "sty.C"

Go to the source code of this file.

Functions

double dgauss_ (double(*fun)(double *), double *, double *, double *)
 
double divdif_ (float *, float *, int *, float *, int *)
 
void polint_ (float *, float *, int *, float *, float *)
 
void hadr5n12_ (float *, float *, float *, float *, float *, float *)
 
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 *   
)

◆ divdif_()

double divdif_ ( float *  ,
float *  ,
int *  ,
float *  ,
int *   
)

◆ hadr5n12_()

void hadr5n12_ ( float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
float *   
)

◆ polint_()

void polint_ ( float *  ,
float *  ,
int *  ,
float *  ,
float *   
)

◆ Rad2difXs()

double Rad2difXs ( double *  m)

Definition at line 1755 of file EvtConExc.cc.

1755 {// leading second order xsection, mhs: the mass of final states
1756 double cms = EvtConExc::_cms;
1757 double s = cms * cms;
1758 double x = 1 - (*mhs)*(*mhs)/s;
1759 EvtConExc myconexc;
1760 double wsx;
1761 double dhs=(*mhs);
1762 double xs = EvtConExc::myxsection->getXsection(dhs);
1763 wsx=myconexc.Rad2(s,x);
1765 double difxs = 2*dhs/cms/cms * wsx *xs;
1766 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
1767 return difxs;
1768}
Double_t x[10]
std::ofstream oa
Definition: EvtConExc.cc:161
XmlRpcServer s
Definition: HelloServer.cpp:11
static EvtXsection * myxsection
Definition: EvtConExc.hh:136
static double _cms
Definition: EvtConExc.hh:137
double Rad2(double s, double x)
Definition: EvtConExc.cc:1615
static double XS_max
Definition: EvtConExc.hh:138
double getXsection(double mx)

◆ Rad2difXs2()

double Rad2difXs2 ( double *  mhs)

Definition at line 1782 of file EvtConExc.cc.

1782 {// leading second order xsection, mhs: the mass of final states
1783 double cms = EvtConExc::_cms;
1784 double s = cms * cms;
1785 double x = 1 - (*mhs)*(*mhs)/s;
1786 EvtConExc myconexc;
1787 double wsx;
1788 double dhs=(*mhs);
1789 double xs = EvtConExc::myxsection->getXsection(dhs);
1790 wsx=myconexc.Rad2(s,x);
1792 double difxs = 2*dhs/cms/cms * wsx *xs;
1793 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
1794 return difxs;
1795}

Referenced by EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double *  m)

Definition at line 1769 of file EvtConExc.cc.

1769 {// leading second order xsection, mhs: the mass of final states
1770 double cms = EvtConExc::_cms;
1771 double s = cms * cms;
1772 double x = 1 - (*mhs)*(*mhs)/s;
1773 EvtConExc myconexc;
1774 double wsx;
1775 double xs = EvtConExc::myxsection->getErr(*mhs);
1776 wsx=myconexc.Rad2(s,x);
1777 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
1778 std::ofstream oa;oa<<x<<std::endl;
1779 return differ2;
1780}
double getErr(double mx)

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double *  mhs)

Definition at line 1797 of file EvtConExc.cc.

1797 {// leading second order xsection, mhs: the mass of final states
1798 double cms = EvtConExc::_cms;
1799 double s = cms * cms;
1800 double x = 1 - (*mhs)*(*mhs)/s;
1801 EvtConExc myconexc;
1802 double wsx;
1803 double xs = EvtConExc::myxsection->getErr(*mhs);
1804 wsx=myconexc.Rad2(s,x);
1805 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
1806 oa<<x<<std::endl;
1807 return differ2;
1808}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa

std::ofstream oa

Definition at line 161 of file EvtConExc.cc.

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