Belle II Software development
PhysicsObjectsMiraBelleHadronModule.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//#include <framework/core/Module.h>
11#include <framework/core/HistoModule.h>
12#include <string>
13#include "TH1F.h"
14
15namespace Belle2 {
22 public:
23
28
32 void initialize() override;
33
37 void beginRun() override;
38
42 void event() override;
43
47 void endRun() override;
48
52 void terminate() override;
53
57 void defineHisto() override;
58
59 private:
60
61 /*******************************
62 * Hitograms for run dependence *
63 ********************************/
64
66 TH1F* m_h_nECLClusters = nullptr;
67 TH1F* m_h_visibleEnergyCMSnorm = nullptr;
68 TH1F* m_h_EsumCMSnorm = nullptr;
69 TH1F* m_h_R2 = nullptr;
70 TH1F* m_h_physicsresultsH = nullptr;
73 std::string m_triggerIdentifier = "";
74
76 std::string m_hadpiPListName = "";
77
78 };
80}
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
DQM modules to monitor hadron related variables.
void event() override
This method is called for each event.
TH1F * m_h_physicsresultsH
histogram for event results for hadronb2 and hadronb2 tight
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
std::string m_triggerIdentifier
Trigger identifier string used to select events for the histograms.
TH1F * m_h_R2
histogram for R2 of hadron events after the hadronb2 selection
std::string m_hadpiPListName
Name of the pi+ particle list.
void beginRun() override
Called when entering a new run.
TH1F * m_h_visibleEnergyCMSnorm
histogram for visible energy of tracks and gammas
TH1F * m_h_EsumCMSnorm
histogram for sum of energy of clusters with E > 0.1
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.