 |
Belle II Software
release-05-02-19
|
17 #include <dqm/analysis/modules/DQMHistAnalysis.h>
20 #include <RooWorkspace.h>
21 #include <RooDataHist.h>
23 #include <RooFitResult.h>
24 #include <RooAbsPdf.h>
49 void event(
void)
override final;
50 void endRun(
void)
override final;
55 RooWorkspace*
w =
nullptr;
57 RooRealVar*
x =
nullptr;
59 RooDataHist*
data =
nullptr;
63 RooFitResult*
r =
nullptr;
RooRealVar * x
The fitting variable.
void beginRun(void) override final
Module functions to be called from event process.
RooFitResult * r
The fitting result.
RooDataHist * data
The data of histogram for fitting.
RooWorkspace * w
The RooFit work space.
void initialize(void) override final
Module functions to be called from main process.
~DQMHistAnalysisRooFitExampleModule()
Destructor.
RooPlot * plot
The plot of the fitting result.
void event(void) override final
This method is the core of the module.
Abstract base class for different kinds of events.
void terminate(void) override final
This method is called at the end of the event processing.
TCanvas * m_c0
The drawing canvas for plotting the fitting result.
DQMHistAnalysisRooFitExampleModule()
Constructor.
void endRun(void) override final
This method is called if the current run ends.
RooAbsPdf * model
The PDF for fitting.
Class definition for the output module of Sequential ROOT I/O.
The base class for the histogram analysis module.