![]() |
Belle II Software development
|
Class to perform the hadron saturation calibration. More...
#include <HadronSaturation.h>
Public Member Functions | |
HadronSaturation () | |
Constructor: Sets the description, the properties and the parameters of the algorithm. | |
HadronSaturation (double alpha, double gamma, double delta, double power, double ratio, int cosbins) | |
set the input variables | |
virtual | ~HadronSaturation () |
Destructor. | |
void | fillSample (TString infilename) |
fill the vectors below | |
void | printEvents (int firstevent, int nevents) |
print a sample of events | |
void | fitSaturation () |
perform the hadron saturation fit | |
void | clear () |
clear the vectors | |
void | setCosBins (int nbins) |
set the number of cosine bins | |
double | myFunction (double alpha, double gamma, double delta, double power, double ratio) |
some helper functions for the hadron saturation correction | |
Static Public Member Functions | |
static void | minuitFunction (int &, double *, double &result, double *para, int) |
functions for the hadron saturation correction | |
Private Attributes | |
int | m_cosbins |
the number of cosine bins | |
double | m_alpha |
the alpha parameter for the hadron saturation correction | |
double | m_gamma |
the gamma parameter for the hadron saturation correction | |
double | m_delta |
the delta parameter for the hadron saturation correction | |
double | m_power |
the power parameter for the hadron saturation correction | |
double | m_ratio |
the ratio parameter for the hadron saturation correction | |
std::vector< double > | m_dedx |
a vector to hold dE/dx measurements | |
std::vector< double > | m_dedxerror |
a vector to hold dE/dx errors | |
std::vector< double > | m_betagamma |
a vector to hold beta-gamma values | |
std::vector< double > | m_costheta |
a vector to hold cos(theta) values | |
Class to perform the hadron saturation calibration.
Definition at line 34 of file HadronSaturation.h.
HadronSaturation | ( | ) |
Constructor: Sets the description, the properties and the parameters of the algorithm.
Definition at line 14 of file HadronSaturation.cc.
HadronSaturation | ( | double | alpha, |
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio, | ||
int | cosbins | ||
) |
set the input variables
Definition at line 29 of file HadronSaturation.cc.
|
inlinevirtual |
void clear | ( | ) |
clear the vectors
Definition at line 257 of file HadronSaturation.cc.
void fillSample | ( | TString | infilename | ) |
fill the vectors below
Definition at line 44 of file HadronSaturation.cc.
void fitSaturation | ( | ) |
perform the hadron saturation fit
Definition at line 148 of file HadronSaturation.cc.
|
static |
functions for the hadron saturation correction
Definition at line 142 of file HadronSaturation.cc.
double myFunction | ( | double | alpha, |
double | gamma, | ||
double | delta, | ||
double | power, | ||
double | ratio | ||
) |
some helper functions for the hadron saturation correction
Definition at line 98 of file HadronSaturation.cc.
void printEvents | ( | int | firstevent = 0 , |
int | nevents = 50 |
||
) |
print a sample of events
Definition at line 84 of file HadronSaturation.cc.
|
inline |
set the number of cosine bins
Definition at line 76 of file HadronSaturation.h.
|
private |
the alpha parameter for the hadron saturation correction
Definition at line 92 of file HadronSaturation.h.
|
private |
a vector to hold beta-gamma values
Definition at line 100 of file HadronSaturation.h.
|
private |
the number of cosine bins
Definition at line 90 of file HadronSaturation.h.
|
private |
a vector to hold cos(theta) values
Definition at line 101 of file HadronSaturation.h.
|
private |
a vector to hold dE/dx measurements
Definition at line 98 of file HadronSaturation.h.
|
private |
a vector to hold dE/dx errors
Definition at line 99 of file HadronSaturation.h.
|
private |
the delta parameter for the hadron saturation correction
Definition at line 94 of file HadronSaturation.h.
|
private |
the gamma parameter for the hadron saturation correction
Definition at line 93 of file HadronSaturation.h.
|
private |
the power parameter for the hadron saturation correction
Definition at line 95 of file HadronSaturation.h.
|
private |
the ratio parameter for the hadron saturation correction
Definition at line 96 of file HadronSaturation.h.