Belle II Software  release-05-02-19
RecoTracksCopierModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
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 <framework/datastore/StoreArray.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 #include <mdst/dataobjects/Track.h>
17 
21 namespace Belle2 {
26 
30  class RecoTracksCopierModule : public Module {
31 
32  public:
35 
37  void initialize() override;
38 
40  void event() override;
41 
42  private:
44  std::string m_inputStoreArrayName;
46  std::string m_outputStoreArrayName;
47 
54 
56  bool m_param_onlyFittedTracks = false;
57  };
59 }
60 
Belle2::RecoTracksCopierModule::m_inputRecoTracks
StoreArray< RecoTrack > m_inputRecoTracks
Store Array of the input tracks.
Definition: RecoTracksCopierModule.h:57
Belle2::RecoTracksCopierModule::m_inputStoreArrayName
std::string m_inputStoreArrayName
Name of the input StoreArray.
Definition: RecoTracksCopierModule.h:52
Belle2::RecoTracksCopierModule::RecoTracksCopierModule
RecoTracksCopierModule()
Constructor of the module. Setting up parameters and description.
Definition: RecoTracksCopierModule.cc:17
Belle2::RecoTracksCopierModule::m_tracks
StoreArray< Track > m_tracks
Store Array of the input tracks (for relations)
Definition: RecoTracksCopierModule.h:61
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RecoTracksCopierModule::m_outputStoreArrayName
std::string m_outputStoreArrayName
Name of the output StoreArray.
Definition: RecoTracksCopierModule.h:54
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::RecoTracksCopierModule::m_param_onlyFittedTracks
bool m_param_onlyFittedTracks
Parameter: Copy only fitted tracks.
Definition: RecoTracksCopierModule.h:64
Belle2::RecoTracksCopierModule::event
void event() override
Event processing, copies store array.
Definition: RecoTracksCopierModule.cc:45
Belle2::RecoTracksCopierModule::m_outputRecoTracks
StoreArray< RecoTrack > m_outputRecoTracks
Store Array of the output tracks.
Definition: RecoTracksCopierModule.h:59
Belle2::RecoTracksCopierModule::initialize
void initialize() override
Declare required StoreArray.
Definition: RecoTracksCopierModule.cc:31