Belle II Software  release-08-01-10
RecoTrackCreatorModule.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 <framework/datastore/StoreArray.h>
12 #include <tracking/dataobjects/RecoTrack.h>
13 #include <mdst/dataobjects/MCParticle.h>
14 #include <string>
15 
16 namespace Belle2 {
26  class RecoTrackCreatorModule : public Module {
27 
28  public:
31 
33  void initialize() override;
34 
36  void event() override;
37 
38  private:
39  std::string m_param_trackCandidatesStoreArrayName = "TrackCands";
43  std::string m_param_recoTracksStoreArrayName = "RecoTracks";
56 
60  };
62 }
63 
Base class for Modules.
Definition: Module.h:72
Module turning trackCands to reco tracks (will be unneeded once we create reco tracks from the beginn...
std::string m_param_bklmHitsStoreArrayName
StoreArray name of the BKLM hits.
std::string m_param_pxdHitsStoreArrayName
StoreArray name of the PXD hits.
void initialize() override
Initialize the needed StoreArrays and ensure they are created properly.
void event() override
Loop over all track candidates and create a recotrack.
std::string m_param_eklmHitsStoreArrayName
StoreArray name of the EKLM hits.
std::string m_param_recoTracksStoreArrayName
StoreArray name of the input and output reco tracks.
std::string m_param_svdHitsStoreArrayName
StoreArray name of the SVD hits.
std::string m_param_cdcHitsStoreArrayName
StoreArray name of the CDC hits.
RecoTrackCreatorModule()
Initilialize the module parameters.
std::string m_param_recoHitInformationStoreArrayName
StoreArray name of the output reco hit information.
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
std::string m_param_trackCandidatesStoreArrayName
StoreArray name of the input track candidates.
StoreArray< MCParticle > m_MCParticles
MCParticles StoreArray.
StoreArray< genfit::TrackCand > m_TrackCandidates
genfit::TrackCand StoreArray
bool m_param_recreateSortingParameters
Flag to recreate the sorting parameters of the hit out of the stored order.
Abstract base class for different kinds of events.