Belle II Software  release-06-00-14
RecoTrackParticleLoaderModule.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 #pragma once
9 
10 #include <framework/core/Module.h>
11 
12 #include <string>
13 
14 namespace Belle2 {
33 
34  public:
37 
39  void initialize() override;
40 
42  void event() override;
43 
44  private:
46  std::string m_recoTrackColName = "RecoTracks";
47 
49  std::string m_particleListName = "ParticlesFromRecoTracks";
50 
52  int m_pdgCode = 211;
53  };
55 }
Base class for Modules.
Definition: Module.h:72
Takes fitted RecoTracks and creates Particles from them directly, skipping the step of creating Track...
std::string m_particleListName
Name of the particleList holding the output Particles.
void initialize() override
Require and register the datastore arrays.
void event() override
Build Particle array.
std::string m_recoTrackColName
Name of the collection holding the input RecoTracks.
int m_pdgCode
PDG code of the hypothesis of the output Particles.
Abstract base class for different kinds of events.