Belle II Software prerelease-10-00-00a
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 {
26
28 static const double realNaN = std::numeric_limits<double>::quiet_NaN();
29
30
32
36
37 public:
42
46 void defineHisto() override final;
47
51 void initialize() override final;
52
56 void beginRun() override final;
57
62 void event() override final;
63
64 private:
65
66
67 TH1D* m_hB0 = nullptr;
68 TH1D* m_hBp = nullptr;
69
71 std::string m_triggerIdentifier = "";
72
73 std::string m_BmListName = "";
74 std::string m_B0ListName = "";
75
76 static constexpr double c_mDmin = 1.830;
77 static constexpr double c_mDmax = 1.894;
78 static constexpr double c_dmDstarMin = 0.143;
79 static constexpr double c_dmDstarMax = 0.147;
80 static constexpr double c_mBwindow = 0.05;
81 static constexpr double c_R2max = 0.3;
82 };
83
85} // end namespace Belle2
86
HistoModule()
Constructor.
Definition HistoModule.h:32
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)
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.