Belle II Software  release-08-01-10
KlongMomentumCalculatorExpertModule.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 
9 #pragma once
10 
11 #include <framework/core/Module.h>
12 
13 #include <analysis/VariableManager/Utility.h>
14 #include <analysis/ParticleCombiner/ParticleCombiner.h>
15 
16 #include <analysis/DecayDescriptor/DecayDescriptor.h>
17 
18 #include <string>
19 
20 namespace Belle2 {
25  class Particle;
26 
31 
32  public:
33 
38 
43  virtual void initialize() override;
44 
48  virtual void event() override;
49 
50  private:
51 
54  int m_pdgCode;
55  std::string m_decayString;
56  std::string m_finalDecayString;
58  std::unique_ptr<ParticleGenerator> m_generator;
60  std::string m_listName;
61  std::string m_antiListName;
63  std::string m_klistName;
69  std::string m_cutParameter;
70  std::unique_ptr<Variable::Cut> m_cut;
72  bool m_writeOut;
74  std::string m_recoList;
79  };
80 
82 } // Belle2 namespace
83 
84 //#endif
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
bool m_isSelfConjugatedParticle
flag that indicates whether an anti-particle mother does not exist and should not be reconstructed as...
StoreObjPtr< ParticleList > m_koutputList
Klong output particle list.
int m_maximumNumberOfCandidates
drop all candidates if more candidates than this parameter are produced
std::string m_antiListName
output anti-particle list name
virtual void initialize() override
Initialize the Module.
std::string m_decayString
Input DecayString specifying the decay being reconstructed.
std::string m_finalDecayString
Final DecayString specifying the decay being reconstructed with recalculated KL momenta.
std::string m_recoList
Suffix attached to the output K_L list, if not defined it is set to '_reco'
std::unique_ptr< ParticleGenerator > m_generator
Generates the combinations.
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
DecayDescriptor m_decaydescriptor
Decay descriptor of the decay being reconstructed.
int m_pdgCode
PDG code of the combined mother particle.
std::string m_klistName
output K_L0 particle list name
Base class for Modules.
Definition: Module.h:72
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.