10#include <framework/core/Module.h>
11#include <framework/gearbox/Const.h>
12#include <framework/datastore/StoreArray.h>
13#include <tracking/dataobjects/RecoTrack.h>
14#include <mdst/dataobjects/MCParticle.h>
242 std::map<int, NDF>
m_ndf_by_detId = {{Const::PXD, 2}, {Const::SVD, 1}, {Const::CDC, 1}};
This module compares tracks generated by some pattern recognition algorithm for PXD,...
bool m_useCDCHits
Parameter : Switch whether CDCHits should be used in the matching.
StoreArray< SVDCluster > m_SVDClusters
StoreArray containing SVDClusters.
void initialize() final
Signal the beginning of the event processing.
std::string m_TracksStoreArrayName
Parameter : Name of the Tracks StoreArray.
int NDF
Descriptive type definition for a number of degrees of freedom.
bool m_mcParticlesPresent
Flag to indicated whether the Monte Carlo track are on the DataStore.
MCRecoTracksMatcherModule()
Constructor setting up the parameter.
StoreArray< RecoTrack > m_PRRecoTracks
StoreArray containing PR RecoTracks.
double m_minimalPurity
Parameter : Minimal purity of a PRTrack to be considered matchable to a MCTrack.
double m_minimalEfficiency
Parameter : Minimal efficiency for a MCTrack to be considered matchable to a PRTrack.
void event() final
Process the event.
bool m_useFittedTracks
Use fitted tracks for matching.
StoreArray< PXDCluster > m_PXDClusters
StoreArray containing PXDClusters.
bool m_usePXDHits
Parameter : Switch whether PXDHits should be used in the matching.
StoreArray< RecoTrack > m_MCRecoTracks
StoreArray containing MC RecoTracks.
std::string m_prRecoTracksStoreArrayName
Parameter : Name of the RecoTracks StoreArray from pattern recognition.
std::map< int, NDF > m_ndf_by_detId
Map storing the standard number degrees of freedom for a single hit by detector */.
bool m_useOnlyAxialCDCHits
Parameter : Switch whether only axial CDCHits should be used.
std::string m_mcRecoTracksStoreArrayName
Parameter : Name of the RecoTracks StoreArray from MC track finding.
StoreArray< MCParticle > m_MCParticles
StoreArray containing MCParticles.
StoreArray< CDCHit > m_CDCHits
StoreArray containing CDCHits.
bool m_useSVDHits
Parameter : Switch whether SVDHits should be used in the matching.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.