Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
Loading...
Searching...
No Matches
InteractiveSimultaneousFitEditor.cpp File Reference
#include "InteractiveSimultaneousFitEditor.hpp"
#include "InteractiveEditorX11Guard.hpp"
#include "PlottingUtils.hpp"
#include <RooAbsReal.h>
#include <RooArgSet.h>
#include <RooFitResult.h>
#include <RooGlobalFunc.h>
#include <RooMsgService.h>
#include <TROOT.h>
#include <cmath>
#include <iostream>
Include dependency graph for InteractiveSimultaneousFitEditor.cpp:

Go to the source code of this file.

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)
 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().