Belle II Software  release-05-02-19
InclusiveDstarReconstructionModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2020 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Maximilian Welsch *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 
15 #include <analysis/dataobjects/Particle.h>
16 #include <analysis/DecayDescriptor/DecayDescriptor.h>
17 #include <analysis/VariableManager/Utility.h>
18 
19 #include <TLorentzVector.h>
20 
21 #include <string>
22 #include <memory>
23 
24 
25 namespace Belle2 {
41  class InclusiveDstarReconstructionModule : public Module {
42 
43  public:
44 
49 
54 
59  virtual void initialize() override;
60 
64  virtual void event() override;
65 
66 
67  private:
68 
75  TLorentzVector estimateDstarFourMomentum(const Particle* pion);
76 
84  bool pionCompatibleWithDstar(int pion_pdg_code);
85 
86 
87  std::string m_inputPionListName;
88  std::string m_outputDstarListName;
89  std::string m_slowPionCut;
90  std::unique_ptr<Variable::Cut> m_cut;
94  int m_dstar_pdg_code;
96  float m_d_pdg_mass;
97  };
98 
100 }
Belle2::InclusiveDstarReconstructionModule::estimateDstarFourMomentum
TLorentzVector estimateDstarFourMomentum(const Particle *pion)
Estimates the D* four momentum given a slow pion.
Definition: InclusiveDstarReconstructionModule.cc:136
Belle2::InclusiveDstarReconstructionModule::m_d_pdg_mass
float m_d_pdg_mass
PDG mass for the D daughter of the D*.
Definition: InclusiveDstarReconstructionModule.h:104
Belle2::InclusiveDstarReconstructionModule::m_decaydescriptor
DecayDescriptor m_decaydescriptor
Decay descriptor for parsing the user specifed DecayString.
Definition: InclusiveDstarReconstructionModule.h:100
Belle2::InclusiveDstarReconstructionModule::m_inputPionListName
std::string m_inputPionListName
Name of the input pion particle list.
Definition: InclusiveDstarReconstructionModule.h:95
Belle2::InclusiveDstarReconstructionModule::pionCompatibleWithDstar
bool pionCompatibleWithDstar(int pion_pdg_code)
Checks if the given pion is list if compatible with the charge of the D* particle.
Definition: InclusiveDstarReconstructionModule.cc:149
Belle2::InclusiveDstarReconstructionModule::m_slowPionCut
std::string m_slowPionCut
Cut used to identify slow pions.
Definition: InclusiveDstarReconstructionModule.h:97
Belle2::InclusiveDstarReconstructionModule::~InclusiveDstarReconstructionModule
virtual ~InclusiveDstarReconstructionModule()
Destructor.
Belle2::InclusiveDstarReconstructionModule::m_dstar_pdg_mass
float m_dstar_pdg_mass
PDG mass of the give D* particle list.
Definition: InclusiveDstarReconstructionModule.h:103
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::InclusiveDstarReconstructionModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: InclusiveDstarReconstructionModule.cc:52
Belle2::InclusiveDstarReconstructionModule::m_dstar_pdg_code
int m_dstar_pdg_code
PDG code of the given D* particle list.
Definition: InclusiveDstarReconstructionModule.h:102
Belle2::Particle
Class to store reconstructed particles.
Definition: Particle.h:77
Belle2::InclusiveDstarReconstructionModule::m_cut
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
Definition: InclusiveDstarReconstructionModule.h:98
Belle2::InclusiveDstarReconstructionModule::InclusiveDstarReconstructionModule
InclusiveDstarReconstructionModule()
Constructor.
Definition: InclusiveDstarReconstructionModule.cc:34
Belle2::DecayDescriptor
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Definition: DecayDescriptor.h:43
Belle2::InclusiveDstarReconstructionModule::m_outputDstarListName
std::string m_outputDstarListName
Name of the output D* particle list.
Definition: InclusiveDstarReconstructionModule.h:96
Belle2::InclusiveDstarReconstructionModule::event
virtual void event() override
Event Processor.
Definition: InclusiveDstarReconstructionModule.cc:99