Belle II Software development
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
19namespace Belle2 {
26
27 public:
30
32 void initialize() override;
33
35 void event() override;
36
37 private:
42
49
52 };
54}
55
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.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.