BOSS 7.0.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 "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 2310 of file EvtConExc.cc.

2310 {// leading second order xsection, mhs: the mass of final states
2311 double cms = EvtConExc::_cms;
2312 double s = cms * cms;
2313 double x = 1 - (*mhs)*(*mhs)/s;
2314 EvtConExc myconexc;
2315 double wsx;
2316 double dhs=(*mhs);
2317 double xs = EvtConExc::myxsection->getXsection(dhs);
2318 wsx=myconexc.Rad2(s,x);
2320 double difxs = 2*dhs/cms/cms * wsx *xs;
2321 std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2322 return difxs;
2323}
Double_t x[10]
std::ofstream oa
Definition: EvtConExc.cc:161
XmlRpcServer s
Definition: HelloServer.cpp:11
static EvtXsection * myxsection
Definition: EvtConExc.hh:137
static double _cms
Definition: EvtConExc.hh:138
double Rad2(double s, double x)
Definition: EvtConExc.cc:2170
static double XS_max
Definition: EvtConExc.hh:139
double getXsection(double mx)

◆ Rad2difXs2()

double Rad2difXs2 ( double *  mhs)

Definition at line 2337 of file EvtConExc.cc.

2337 {// leading second order xsection, mhs: the mass of final states
2338 double cms = EvtConExc::_cms;
2339 double s = cms * cms;
2340 double x = 1 - (*mhs)*(*mhs)/s;
2341 EvtConExc myconexc;
2342 double wsx;
2343 double dhs=(*mhs);
2344 double xs = EvtConExc::myxsection->getXsection(dhs);
2345 wsx=myconexc.Rad2(s,x);
2347 double difxs = 2*dhs/cms/cms * wsx *xs;
2348 oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
2349 return difxs;
2350}

Referenced by EvtConExc::gamHXSection().

◆ Rad2difXs_er()

double Rad2difXs_er ( double *  m)

Definition at line 2324 of file EvtConExc.cc.

2324 {// leading second order xsection, mhs: the mass of final states
2325 double cms = EvtConExc::_cms;
2326 double s = cms * cms;
2327 double x = 1 - (*mhs)*(*mhs)/s;
2328 EvtConExc myconexc;
2329 double wsx;
2330 double xs = EvtConExc::myxsection->getErr(*mhs);
2331 wsx=myconexc.Rad2(s,x);
2332 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2333 std::ofstream oa;oa<<x<<std::endl;
2334 return differ2;
2335}
double getErr(double mx)

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double *  mhs)

Definition at line 2352 of file EvtConExc.cc.

2352 {// leading second order xsection, mhs: the mass of final states
2353 double cms = EvtConExc::_cms;
2354 double s = cms * cms;
2355 double x = 1 - (*mhs)*(*mhs)/s;
2356 EvtConExc myconexc;
2357 double wsx;
2358 double xs = EvtConExc::myxsection->getErr(*mhs);
2359 wsx=myconexc.Rad2(s,x);
2360 double differ2 = 2*(*mhs)/cms/cms * wsx *xs;
2361 oa<<x<<std::endl;
2362 return differ2;
2363}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa