Belle II Software development
PhysicsObjectsMiraBelleEcmsBBModule.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 <framework/core/HistoModule.h>
12
13#include <TH1D.h>
14
15#include <limits>
16
17namespace Belle2 {
28 static const double realNaN = std::numeric_limits<double>::quiet_NaN();
29
30
33
34 public:
39
43 void defineHisto() override final;
44
48 void initialize() override final;
49
53 void beginRun() override final;
54
59 void event() override final;
60
61 private:
62
63
64 TH1D* m_hB0 = nullptr;
65 TH1D* m_hBp = nullptr;
66
68 std::string m_triggerIdentifier = "";
69
70 std::string m_BmListName = "";
71 std::string m_B0ListName = "";
72
73 static constexpr double c_mDmin = 1.830;
74 static constexpr double c_mDmax = 1.894;
75 static constexpr double c_dmDstarMin = 0.143;
76 static constexpr double c_dmDstarMax = 0.147;
77 static constexpr double c_mBwindow = 0.05;
78 static constexpr double c_R2max = 0.3;
79 };
80
82} // end namespace Belle2
83
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Collector for the collision energy calibration based on the hadronic modes.
void initialize() override final
Register the histograms.
std::string m_B0ListName
List name for neutral B candidates.
static constexpr double c_mDmax
Maximal value of the D meson inv mass.
void defineHisto() override final
Initialize the histograms.
std::string m_triggerIdentifier
Trigger identifier string used to select events for the histograms.
void event() override final
Event processor Filling of the histograms.
static constexpr double c_mDmin
Minimal value of the D meson inv mass.
static constexpr double c_dmDstarMin
Minimal value of the m(D*)-(mD)
std::string m_BmListName
List name for charged B candidates.
static constexpr double c_dmDstarMax
Maximal value of the m(D*)-(mD)
void beginRun() override final
Reset the histograms.
static constexpr double c_mBwindow
Maximal deviation of B meson inv mass from PDG value.
static constexpr double c_R2max
Maximal allowed R2 value (to suppress continuum)
static const double realNaN
This collects the B-meson properties in the hadronic B-decays It is used for the Ecms calibration in ...
Abstract base class for different kinds of events.