BOSS 7.0.4
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 2731 of file EvtConExc.cc.

2731 {// leading second order xsection, mhs: the mass of final states
2732 double cms = EvtConExc::_cms;
2733 double s = cms * cms;
2734 double x = 1 - (*mhs)*(*mhs)/s;
2735 EvtConExc myconexc;
2736 double wsx;
2737 double dhs=(*mhs);
2738 double xs = EvtConExc::myxsection->getXsection(dhs);
2739 wsx=myconexc.Rad2(s,x);
2741 double difxs = 2*dhs/cms/cms * wsx *xs;
2742 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2743 return difxs;
2744}
Double_t x[10]
std::ofstream oa
Definition: EvtConExc.cc:199
XmlRpcServer s
Definition: HelloServer.cpp:11
static EvtXsection * myxsection
Definition: EvtConExc.hh:189
static double _cms
Definition: EvtConExc.hh:190
double Rad2(double s, double x)
Definition: EvtConExc.cc:2580
static double XS_max
Definition: EvtConExc.hh:191
double getXsection(double mx)
Definition: EvtXsection.cc:254

◆ Rad2difXs2()

double Rad2difXs2 ( double *  mhs)

Definition at line 2758 of file EvtConExc.cc.

2758 {// leading second order xsection, mhs: the mass of final states
2759 double cms = EvtConExc::_cms;
2760 double s = cms * cms;
2761 double x = 1 - (*mhs)*(*mhs)/s;
2762 EvtConExc myconexc;
2763 double wsx;
2764 double dhs=(*mhs);
2765 double xs = EvtConExc::myxsection->getXsection(dhs);
2766 wsx=myconexc.Rad2(s,x);
2768 double difxs = 2*dhs/cms/cms * wsx *xs;
2769 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2770 return difxs;
2771}

Referenced by EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double *  m)

Definition at line 2745 of file EvtConExc.cc.

2745 {// leading second order xsection, mhs: the mass of final states
2746 double cms = EvtConExc::_cms;
2747 double s = cms * cms;
2748 double x = 1 - (*mhs)*(*mhs)/s;
2749 EvtConExc myconexc;
2750 double wsx;
2751 double xs = EvtConExc::myxsection->getErr(*mhs);
2752 wsx=myconexc.Rad2(s,x);
2753 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2754 std::ofstream oa;oa<<x<<std::endl;
2755 return differ2;
2756}
double getErr(double mx)
Definition: EvtXsection.cc:260

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double *  mhs)

Definition at line 2773 of file EvtConExc.cc.

2773 {// leading second order xsection, mhs: the mass of final states
2774 double cms = EvtConExc::_cms;
2775 double s = cms * cms;
2776 double x = 1 - (*mhs)*(*mhs)/s;
2777 EvtConExc myconexc;
2778 double wsx;
2779 double xs = EvtConExc::myxsection->getErr(*mhs);
2780 wsx=myconexc.Rad2(s,x);
2781 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2782 oa<<x<<std::endl;
2783 return differ2;
2784}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa