20#include <dqm/core/DQMHistAnalysis.h>
23#include <RooWorkspace.h>
24#include <RooDataHist.h>
26#include <RooFitResult.h>
64 void event(
void)
override final;
69 void endRun(
void)
override final;
80 RooWorkspace*
w =
nullptr;
82 RooRealVar*
x =
nullptr;
84 RooDataHist*
data =
nullptr;
88 RooFitResult*
r =
nullptr;
The base class for the histogram analysis module.
Class definition for the output module of Sequential ROOT I/O.
RooAbsPdf * model
The PDF for fitting.
void terminate(void) override final
This method is called at the end of the event processing.
void initialize(void) override final
Initializer.
RooDataHist * data
The data of histogram for fitting.
void endRun(void) override final
This method is called if the current run ends.
~DQMHistAnalysisRooFitExampleModule()
Destructor.
DQMHistAnalysisRooFitExampleModule()
Constructor.
RooFitResult * r
The fitting result.
RooRealVar * x
The fitting variable.
TCanvas * m_c0
The drawing canvas for plotting the fitting result.
RooPlot * plot
The plot of the fitting result.
RooWorkspace * w
The RooFit work space.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
Abstract base class for different kinds of events.