44 void AddFitType(
const std::string& outputFileName);
45 void AddHist(TH1F *dataHist,
const std::string& xVal);
46 void AddFit(TF1 *fit, TF1 *bgFit,
const int bgFitParStartNumber,
const unsigned int histNumber);
47 void AddFit(TF1 *fit, TF1 *bgFit, Double_t (*fcn)(Double_t *, Double_t *),
48 const int bgFitParStartNumber,
const unsigned int histNumber);
49 void AddFit(TF1 *fit, TF1 *bgFit,
const int bgFitParStartNumber);
50 void AddFit(TF1 *fit, TF1 *bgFit, Double_t (*fcn)(Double_t *, Double_t *),
51 const int bgFitParStartNumber);
60 void PerformFreeFit();
63 void ActivatePoint(
const int pointNumber,
const double x,
const double y);
64 void DeactivatePoint();
66 void Draw(
bool doDrawHist =
true,
bool isFirstDraw =
true);
68 std::vector<TH1F *> hists;
69 std::vector<std::string> histsXValues;
71 std::vector<std::string> outputFilesNames;
72 std::vector<std::ofstream> outputFiles;
74 std::vector<std::vector<TF1 *>> fits, bgFits;
75 std::vector<std::vector<int>> bgFitParNumbersStart;
77 TLatex fitsNames = TLatex(0.2, 0.2,
"");
78 TLatex chi2NDF = TLatex(0.8, 0.9,
"");
83 long unsigned int currentHistId = -1;
84 unsigned long currentFitModeId = 0;
86 bool isFitPointActive =
false;
87 int currentActivePointId = -1;
88 TGraph *currentActivePointGr;
90 const Color_t activeColor = kRed + 1;