Belle II Software development
DQMHistAnalysisPXDCharge.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// File : DQMHistAnalysisPXDCharge.h
10// Description : DQM Analysis for PXD Cluster Charges
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <vxd/dataobjects/VxdID.h>
18
19#include <TF1.h>
20
21namespace Belle2 {
29
30 // Public functions
31 public:
32
37
42
46 void initialize(void) override final;
47
51 void beginRun(void) override final;
52
56 void event(void) override final;
57
61 void endRun(void) override final;
62
66 void terminate(void) override final;
67
68 private:
69 // Data members
70
74 double m_rangeLow;
78 std::vector<int> m_excluded;
79
81 std::vector<VxdID> m_PXDModules;
82
84 TF1* m_fLandau = nullptr;
86 TF1* m_fMean = nullptr;
88 TH1F* m_hCharge = nullptr;
90 TCanvas* m_cCharge = nullptr;
91
94 };
96} // end namespace Belle2
97
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD Cluster Charge.
void terminate(void) override final
This method is called at the end of the event processing.
double m_rangeLow
fit range lo edge for landau
void initialize(void) override final
Initializer.
TH1F * m_hCharge
Histogram covering all modules.
void endRun(void) override final
This method is called if the current run ends.
MonitoringObject * m_monObj
Monitoring Object.
TF1 * m_fMean
Fit the Mean for all modules.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
std::string m_histogramDirectoryName
name of histogram directory
double m_rangeHigh
fit range hi edge for landau
std::vector< int > m_excluded
Indizes of excluded PXD Modules.
TF1 * m_fLandau
only one fit function for all Landaus
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.