10#include <framework/core/Module.h>
11#include <framework/datastore/StoreArray.h>
12#include <tracking/dataobjects/RecoTrack.h>
33 void event()
override;
Module use to select two cosmic tracks event and merger these two tracks become one.
void initialize() override
Register the store arrays and store obj pointers.
void event() override
Do the selection.
CDCCosmicTrackMergerModule()
Create a new instance of the module.
std::string m_param_recoTracksStoreArrayName
StoreArray name from which to read the reco tracks.
std::string m_param_MergedRecoTracksStoreArrayName
StoreArray name where the merged reco track is written.
double m_MinimumNumHitCut
Minium NDF required for each track (up and down).
StoreArray< RecoTrack > m_RecoTracks
Tracks.
bool m_param_deleteOtherRecoTracks
Flag to delete the not RecoTracks from the input StoreArray.
StoreArray< RecoTrack > m_MergedRecoTracks
Merged tracks.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.