BOSS 7.0.7
BESIII Offline Software System
|
#include <HadronSaturation.h>
Public Member Functions | |
HadronSaturation () | |
HadronSaturation (double alpha, double gamma, double delta, double power, double ratio) | |
virtual | ~HadronSaturation () |
void | setParameters (double par[]) |
void | setParameters (std::string parfile) |
void | fillSample (TString infilename) |
void | printEvents (int firstevent, int nevents) |
void | fitSaturation () |
void | clear () |
void | setCosBins (int nbins) |
void | setFlag (int flag) |
double | myFunction (double alpha, double gamma, double delta, double power, double ratio) |
double | D2I (double cosTheta, double D, double alpha, double gamma, double delta, double power, double ratio) const |
double | I2D (double cosTheta, double I, double alpha, double gamma, double delta, double power, double ratio) const |
double | D2I (double cosTheta, double D=1) const |
double | I2D (double cosTheta, double I=1) const |
Static Public Member Functions | |
static void | minuitFunction (int &nDim, double *gout, double &result, double *para, int flg) |
Definition at line 34 of file HadronSaturation.h.
HadronSaturation::HadronSaturation | ( | ) |
Definition at line 5 of file HadronSaturation.cc.
HadronSaturation::HadronSaturation | ( | double | alpha, |
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio | ||
) |
Definition at line 21 of file HadronSaturation.cc.
|
inlinevirtual |
Definition at line 40 of file HadronSaturation.h.
void HadronSaturation::clear | ( | ) |
Definition at line 299 of file HadronSaturation.cc.
Referenced by fillSample(), and ~HadronSaturation().
double HadronSaturation::D2I | ( | double | cosTheta, |
double | D, | ||
double | alpha, | ||
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio | ||
) | const |
Definition at line 119 of file HadronSaturation.cc.
Referenced by HadronPrep::bgCosThetaFits(), HadronPrep::bgFits(), HadronCalibration::fitSigmaVsNHit(), HadronCalibration::fitSigmaVsSin(), ElectronCorrection::HadronCorrection(), myFunction(), and HadronCalibration::plotEfficiency().
|
inline |
Definition at line 74 of file HadronSaturation.h.
void HadronSaturation::fillSample | ( | TString | infilename | ) |
Definition at line 61 of file HadronSaturation.cc.
Referenced by HadronInterface::SaturationCorrection().
void HadronSaturation::fitSaturation | ( | ) |
Definition at line 205 of file HadronSaturation.cc.
Referenced by HadronInterface::SaturationCorrection().
double HadronSaturation::I2D | ( | double | cosTheta, |
double | I, | ||
double | alpha, | ||
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio | ||
) | const |
Definition at line 133 of file HadronSaturation.cc.
Referenced by HadronPrep::bgCosThetaFits(), HadronPrep::bgFits(), HadronCalibration::fitSigmaVsNHit(), HadronCalibration::fitSigmaVsSin(), WidgetGenerator::generateEvents(), ElectronCorrection::HadronCorrection(), myFunction(), HadronCalibration::plotEfficiency(), and WidgetGenerator::simulateDedx().
|
inline |
Definition at line 87 of file HadronSaturation.h.
|
static |
Definition at line 200 of file HadronSaturation.cc.
Referenced by fitSaturation().
double HadronSaturation::myFunction | ( | double | alpha, |
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio | ||
) |
Definition at line 161 of file HadronSaturation.cc.
Referenced by minuitFunction().
void HadronSaturation::printEvents | ( | int | firstevent = 0 , |
int | nevents = 10 |
||
) |
Definition at line 104 of file HadronSaturation.cc.
Referenced by HadronInterface::SaturationCorrection().
|
inline |
Definition at line 61 of file HadronSaturation.h.
|
inline |
Definition at line 64 of file HadronSaturation.h.
void HadronSaturation::setParameters | ( | double | par[] | ) |
Definition at line 37 of file HadronSaturation.cc.
Referenced by HadronPrep::bgCosThetaFits(), HadronPrep::bgFits(), HadronCalibration::fitSigmaVsNHit(), HadronCalibration::fitSigmaVsSin(), ElectronCorrection::initializeParameters(), HadronCalibration::plotEfficiency(), HadronInterface::SaturationCorrection(), and setParameters().
void HadronSaturation::setParameters | ( | std::string | parfile | ) |
Definition at line 46 of file HadronSaturation.cc.