15#include <dqm/core/DQMHistAnalysis.h>
17#include <vxd/dataobjects/VxdID.h>
22#include <TGraphErrors.h>
24#include <RooRealVar.h>
25#include <RooWorkspace.h>
62 void event(
void)
override final;
67 void endRun(
void)
override final;
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD Cluster Charge.
DQMHistAnalysisPXDTrackChargeModule()
Constructor.
void terminate(void) override final
This method is called at the end of the event processing.
TCanvas * m_cCharge
Final Canvas.
bool m_color
Whether to use the color code for warnings and errors.
double m_rangeLow
fit range lo edge for landau
std::map< VxdID, std::array< std::array< TCanvas *, 4 >, 6 > > m_cChargeModASIC
Final Canvases for Fit and Ref per ASIC.
std::map< VxdID, TH2F * > m_hChargeModASIC2d
Final Canvas Fit and Ref per ASIC.
void initialize(void) override final
Initializer.
void endRun(void) override final
This method is called if the current run ends.
~DQMHistAnalysisPXDTrackChargeModule()
Destructor.
MonitoringObject * m_monObj
Monitoring Object.
TLine * m_line_up
TLine object for upper limit of track cluster charge.
TF1 * m_fMean
Fit the Mean for all modules.
TGraphErrors * m_gCharge
Graph covering all modules.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
std::string m_histogramDirectoryName
name of histogram directory
RooRealVar * m_x
RooFit variable.
RooWorkspace * m_rfws
RooFit Workspace.
TLine * m_line_mean
TLine object for mean of track cluster charge.
double m_rangeHigh
fit range hi edge for landau
TLine * m_line_low
TLine object for lower limit of track cluster charge.
std::vector< int > m_excluded
Indizes of excluded PXD Modules.
TH1F * m_hTrackedClusters
Histogram for TrackedClusters.
TCanvas * m_cTrackedClusters
Final Canvas for TrackedClusters.
std::map< VxdID, TCanvas * > m_cChargeMod
Final Canvases for Fit and Ref.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
std::map< VxdID, TCanvas * > m_cChargeModASIC2d
Final Canvas Fit and Ref per ASIC.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.