Belle II Software development
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
16namespace Belle2 {
24
25 public:
28
30 void initialize() override;
31
33 void event() override;
34
35 private:
36 std::string m_param_trackCandidatesStoreArrayName = "TrackCands";
40 std::string m_param_recoTracksStoreArrayName = "RecoTracks";
53
57 };
59}
60
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()
Initialize 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.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.