 |
Belle II Software
release-05-01-25
|
13 #include <dqm/analysis/modules/DQMHistAnalysis.h>
29 class DQMHistAnalysisSVDOnMiraBelleModule :
public DQMHistAnalysisModule {
42 virtual void event()
override;
44 virtual void endRun()
override;
70 std::vector<float>
highOccupancySensor(
int iLayer, TH1F* hU, TH1F* hV,
int iBin,
int nEvents)
const;
82 std::vector<float>
avgOccupancyUV(
int iLayer, TH1F* hU, TH1F* hV,
int min,
int max,
int offset,
int step,
int nEvents)
const;
91 std::vector<float>
avgEfficiencyUV(TH2F* hMCU, TH2F* hMCV, TH2F* hFTU, TH2F* hFTV,
int minX,
int maxX,
int minY,
int maxY)
const;
float xForMaxY(TH1F *h) const
Calculate abscissa of max Y bin.
virtual void endRun() override
Module function endRun.
std::vector< float > highOccupancySensor(int iLayer, TH1F *hU, TH1F *hV, int iBin, int nEvents) const
Calculate avg offline occupancy for one specific sensor, especially with high occupancy.
TCanvas * m_c_MPVTimeClusterOnTrack
time for clusters on track
std::vector< float > avgOccupancyUV(int iLayer, TH1F *hU, TH1F *hV, int min, int max, int offset, int step, int nEvents) const
Calculate avg offline occupancy for specified sensors.
std::vector< float > avgEfficiencyUV(TH2F *hMCU, TH2F *hMCV, TH2F *hFTU, TH2F *hFTV, int minX, int maxX, int minY, int maxY) const
Calculate avg efficiency for specified sensors.
virtual void event() override
Module function event.
TCanvas * m_c_avgMaxBinClusterOnTrack
average number of the APV sample which corresponds to the maximum amplitude for clusters on track
virtual ~DQMHistAnalysisSVDOnMiraBelleModule()
Destructor.
MonitoringObject * m_monObj
Monitoring Object to be produced by this module, which contain defined canvases and monitoring variab...
virtual void initialize() override
Module function initialize.
TCanvas * m_c_MPVChargeClusterOnTrack
charge for clusters on track
TCanvas * m_c_avgOffOccupancy
number of ZS5 fired strips
Abstract base class for different kinds of events.
TCanvas * m_c_avgEfficiency
List of canvases to be added to MonitoringObject.
virtual void beginRun() override
Module function beginRun.
DQMHistAnalysisSVDOnMiraBelleModule()
Constructor.
TCanvas * m_c_MPVSNRClusterOnTrack
SNR for clusters on track.
float histFWHM(TH1F *h) const
Calculate full width at half maximum of histogram.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
virtual void terminate() override
Module function terminate.