15#include <dqm/core/DQMHistAnalysis.h>
18#include <RooWorkspace.h>
19#include <RooDataHist.h>
21#include <RooFitResult.h>
54 void event(
void)
override final;
60 RooWorkspace*
w =
nullptr;
62 RooRealVar*
x =
nullptr;
64 RooDataHist*
data =
nullptr;
68 RooFitResult*
r =
nullptr;
DQMHistAnalysisModule()
Constructor / Destructor.
RooAbsPdf * model
The PDF for fitting.
void initialize(void) override final
Initializer.
RooDataHist * data
The data of histogram for fitting.
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.