Belle II Software  release-08-01-10
RecoTracksCopierModule.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 <framework/datastore/StoreArray.h>
13 #include <tracking/dataobjects/RecoTrack.h>
14 #include <mdst/dataobjects/Track.h>
15 
19 namespace Belle2 {
25 
28  class RecoTracksCopierModule : public Module {
29 
30  public:
33 
35  void initialize() override;
36 
38  void event() override;
39 
40  private:
42  std::string m_inputStoreArrayName;
45 
52 
55  };
57 }
58 
Base class for Modules.
Definition: Module.h:72
Module to copy RecoTracks.
StoreArray< RecoTrack > m_inputRecoTracks
Store Array of the input tracks.
bool m_param_onlyFittedTracks
Parameter: Copy only fitted tracks.
StoreArray< RecoTrack > m_outputRecoTracks
Store Array of the output tracks.
void initialize() override
Declare required StoreArray.
void event() override
Event processing, copies store array.
StoreArray< Track > m_tracks
Store Array of the input tracks (for relations)
std::string m_inputStoreArrayName
Name of the input StoreArray.
RecoTracksCopierModule()
Constructor of the module. Setting up parameters and description.
std::string m_outputStoreArrayName
Name of the output StoreArray.
Abstract base class for different kinds of events.