Belle II Software release-09-00-00
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
31
35
36 public:
41
45 void defineHisto() override final;
46
50 void initialize() override final;
51
55 void beginRun() override final;
56
61 void event() override final;
62
63 private:
64
65
66 TH1D* m_hB0 = nullptr;
67 TH1D* m_hBp = nullptr;
68
70 std::string m_triggerIdentifier = "";
71
72 std::string m_BmListName = "";
73 std::string m_B0ListName = "";
74
75 static constexpr double c_mDmin = 1.830;
76 static constexpr double c_mDmax = 1.894;
77 static constexpr double c_dmDstarMin = 0.143;
78 static constexpr double c_dmDstarMax = 0.147;
79 static constexpr double c_mBwindow = 0.05;
80 static constexpr double c_R2max = 0.3;
81 };
82
84} // end namespace Belle2
85
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.