Belle II Software development
DQMHistAnalysisPXDBow.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <dqm/core/DQMHistAnalysis.h>
12#include <vxd/dataobjects/VxdID.h>
13
14namespace Belle2 {
20
22
24 public:
25
30
31
36 void initialize() override final;
37
42 void beginRun() override final;
43
47 void event() override final;
48
54 void plotCanvas(bool enough, bool errorflag, bool warnflag, std::string buff);
55
57 private:
59 std::string m_histogramDirectoryName{""};
60
62
63 std::map<std::string, TCanvas*> m_cResV;
64
66 std::map<std::string, TH1F> m_hResV;
67
69 std::vector<VxdID> m_PXDModules;
70
71 float m_roiThreshold{0.1};
72 float m_statThreshold{300};
73 float m_sagittaThreshold{0.06};
75 std::string m_moduleName{"2.2.1"};
76 };
77
78} // end namespace Belle2
79
DQMHistAnalysisModule()
Constructor / Destructor.
float m_statThreshold
Threshold values for statistic flag on the plotted histograms.
void initialize() override final
Initializer.
float m_sagittaThreshold
Threshold values for warning flag on the sagitta.
void event() override final
This method is called for each event.
std::map< std::string, TCanvas * > m_cResV
Data members.
std::vector< VxdID > m_PXDModules
vector for the IDs of all forward PXD Modules to iterate over
std::string m_histogramDirectoryName
Parameters accessible from basf2 scripts.
std::string m_moduleName
name of the module which distribution will be plotted on the dqm, if empty all forward modules will b...
void beginRun() override final
Called when entering a new run.
std::map< std::string, TH1F > m_hResV
The final histograms.
float m_roiThreshold
Threshold values for warning flag on the resV, the value is related on the dimesion of the ROI.
void plotCanvas(bool enough, bool errorflag, bool warnflag, std::string buff)
Plot the histogram of the module with ID buff and colorize the canvas using the stat,...
float m_sagittaErrorThreshold
Threshold values for error flag on the sagitta.
Abstract base class for different kinds of events.