 |
Belle II Software
release-05-01-25
|
16 #include <dqm/analysis/modules/DQMHistAnalysis.h>
17 #include <vxd/dataobjects/VxdID.h>
22 #include "TF1Convolution.h"
25 #include <TGraphErrors.h>
29 #include <RooRealVar.h>
30 #include <RooWorkspace.h>
55 void event(
void)
override final;
56 void endRun(
void)
override final;
125 std::vector <chid> mychid;
TLine * m_line_up
TLine object for upper limit of track cluster charge.
void beginRun(void) override final
Module functions to be called from event process.
~DQMHistAnalysisPXDTrackChargeModule()
Destructor.
std::map< VxdID, TCanvas * > m_cChargeModASIC2d
Final Canvas Fit and Ref per ASIC.
double m_rangeHigh
fit range hi edge for landau
std::map< VxdID, TCanvas * > m_cChargeMod
Final Canvases for Fit and Ref.
std::string m_refFileName
Reference Histogram Root file name.
TLine * m_line_low
TLine object for lower limit of track cluster charge.
TCanvas * m_cCharge
Final Canvas.
TLine * m_line_mean
TLine object for mean of track cluster charge.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
void terminate(void) override final
This method is called at the end of the event processing.
std::string m_histogramDirectoryName
name of histogram directory
void event(void) override final
This method is the core of the module.
std::map< VxdID, TH2F * > m_hChargeModASIC2d
Final Canvas Fit and Ref per ASIC.
std::string m_pvPrefix
prefix for EPICS PVs
bool m_color
Whether to use the color code for warnings and errors.
double m_rangeLow
fit range lo edge for landau
RooRealVar * m_x
RooFit variable.
Abstract base class for different kinds of events.
TGraphErrors * m_gCharge
Graph covering all modules.
DQM Histogram Analysis for PXD Cluster Charge.
void initialize(void) override final
Module functions to be called from main process.
TFile * m_refFile
The pointer to the reference file.
TCanvas * m_cTrackedClusters
Final Canvas for TrackedClusters.
void endRun(void) override final
This method is called if the current run ends.
TF1 * m_fMean
Fit the Mean for all modules.
RooWorkspace * m_rfws
RooFit Workspace.
TH1F * m_hTrackedClusters
Histogram for TrackedClusters.
TH1 * GetHisto(TString histoname)
Get histogram by its name.
MonitoringObject * m_monObj
Monitoring Object.
std::map< VxdID, std::array< std::array< TCanvas *, 4 >, 6 > > m_cChargeModASIC
Final Canvases for Fit and Ref per ASIC.
bool m_useEpics
flag if to export to EPICS
DQMHistAnalysisPXDTrackChargeModule()
Constructor.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
The base class for the histogram analysis module.