BOSS 7.0.4
BESIII Offline Software System
|
#include <iostream>
#include <sstream>
#include <cstdio>
#include <vector>
#include <cmath>
#include <cstdlib>
#include "TFile.h"
#include "TTree.h"
#include "include/MdcCalibConst.h"
#include "include/fun.h"
Go to the source code of this file.
Functions | |
double | xtFun (double t, double xtpar[]) |
void | fcnXT (Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag) |
void | fcnXtEdge (Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag) |
Double_t | xtFitFun (Double_t *x, Double_t par[]) |
Double_t | xtFitEdge (Double_t *x, Double_t par[]) |
void | writeConst (MdcCalibConst *calconst, TObjArray *newXtList, TObjArray *r2tList) |
vector< string > | getHistList () |
vector< string > | getHistList (string path) |
Variables | |
vector< double > | XMEAS |
vector< double > | TBINCEN |
vector< double > | ERR |
double | Tmax |
double | Dmax |
vector< double > | XMEASED |
vector< double > | TBINCENED |
vector< double > | ERRED |
int | gNEntr [43] |
double | gTimeShift = 0.0 |
double | gTesMin = 0.0 |
double | gTesMax = 9999.0 |
int | gFgIniCalConst = 2 |
bool | gPreT0SetTm = true |
double | gInitT0 = 50.0 |
double | gT0Shift = 0.0 |
double | gTminFitChindf = 20.0 |
double | gTmaxFitChindf = 20.0 |
int | gResiType = 0 |
int | gCalSigma = 1 |
int | gFixXtC0 = 0 |
int | gFgCalib [NLAYER] |
double | gTminFitRange [NLAYER][2] |
double | gTmaxFitRange [NLAYER][2] |
double | gInitTm [NLAYER] |
double | gQmin [NLAYER] |
double | gQmax [NLAYER] |
void fcnXT | ( | Int_t & | npar, |
Double_t * | gin, | ||
Double_t & | f, | ||
Double_t * | par, | ||
Int_t | iflag | ||
) |
Definition at line 66 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib().
void fcnXtEdge | ( | Int_t & | npar, |
Double_t * | gin, | ||
Double_t & | f, | ||
Double_t * | par, | ||
Int_t | iflag | ||
) |
Definition at line 85 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib().
vector< string > getHistList | ( | ) |
Definition at line 180 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
vector< string > getHistList | ( | string | path | ) |
Definition at line 215 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
void writeConst | ( | MdcCalibConst * | calconst, |
TObjArray * | newXtList, | ||
TObjArray * | r2tList | ||
) |
Definition at line 113 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by main().
Double_t xtFitEdge | ( | Double_t * | x, |
Double_t | par[] | ||
) |
Definition at line 108 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by GrXtCalib::calib().
Double_t xtFitFun | ( | Double_t * | x, |
Double_t | par[] | ||
) |
Definition at line 100 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by GrXtCalib::calib().
double xtFun | ( | double | t, |
double | xtpar[] | ||
) |
Definition at line 47 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib().
double Dmax |
Definition at line 20 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by GrXtCalib::calib(), XtCalib::calib(), fcnXtEdge(), and xtFitEdge().
vector<double> ERR |
Definition at line 18 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXT().
vector<double> ERRED |
Definition at line 23 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXtEdge().
int gCalSigma = 1 |
Definition at line 38 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by CalibBase::calib(), and main().
int gFgCalib[NLAYER] |
Definition at line 40 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by GrXtCalib::calib(), IniCalib::calib(), PreT0Calib::calib(), PreXtCalib::calib(), QtCalib::calib(), XtCalib::calib(), XtInteCalib::calib(), CalibBase::calib(), and main().
int gFgIniCalConst = 2 |
Definition at line 31 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), and main().
int gFixXtC0 = 0 |
Definition at line 39 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by main().
double gInitT0 = 50.0 |
Definition at line 33 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gInitTm[NLAYER] |
Definition at line 43 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
int gNEntr[43] |
Definition at line 25 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), CalibBase::calib(), XtCalib::init(), CalibBase::init(), main(), XtCalib::mergeHist(), and CalibBase::mergeHist().
Definition at line 32 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by PreT0Calib::calib(), and main().
double gQmax[NLAYER] |
Definition at line 45 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by QtCalib::init(), and main().
double gQmin[NLAYER] |
Definition at line 44 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by QtCalib::init(), and main().
int gResiType = 0 |
Definition at line 37 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by CalibBase::calib(), and main().
double gT0Shift = 0.0 |
Definition at line 34 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gTesMax = 9999.0 |
Definition at line 30 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by main().
double gTesMin = 0.0 |
Definition at line 29 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by main().
double gTimeShift = 0.0 |
Definition at line 28 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gTmaxFitChindf = 20.0 |
Definition at line 36 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gTmaxFitRange[NLAYER][2] |
Definition at line 42 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gTminFitChindf = 20.0 |
Definition at line 35 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
double gTminFitRange[NLAYER][2] |
Definition at line 41 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by IniCalib::calib(), PreT0Calib::calib(), and main().
vector<double> TBINCEN |
Definition at line 17 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXT().
vector<double> TBINCENED |
Definition at line 22 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXtEdge().
double Tmax |
Definition at line 19 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by GrXtCalib::calib(), XtCalib::calib(), fcnXtEdge(), and xtFitEdge().
vector<double> XMEAS |
Definition at line 16 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXT().
vector<double> XMEASED |
Definition at line 21 of file MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/fun.cpp.
Referenced by XtCalib::calib(), and fcnXtEdge().