Belle II Software  release-06-01-15
FittedTracksStorerModule.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 #include <boost/optional.hpp>
12 #include <string>
13 
14 namespace Belle2 {
21 
25 
26  public:
29 
31  void initialize() override;
32 
34  void event() override;
35 
36  private:
38  std::string m_param_inputRecoTracksStoreArrayName = "PrefitRecoTracks";
40  std::string m_param_outputRecoTracksStoreArrayName = "RecoTracks";
42  boost::optional<double> m_param_minimalWeight = boost::none;
43  };
45 }
46 
A module to copy only the fitted reco tracks to the output store array.
std::string m_param_outputRecoTracksStoreArrayName
StoreArray name of the output reco tracks.
void initialize() override
Initialize the store arrays.
void event() override
Do the copying.
boost::optional< double > m_param_minimalWeight
Minimal weight for copying the hits.
std::string m_param_inputRecoTracksStoreArrayName
StoreArray name of the input reco tracks.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.