Belle II Software development
PhysicsObjectsMiraBelleDst2Module.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_D0_pi0_InvM = nullptr;
67
69 std::string m_triggerIdentifier = "";
70
72 std::string m_dstListName = "";
73
74 };
76}
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 D* related variables.
std::string m_dstListName
Name of the mu+ particle list.
void event() override
This method is called for each event.
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.
void beginRun() override
Called when entering a new run.
TH1F * m_h_D0_pi0_InvM
Pi0 invariant mass for D0->Kpipi0.
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.