Belle II Software  release-05-02-19
RecoTrackParticleLoaderModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Dmitrii Neverov *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 
14 #include <string>
15 
16 namespace Belle2 {
34  class RecoTrackParticleLoaderModule : public Module {
35 
36  public:
39 
41  void initialize() override;
42 
44  void event() override;
45 
46  private:
48  std::string m_recoTrackColName = "RecoTracks";
49 
51  std::string m_particleListName = "ParticlesFromRecoTracks";
52 
54  int m_pdgCode = 211;
55  };
57 }
Belle2::RecoTrackParticleLoaderModule::m_pdgCode
int m_pdgCode
PDG code of the hypothesis of the output Particles.
Definition: RecoTrackParticleLoaderModule.h:62
Belle2::RecoTrackParticleLoaderModule::initialize
void initialize() override
Require and register the datastore arrays.
Definition: RecoTrackParticleLoaderModule.cc:44
Belle2::RecoTrackParticleLoaderModule::m_particleListName
std::string m_particleListName
Name of the particleList holding the output Particles.
Definition: RecoTrackParticleLoaderModule.h:59
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RecoTrackParticleLoaderModule::m_recoTrackColName
std::string m_recoTrackColName
Name of the collection holding the input RecoTracks.
Definition: RecoTrackParticleLoaderModule.h:56
Belle2::RecoTrackParticleLoaderModule::RecoTrackParticleLoaderModule
RecoTrackParticleLoaderModule()
Constructor.
Definition: RecoTrackParticleLoaderModule.cc:29
Belle2::RecoTrackParticleLoaderModule::event
void event() override
Build Particle array.
Definition: RecoTrackParticleLoaderModule.cc:60