/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenModels/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

double dgauss_ ( double(*)(double *)  fun,
double *  ,
double *  ,
double *   
)

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

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

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

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

double Rad2difXs ( double *  m  ) 

Definition at line 2310 of file EvtConExc.cc.

References EvtXsection::getXsection(), EvtConExc::myxsection, EvtConExc::Rad2(), s, and x.

02310                              {// leading second order xsection, mhs: the mass of final states
02311   double cms = EvtConExc::_cms;
02312   double s = cms * cms;
02313   double x = 1 - (*mhs)*(*mhs)/s;
02314   EvtConExc myconexc; 
02315   double wsx;
02316   double dhs=(*mhs);
02317   double xs = EvtConExc::myxsection->getXsection(dhs); 
02318   wsx=myconexc.Rad2(s,x);
02319   if(xs>EvtConExc::XS_max){EvtConExc::XS_max = xs;}
02320   double difxs = 2*dhs/cms/cms * wsx *xs; 
02321   std::ofstream oa;oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
02322   return difxs;
02323 }

double Rad2difXs2 ( double *  mhs  ) 

Definition at line 2337 of file EvtConExc.cc.

References EvtXsection::getXsection(), EvtConExc::myxsection, EvtConExc::Rad2(), s, and x.

Referenced by EvtConExc::gamHXSection().

02337                               {// leading second order xsection, mhs: the mass of final states
02338   double cms = EvtConExc::_cms;
02339   double s = cms * cms;
02340   double x = 1 - (*mhs)*(*mhs)/s;
02341   EvtConExc myconexc; 
02342   double wsx;
02343   double dhs=(*mhs);
02344   double xs = EvtConExc::myxsection->getXsection(dhs);
02345   wsx=myconexc.Rad2(s,x);
02346   if(xs>EvtConExc::XS_max){EvtConExc::XS_max = xs;}
02347   double difxs = 2*dhs/cms/cms * wsx *xs; 
02348   oa<<x<<std::endl; //without this line, the running will breaking, I don't know why
02349   return difxs;
02350 }

double Rad2difXs_er ( double *  m  ) 

Definition at line 2324 of file EvtConExc.cc.

References EvtXsection::getErr(), EvtConExc::myxsection, EvtConExc::Rad2(), s, and x.

Referenced by EvtConExc::gamHXSection_er().

02324                                 {// leading second order xsection, mhs: the mass of final states
02325   double cms = EvtConExc::_cms;
02326   double s = cms * cms;
02327   double x = 1 - (*mhs)*(*mhs)/s;
02328   EvtConExc myconexc; 
02329   double wsx;
02330   double xs = EvtConExc::myxsection->getErr(*mhs);
02331   wsx=myconexc.Rad2(s,x);
02332   double differ2 = 2*(*mhs)/cms/cms * wsx *xs; 
02333   std::ofstream oa;oa<<x<<std::endl;
02334   return differ2;
02335 }

double Rad2difXs_er2 ( double *  mhs  ) 

Definition at line 2352 of file EvtConExc.cc.

References EvtXsection::getErr(), EvtConExc::myxsection, EvtConExc::Rad2(), s, and x.

Referenced by EvtConExc::gamHXSection_er().

02352                                  {// leading second order xsection, mhs: the mass of final states
02353   double cms = EvtConExc::_cms;
02354   double s = cms * cms;
02355   double x = 1 - (*mhs)*(*mhs)/s;
02356   EvtConExc myconexc; 
02357   double wsx;
02358   double xs = EvtConExc::myxsection->getErr(*mhs);
02359   wsx=myconexc.Rad2(s,x);
02360   double differ2 = 2*(*mhs)/cms/cms * wsx *xs; 
02361   oa<<x<<std::endl;
02362   return differ2;
02363 }


Variable Documentation

std::ofstream oa

Definition at line 161 of file EvtConExc.cc.


Generated on Tue Nov 29 23:15:57 2016 for BOSS_7.0.2 by  doxygen 1.4.7