BOSS 7.0.3
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 2690 of file EvtConExc.cc.

2690 {// leading second order xsection, mhs: the mass of final states
2691 double cms = EvtConExc::_cms;
2692 double s = cms * cms;
2693 double x = 1 - (*mhs)*(*mhs)/s;
2694 EvtConExc myconexc;
2695 double wsx;
2696 double dhs=(*mhs);
2697 double xs = EvtConExc::myxsection->getXsection(dhs);
2698 wsx=myconexc.Rad2(s,x);
2700 double difxs = 2*dhs/cms/cms * wsx *xs;
2701 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2702 return difxs;
2703}
Double_t x[10]
std::ofstream oa
Definition: EvtConExc.cc:177
XmlRpcServer s
Definition: HelloServer.cpp:11
static EvtXsection * myxsection
Definition: EvtConExc.hh:139
static double _cms
Definition: EvtConExc.hh:140
double Rad2(double s, double x)
Definition: EvtConExc.cc:2539
static double XS_max
Definition: EvtConExc.hh:141
double getXsection(double mx)

◆ Rad2difXs2()

double Rad2difXs2 ( double *  mhs)

Definition at line 2717 of file EvtConExc.cc.

2717 {// leading second order xsection, mhs: the mass of final states
2718 double cms = EvtConExc::_cms;
2719 double s = cms * cms;
2720 double x = 1 - (*mhs)*(*mhs)/s;
2721 EvtConExc myconexc;
2722 double wsx;
2723 double dhs=(*mhs);
2724 double xs = EvtConExc::myxsection->getXsection(dhs);
2725 wsx=myconexc.Rad2(s,x);
2727 double difxs = 2*dhs/cms/cms * wsx *xs;
2728 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2729 return difxs;
2730}

Referenced by EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double *  m)

Definition at line 2704 of file EvtConExc.cc.

2704 {// leading second order xsection, mhs: the mass of final states
2705 double cms = EvtConExc::_cms;
2706 double s = cms * cms;
2707 double x = 1 - (*mhs)*(*mhs)/s;
2708 EvtConExc myconexc;
2709 double wsx;
2710 double xs = EvtConExc::myxsection->getErr(*mhs);
2711 wsx=myconexc.Rad2(s,x);
2712 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2713 std::ofstream oa;oa<<x<<std::endl;
2714 return differ2;
2715}
double getErr(double mx)

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double *  mhs)

Definition at line 2732 of file EvtConExc.cc.

2732 {// leading second order xsection, mhs: the mass of final states
2733 double cms = EvtConExc::_cms;
2734 double s = cms * cms;
2735 double x = 1 - (*mhs)*(*mhs)/s;
2736 EvtConExc myconexc;
2737 double wsx;
2738 double xs = EvtConExc::myxsection->getErr(*mhs);
2739 wsx=myconexc.Rad2(s,x);
2740 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2741 oa<<x<<std::endl;
2742 return differ2;
2743}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa