Belle II Software  release-05-01-25
KlongMomentumCalculatorExpertModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: B.Oberhof, benjamin.oberhof@lnf.infn.it *
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/VariableManager/Utility.h>
16 #include <analysis/ParticleCombiner/ParticleCombiner.h>
17 
18 #include <analysis/DecayDescriptor/DecayDescriptor.h>
19 
20 #include <string>
21 
22 namespace Belle2 {
27  class Particle;
28 
32  class KlongMomentumCalculatorExpertModule : public Module {
33 
34  public:
35 
40 
45  virtual void initialize() override;
46 
50  virtual void event() override;
51 
52 
53  private:
54 
55  int m_pdgCode;
56  std::string m_decayString;
57  std::string m_finalDecayString;
59  std::unique_ptr<ParticleGenerator> m_generator;
61  std::string m_listName;
62  std::string m_antiListName;
64  std::string m_klistName;
68  bool m_isSelfConjugatedParticle{true};
70  std::string m_cutParameter;
71  std::unique_ptr<Variable::Cut> m_cut;
73  bool m_writeOut;
75  std::string m_recoList;
80  };
81 
83 } // Belle2 namespace
84 
85 //#endif
Belle2::KlongMomentumCalculatorExpertModule::m_writeOut
bool m_writeOut
toggle output particle list btw.
Definition: KlongMomentumCalculatorExpertModule.h:81
Belle2::KlongMomentumCalculatorExpertModule::m_generator
std::unique_ptr< ParticleGenerator > m_generator
Generates the combinations.
Definition: KlongMomentumCalculatorExpertModule.h:67
Belle2::KlongMomentumCalculatorExpertModule::KlongMomentumCalculatorExpertModule
KlongMomentumCalculatorExpertModule()
Constructor.
Definition: KlongMomentumCalculatorExpertModule.cc:47
Belle2::KlongMomentumCalculatorExpertModule::m_listName
std::string m_listName
output particle list name
Definition: KlongMomentumCalculatorExpertModule.h:69
Belle2::KlongMomentumCalculatorExpertModule::m_finalDecayString
std::string m_finalDecayString
Final DecayString specifying the decay being reconstructed with recalculated KL momenta.
Definition: KlongMomentumCalculatorExpertModule.h:65
Belle2::KlongMomentumCalculatorExpertModule::m_isSelfConjugatedParticle
bool m_isSelfConjugatedParticle
flag that indicates whether an anti-particle mother does not exist and should not be reconstructed as...
Definition: KlongMomentumCalculatorExpertModule.h:76
Belle2::KlongMomentumCalculatorExpertModule::event
virtual void event() override
Event processor.
Definition: KlongMomentumCalculatorExpertModule.cc:120
Belle2::KlongMomentumCalculatorExpertModule::m_klistName
std::string m_klistName
output K_L0 particle list name
Definition: KlongMomentumCalculatorExpertModule.h:72
Belle2::KlongMomentumCalculatorExpertModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: KlongMomentumCalculatorExpertModule.cc:70
Belle2::KlongMomentumCalculatorExpertModule::m_pdgCode
int m_pdgCode
PDG code of the combined mother particle.
Definition: KlongMomentumCalculatorExpertModule.h:63
Belle2::KlongMomentumCalculatorExpertModule::m_decayModeID
int m_decayModeID
user specified decay mode identifier
Definition: KlongMomentumCalculatorExpertModule.h:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KlongMomentumCalculatorExpertModule::m_decaydescriptor
DecayDescriptor m_decaydescriptor
Decay descriptor of the decay being reconstructed.
Definition: KlongMomentumCalculatorExpertModule.h:66
Belle2::KlongMomentumCalculatorExpertModule::m_cut
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
Definition: KlongMomentumCalculatorExpertModule.h:79
Belle2::KlongMomentumCalculatorExpertModule::m_cutParameter
std::string m_cutParameter
selection criteria
Definition: KlongMomentumCalculatorExpertModule.h:78
Belle2::KlongMomentumCalculatorExpertModule::m_decayString
std::string m_decayString
Input DecayString specifying the decay being reconstructed.
Definition: KlongMomentumCalculatorExpertModule.h:64
Belle2::KlongMomentumCalculatorExpertModule::m_recoList
std::string m_recoList
Suffix attached to the output K_L list, if not defined it is set to '_reco'
Definition: KlongMomentumCalculatorExpertModule.h:83
Belle2::DecayDescriptor
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Definition: DecayDescriptor.h:43
Belle2::KlongMomentumCalculatorExpertModule::m_antiListName
std::string m_antiListName
output anti-particle list name
Definition: KlongMomentumCalculatorExpertModule.h:70
Belle2::KlongMomentumCalculatorExpertModule::m_maximumNumberOfCandidates
int m_maximumNumberOfCandidates
drop all candidates if more candidates than this parameter are produced
Definition: KlongMomentumCalculatorExpertModule.h:86