Belle II Software development
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 <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15
16#include <analysis/VariableManager/Utility.h>
17
18// dataobjects
19#include <analysis/dataobjects/Particle.h>
20#include <analysis/dataobjects/ParticleList.h>
21
22#include <analysis/DecayDescriptor/DecayDescriptor.h>
23
24#include <string>
25
26namespace Belle2 {
32
37
38 public:
39
44
49 virtual void initialize() override;
50
54 virtual void event() override;
55
56
57 private:
58
60
63
65
66 std::string m_decayString;
67 std::string m_finalDecayString;
69 std::unique_ptr<ParticleGenerator> m_generator;
70
71 std::string m_listName;
72 std::string m_antiListName;
73
74 std::string m_recoList;
75
77
79
80 std::string m_cutParameter;
81 std::unique_ptr<Variable::Cut> m_cut;
82
84
86
87 };
88
90} // Belle2 namespace
91
92//#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.
Module()
Constructor.
Definition Module.cc:30
ParticleGenerator is a generator for all the particles combined from the given ParticleLists.
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.