Belle II Software development
DQMHistAnalysisPhysics.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 : DQMHistAnalysisPhysics.h
10// Description : DQM module, for the physics histograms at hlt level
11//-
12
13#pragma once
14//DQM
15#include <dqm/core/DQMHistAnalysis.h>
16#include <TPaveText.h>
17
18namespace Belle2 {
24
26
27 // Public functions
28 public:
29
34
39
43 void initialize(void) override final;
44
48 void beginRun(void) override final;
49
53
54 void event(void) override final;
58 void endRun(void) override final;
59
63 void terminate(void) override final;
64
65 private:
66
68 void fitUpsilonFromHisto(TH1* histo, TPaveText* text, std::string parts, std::string prefix, std::string pvname);
69
74
76 TCanvas* m_cmUPSee{};
78 TCanvas* m_cmUPSmumu{};
79
81 TPaveText* m_cmUPSmumu_text{};
83 TPaveText* m_cmUPSee_text{};
84
86 TPaveText* m_ratio_text{};
87
89 std::string m_pvPrefix;
90
93
94 };
95
96} // end namespace Belle2
97
DQMHistAnalysisModule()
Constructor / Destructor.
void terminate(void) override final
This method is called at the end of the event processing.
TPaveText * m_ratio_text
TPaveText, ratios physics results.
int m_minEntriesUPSee
min entries for Ups(ee)
void initialize(void) override final
Initializer.
void endRun(void) override final
End-of-run action.
std::string m_pvPrefix
prefix for EPICS PVs
void fitUpsilonFromHisto(TH1 *histo, TPaveText *text, std::string parts, std::string prefix, std::string pvname)
fit histogram with UPS mass
MonitoringObject * m_monObj
Monitoring Object.
TCanvas * m_cmUPSmumu
Tcanvas for mUPSmumu.
int m_minEntriesUPSmumu
min entries for Ups(mumu)
TPaveText * m_cmUPSee_text
TPaveText, Ups ee Invariant Mass.
TPaveText * m_cmUPSmumu_text
TPaveText, Ups Invariant Mass (mumu)
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.