BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtConExc.cc File Reference
#include "EvtConExc.hh"
#include "../EvtGenBase/EvtDecayBase.hh"
#include "../EvtGenBase/EvtDecayTable.hh"
#include "../EvtGenBase/EvtGenKine.hh"
#include "../EvtGenBase/EvtGlobalSet.hh"
#include "../EvtGenBase/EvtHelSys.hh"
#include "../EvtGenBase/EvtPDL.hh"
#include "../EvtGenBase/EvtParticle.hh"
#include "../EvtGenBase/EvtParticleFactory.hh"
#include "../EvtGenBase/EvtPatches.hh"
#include "../EvtGenBase/EvtRandom.hh"
#include "../EvtGenBase/EvtReport.hh"
#include "../EvtGenBase/EvtVector4R.hh"
#include "EvtPhsp.hh"
#include "TCanvas.h"
#include "TGraphErrors.h"
#include "TMultiGraph.h"
#include "TPostScript.h"
#include "TStyle.h"
#include <fstream>
#include <iomanip>
#include <iostream>
#include <istream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <strstream>
#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 3389 of file EvtConExc.cc.

3389 { // leading second order xsection, mhs: the mass of final
3390 // states
3391 double cms = EvtConExc::_cms;
3392 double s = cms * cms;
3393 double x = 1 - ( *mhs ) * ( *mhs ) / s;
3394 EvtConExc myconexc;
3395 double wsx;
3396 double dhs = ( *mhs );
3397 double xs = EvtConExc::myxsection->getXsection( dhs );
3398 wsx = myconexc.Rad2( s, x );
3399 if ( xs > EvtConExc::XS_max ) { EvtConExc::XS_max = xs; }
3400 double difxs = 2 * dhs / cms / cms * wsx * xs;
3401 std::ofstream oa;
3402 oa << x << std::endl; // without this line, the running will breaking, I don't know why
3403 return difxs;
3404}
std::ofstream oa
Definition EvtConExc.cc:199
XmlRpcServer s
static EvtXsection * myxsection
Definition EvtConExc.hh:191
static double _cms
Definition EvtConExc.hh:192
double Rad2(double s, double x)
static double XS_max
Definition EvtConExc.hh:193

◆ Rad2difXs2()

double Rad2difXs2 ( double * mhs)

Definition at line 3420 of file EvtConExc.cc.

3420 { // leading second order xsection, mhs: the mass of final
3421 // states
3422 double cms = EvtConExc::_cms;
3423 double s = cms * cms;
3424 double x = 1 - ( *mhs ) * ( *mhs ) / s;
3425 EvtConExc myconexc;
3426 double wsx;
3427 double dhs = ( *mhs );
3428 double xs = EvtConExc::myxsection->getXsection( dhs );
3429 wsx = myconexc.Rad2( s, x );
3430 if ( xs > EvtConExc::XS_max ) { EvtConExc::XS_max = xs; }
3431 double difxs = 2 * dhs / cms / cms * wsx * xs;
3432 oa << x << std::endl; // without this line, the running will breaking, I don't know why
3433 return difxs;
3434}

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

◆ Rad2difXs_er()

double Rad2difXs_er ( double * m)

Definition at line 3405 of file EvtConExc.cc.

3405 { // leading second order xsection, mhs: the mass of final
3406 // states
3407 double cms = EvtConExc::_cms;
3408 double s = cms * cms;
3409 double x = 1 - ( *mhs ) * ( *mhs ) / s;
3410 EvtConExc myconexc;
3411 double wsx;
3412 double xs = EvtConExc::myxsection->getErr( *mhs );
3413 wsx = myconexc.Rad2( s, x );
3414 double differ2 = 2 * ( *mhs ) / cms / cms * wsx * xs;
3415 std::ofstream oa;
3416 oa << x << std::endl;
3417 return differ2;
3418}

Referenced by EvtConExc::gamHXSection_er().

◆ Rad2difXs_er2()

double Rad2difXs_er2 ( double * mhs)

Definition at line 3436 of file EvtConExc.cc.

3436 { // leading second order xsection, mhs: the mass of final
3437 // states
3438 double cms = EvtConExc::_cms;
3439 double s = cms * cms;
3440 double x = 1 - ( *mhs ) * ( *mhs ) / s;
3441 EvtConExc myconexc;
3442 double wsx;
3443 double xs = EvtConExc::myxsection->getErr( *mhs );
3444 wsx = myconexc.Rad2( s, x );
3445 double differ2 = 2 * ( *mhs ) / cms / cms * wsx * xs;
3446 oa << x << std::endl;
3447 return differ2;
3448}

Referenced by EvtConExc::gamHXSection_er().

Variable Documentation

◆ oa