|
Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
|
#include "InteractiveRooFitEditor.hpp"#include "InteractiveEditorX11Guard.hpp"#include "PlottingUtils.hpp"#include <RooArgSet.h>#include <RooFitResult.h>#include <RooMsgService.h>#include <TROOT.h>#include <iostream>Go to the source code of this file.
Functions | |
| Bool_t | LaunchInteractiveRooFitEditor (TH1 *hist, const std::vector< Double_t > *events, Float_t display_bin_width_kev, RooAbsPdf *total_pdf, RooRealVar *x, RooAbsData *data, std::vector< RooFitPeakModel > *peaks, RooFitBackgroundModel *bkg, Double_t range_low, Double_t range_high, const TString &info_label) |
| Open the RooFit editor and pump its event loop until the user is done. | |
| Bool_t LaunchInteractiveRooFitEditor | ( | TH1 * | hist, |
| const std::vector< Double_t > * | events, | ||
| Float_t | display_bin_width_kev, | ||
| RooAbsPdf * | total_pdf, | ||
| RooRealVar * | x, | ||
| RooAbsData * | data, | ||
| std::vector< RooFitPeakModel > * | peaks, | ||
| RooFitBackgroundModel * | bkg, | ||
| Double_t | range_low, | ||
| Double_t | range_high, | ||
| const TString & | info_label ) |
Open the RooFit editor and pump its event loop until the user is done.
Same batch-mode and X error-handler handling as LaunchInteractiveFitEditor().
| hist | Display histogram. |
| events | Event-level values, for live rebinning. |
| display_bin_width_kev | Display bin width. |
| total_pdf | Summed model. |
| x | Observable. |
| data | Unbinned dataset. |
| peaks | Per-peak parameter models, updated on accept. |
| bkg | Background model, updated on accept. |
| range_low | Initial lower fit bound. |
| range_high | Initial upper fit bound. |
| info_label | Optional annotation shown in the editor. |
Definition at line 1014 of file InteractiveRooFitEditor.cpp.
Referenced by RooFitUtils::FitDoublePeak(), RooFitUtils::FitDoublePeak(), RooFitUtils::FitSinglePeak(), and RooFitUtils::FitTriplePeak().