Belle II Software  release-05-02-19
KlongDecayReconstructorExpertModule.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 KlongDecayReconstructorExpertModule : 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;
57  std::string m_decayString;
58  std::string m_finalDecayString;
60  std::unique_ptr<ParticleGenerator> m_generator;
62  std::string m_listName;
63  std::string m_antiListName;
65  std::string m_recoList;
71  std::string m_cutParameter;
72  std::unique_ptr<Variable::Cut> m_cut;
74  bool m_writeOut;
78  };
79 
81 } // Belle2 namespace
82 
83 //#endif
Belle2::KlongDecayReconstructorExpertModule::m_decayString
std::string m_decayString
Input DecayString specifying the decay being reconstructed.
Definition: KlongDecayReconstructorExpertModule.h:65
Belle2::KlongDecayReconstructorExpertModule::m_writeOut
bool m_writeOut
toggle output particle list btw.
Definition: KlongDecayReconstructorExpertModule.h:82
Belle2::KlongDecayReconstructorExpertModule::m_pdgCode
int m_pdgCode
PDG code of the combined mother particle.
Definition: KlongDecayReconstructorExpertModule.h:63
Belle2::KlongDecayReconstructorExpertModule::KlongDecayReconstructorExpertModule
KlongDecayReconstructorExpertModule()
Constructor.
Definition: KlongDecayReconstructorExpertModule.cc:46
Belle2::KlongDecayReconstructorExpertModule::event
virtual void event() override
Event processor.
Definition: KlongDecayReconstructorExpertModule.cc:128
Belle2::KlongDecayReconstructorExpertModule::m_decayModeID
int m_decayModeID
user specified decay mode identifier
Definition: KlongDecayReconstructorExpertModule.h:75
Belle2::KlongDecayReconstructorExpertModule::m_finalDecayString
std::string m_finalDecayString
Final DecayString specifying the decay being reconstructed with recalculated KL momenta.
Definition: KlongDecayReconstructorExpertModule.h:66
Belle2::KlongDecayReconstructorExpertModule::m_cutParameter
std::string m_cutParameter
selection criteria
Definition: KlongDecayReconstructorExpertModule.h:79
Belle2::KlongDecayReconstructorExpertModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: KlongDecayReconstructorExpertModule.cc:70
Belle2::KlongDecayReconstructorExpertModule::m_maximumNumberOfCandidates
int m_maximumNumberOfCandidates
drop all candidates if more candidates than this parameter are produced
Definition: KlongDecayReconstructorExpertModule.h:84
Belle2::KlongDecayReconstructorExpertModule::m_generator
std::unique_ptr< ParticleGenerator > m_generator
Generates the combinations.
Definition: KlongDecayReconstructorExpertModule.h:68
Belle2::KlongDecayReconstructorExpertModule::m_decaydescriptor
DecayDescriptor m_decaydescriptor
Decay descriptor of the decay being reconstructed.
Definition: KlongDecayReconstructorExpertModule.h:67
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KlongDecayReconstructorExpertModule::m_antiListName
std::string m_antiListName
output anti-particle list name
Definition: KlongDecayReconstructorExpertModule.h:71
Belle2::KlongDecayReconstructorExpertModule::m_cut
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
Definition: KlongDecayReconstructorExpertModule.h:80
Belle2::KlongDecayReconstructorExpertModule::m_recoList
std::string m_recoList
suffix for input K_L0 list name
Definition: KlongDecayReconstructorExpertModule.h:73
Belle2::KlongDecayReconstructorExpertModule::m_listName
std::string m_listName
output particle list name
Definition: KlongDecayReconstructorExpertModule.h:70
Belle2::DecayDescriptor
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Definition: DecayDescriptor.h:43
Belle2::KlongDecayReconstructorExpertModule::m_isSelfConjugatedParticle
bool m_isSelfConjugatedParticle
flag that indicates whether an anti-particle mother does not exist and should not be reconstructed as...
Definition: KlongDecayReconstructorExpertModule.h:77