Belle II Software release-09-00-01
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#pragma once
9
10#include <framework/core/HistoModule.h>
11#include <TH1D.h>
12
13#include <limits>
14#include <vector>
15
16namespace Belle2 {
27 static const double realNaN = std::numeric_limits<double>::quiet_NaN();
28
29
32
33 public:
38
42 void defineHisto() override final;
43
47 void initialize() override final;
48
52 void beginRun() override final;
53
58 void event() override final;
59
60 private:
61
62
63 TH1D* m_hB0 = nullptr;
64 TH1D* m_hBp = nullptr;
65
67 std::string m_triggerIdentifier = "";
68
69 std::string m_BmListName = "";
70 std::string m_B0ListName = "";
71
72 static constexpr double c_mDmin = 1.830;
73 static constexpr double c_mDmax = 1.894;
74 static constexpr double c_dmDstarMin = 0.143;
75 static constexpr double c_dmDstarMax = 0.147;
76 static constexpr double c_mBwindow = 0.05;
77 static constexpr double c_R2max = 0.3;
78 };
79
81} // end namespace Belle2
82
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.