Belle II Software  release-08-01-10
KlongDecayReconstructorExpertModule.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 // dataobjects
17 #include <analysis/dataobjects/Particle.h>
18 
19 #include <analysis/DecayDescriptor/DecayDescriptor.h>
20 
21 #include <string>
22 
23 namespace Belle2 {
28  class Particle;
29 
34 
35  public:
36 
41 
46  virtual void initialize() override;
47 
51  virtual void event() override;
52 
53 
54  private:
55 
61  int m_pdgCode;
63  std::string m_decayString;
64  std::string m_finalDecayString;
66  std::unique_ptr<ParticleGenerator> m_generator;
68  std::string m_listName;
69  std::string m_antiListName;
71  std::string m_recoList;
77  std::string m_cutParameter;
78  std::unique_ptr<Variable::Cut> m_cut;
80  bool m_writeOut;
84  };
85 
87 } // Belle2 namespace
88 
89 //#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...
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.
StoreObjPtr< ParticleList > m_outputAntiList
output anti-particle list
StoreArray< Particle > m_particles
StoreArray of Particles.
std::string m_finalDecayString
Final DecayString specifying the decay being reconstructed with recalculated KL momenta.
std::string m_recoList
suffix for input K_L0 list name
StoreObjPtr< ParticleList > m_outputList
output particle list
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.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.