10#include <ecl/dataobjects/ECLConnectedRegion.h>
11#include <ecl/dataobjects/ECLShower.h>
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <mdst/dataobjects/KLMCluster.h>
15#include <mdst/dataobjects/Track.h>
16#include <tracking/dataobjects/RecoTrack.h>
35 void event()
override;
Module use to select two cosmic tracks event and merger these two tracks become one.
void MergingTracks(RecoTrack *, RecoTrack *, StoreArray< RecoTrack > &)
Merge cosmic tracks.
void initialize() override
Register the store arrays and store obj pointers.
unsigned int m_minimumNumHitCut
Number of CDC hit per track required for cosmic track.
void event() override
Do the selection.
StoreArray< ECLConnectedRegion > m_ECLConnectedRegions
ECL connected regions.
double m_magnitudeOfMomentumWithoutMagneticField
Magnitude of cosmic tracks if magnetic field is not used.
std::string m_param_recoTracksStoreArrayName
StoreArray name from which to read the reco tracks.
bool m_usingMagneticField
Flag to using magnetic field during reconstruction.
StoreArray< KLMCluster > m_KLMClusters
KLM clusters.
std::string m_param_mergedRecoTracksStoreArrayName
StoreArray name where the merged reco track is written.
unsigned int m_minimumClusterSize
Minimal PXD cluster size for used PXD hits in cosmic track.
StoreArray< RecoTrack > m_RecoTracks
RecoTracks.
StoreArray< Track > m_Tracks
Tracks.
MergerCosmicTracksModule()
Create a new instance of the module.
StoreArray< RecoTrack > m_MergedRecoTracks
Merged RecoTracks.
This is the Reconstruction Event-Data Model Track.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.