BOSS 7.1.2
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 <iomanip>
#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(* fun )(double *),
double * ,
double * ,
double *  )
extern

◆ divdif_()

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

◆ hadr5n12_()

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

◆ polint_()

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

◆ Rad2difXs()

double Rad2difXs ( double * m)

Definition at line 2751 of file EvtConExc.cc.

2751 {// leading second order xsection, mhs: the mass of final states
2752 double cms = EvtConExc::_cms;
2753 double s = cms * cms;
2754 double x = 1 - (*mhs)*(*mhs)/s;
2755 EvtConExc myconexc;
2756 double wsx;
2757 double dhs=(*mhs);
2758 double xs = EvtConExc::myxsection->getXsection(dhs);
2759 wsx=myconexc.Rad2(s,x);
2761 double difxs = 2*dhs/cms/cms * wsx *xs;
2762 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2763 return difxs;
2764}
Double_t x[10]
std::ofstream oa
Definition EvtConExc.cc:201
XmlRpcServer s
static EvtXsection * myxsection
Definition EvtConExc.hh:189
static double _cms
Definition EvtConExc.hh:190
double Rad2(double s, double x)
static double XS_max
Definition EvtConExc.hh:191
double getXsection(double mx)

◆ Rad2difXs2()

double Rad2difXs2 ( double * mhs)

Definition at line 2778 of file EvtConExc.cc.

2778 {// leading second order xsection, mhs: the mass of final states
2779 double cms = EvtConExc::_cms;
2780 double s = cms * cms;
2781 double x = 1 - (*mhs)*(*mhs)/s;
2782 EvtConExc myconexc;
2783 double wsx;
2784 double dhs=(*mhs);
2785 double xs = EvtConExc::myxsection->getXsection(dhs);
2786 wsx=myconexc.Rad2(s,x);
2788 double difxs = 2*dhs/cms/cms * wsx *xs;
2789 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2790 return difxs;
2791}

Referenced by EvtConExc::gamHXSection(), and EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double * m)

Definition at line 2765 of file EvtConExc.cc.

2765 {// leading second order xsection, mhs: the mass of final states
2766 double cms = EvtConExc::_cms;
2767 double s = cms * cms;
2768 double x = 1 - (*mhs)*(*mhs)/s;
2769 EvtConExc myconexc;
2770 double wsx;
2771 double xs = EvtConExc::myxsection->getErr(*mhs);
2772 wsx=myconexc.Rad2(s,x);
2773 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2774 std::ofstream oa;oa<<x<<std::endl;
2775 return differ2;
2776}
double getErr(double mx)

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double * mhs)

Definition at line 2793 of file EvtConExc.cc.

2793 {// leading second order xsection, mhs: the mass of final states
2794 double cms = EvtConExc::_cms;
2795 double s = cms * cms;
2796 double x = 1 - (*mhs)*(*mhs)/s;
2797 EvtConExc myconexc;
2798 double wsx;
2799 double xs = EvtConExc::myxsection->getErr(*mhs);
2800 wsx=myconexc.Rad2(s,x);
2801 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2802 oa<<x<<std::endl;
2803 return differ2;
2804}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa