Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
Loading...
Searching...
No Matches
InteractiveSimultaneousFitEditor.hpp File Reference
#include "RooFitUtils.hpp"
#include <RooAbsData.h>
#include <RooAbsPdf.h>
#include <RooRealVar.h>
#include <RooSimultaneous.h>
#include <TCanvas.h>
#include <TGButton.h>
#include <TGClient.h>
#include <TGDoubleSlider.h>
#include <TGFrame.h>
#include <TGLabel.h>
#include <TGNumberEntry.h>
#include <TGSlider.h>
#include <TGTab.h>
#include <TGraph.h>
#include <TH1.h>
#include <TLatex.h>
#include <TPad.h>
#include <TRootEmbeddedCanvas.h>
#include <TString.h>
#include <TSystem.h>
#include <TTimer.h>
#include <map>
#include <vector>
Include dependency graph for InteractiveSimultaneousFitEditor.hpp:

Go to the source code of this file.

Classes

struct  SimEditorChannelView
 Everything the simultaneous editor needs to show one channel. More...
class  InteractiveSimultaneousFitEditor
 Interactive editor for a multi-channel simultaneous RooFit fit. More...

Functions

Bool_t LaunchInteractiveSimultaneousFitEditor (RooSimultaneous *sim_pdf, RooAbsData *combined_data, RooRealVar *x, std::vector< SimEditorChannelView > &channel_views, Double_t range_low, Double_t range_high, const TString &info_label, Bool_t fit_debug=kFALSE)
 Open the simultaneous editor and pump its event loop.

Function Documentation

◆ LaunchInteractiveSimultaneousFitEditor()

Bool_t LaunchInteractiveSimultaneousFitEditor ( RooSimultaneous * sim_pdf,
RooAbsData * combined_data,
RooRealVar * x,
std::vector< SimEditorChannelView > & channel_views,
Double_t range_low,
Double_t range_high,
const TString & info_label,
Bool_t fit_debug = kFALSE )

Open the simultaneous editor and pump its event loop.

Same batch-mode and X error-handler handling as LaunchInteractiveFitEditor(). Refit re-runs the joint minimisation across every channel at once, not one channel at a time.

Parameters
sim_pdfThe RooSimultaneous model.
combined_dataCombined dataset across every channel.
xShared observable.
channel_viewsOne view per channel, updated on accept.
range_lowInitial lower fit bound.
range_highInitial upper fit bound.
info_labelOptional annotation shown in the editor.
fit_debugkTRUE to un-suppress RooFit evaluation errors.
Returns
kTRUE if the user accepted; kFALSE on cancel.

Definition at line 1204 of file InteractiveSimultaneousFitEditor.cpp.

Referenced by RooFitUtils::FitSimultaneous().