void FormatDir()
This protected function gives to the fMyDir TDirectory the structure that is
needed to store the information produced by this class. It creates
directories "Fit" and subdirectories "Fit/Setup" and "Fit/Numbers".
void CleanDir()
This public member function reinitializes the part of the fMyDir directory
structure that belongs to QSigExFlux2Events. It removes "Fit" TDirectory and calls
FormatDir().
void ClearCardBuf()
This member function clears the internal variables used to store the
configuration information of this class in card file format
void LoadCardFile(const Char_t* cardfilename)
This public member function reads the card file with filename cardfilename
and saves the information needed by this class in its internal member
variables.
void GetFluxToEventMapping()
This protected function reads the "flux2events" entries from the internal member
variables of QSigExFlux2Events and stores the information in "Fit/Setup/Flux2Events"
TDirectory as TNamed objects.
Int_t Get()
This function estimates the population parameters values and their
error using the "Probs/JointPDFsProbs/JointPDFsProbs" joint
probability densities TTree, configuration parameters and
constants from the internal member variables (see
QSigExFlux2Events::LoadCardFile() for more details on configuration
parameters and fit constants). The parameters fitter function is
defined by calling QSigExFlux2Events::SetFCN(). The output of this
function is contained in a set of subfolders in "Fit" TDirectory:
"Fit/Setup/Parameters/[fgroup]", "Fit/Setup/Constants",
"Fit/Setup/Minimizer", "Fit/Setup/MINOs" and
"Fit/Numbers/[fgroup]", where [fgroup] are the flux groups
(parameters names). The subfolder "Fit/Setup" contains the fit
setup information and the subfolder "Fit/Numbers" contains the fit
results and the covariance matrix (TMatrixDSym object) of the
fitted, non-fixed parameters. Each "Fit/Numbers/[fgroup]"
subfolder contains 3 TNamed objects which name is explicit:
-"FitValue"
-"MinusFitError"
-"PlusFitError"
The values of the results are stored in the titles
(TNamed::GetTitle()) of the objects.
"Fit/Numbers" contains also a fourth TNamed object,
"ActParamIndex" which title is the index of the parameter in the
covariance matrix. This title is "-1" if the parameter is fixed.
This function returns 0