8#ifndef CDCTRIGGERMCMATCHERMODULE_H
9#define CDCTRIGGERMCMATCHERMODULE_H
11#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
15#include <trg/cdc/dataobjects/CDCTriggerTrack.h>
16#include <mdst/dataobjects/MCParticle.h>
38 virtual void event()
override;
A module to match CDCTriggerTracks to MCParticles.
CDCTriggerMCMatcherModule()
Constructor, for setting module description and parameters.
std::string m_MCParticleCollectionName
Name of the MCParticle StoreArray to be matched.
virtual ~CDCTriggerMCMatcherModule()
Destructor.
std::string m_MCTrackableCollectionName
Name of a new StoreArray holding MCParticles considered as trackable.
StoreArray< MCParticle > m_mcTracks
list of MCParticles considered as trackable
virtual void initialize() override
Initialize the module.
virtual void event() override
Called once for each event.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of hits that are used for the matching
double m_minPurity
minimum purity
bool m_axialOnly
switch for 2D matching
std::string m_TrgTrackCollectionName
Name of the CDCTriggerTrack Store Array to be matched.
int m_minStereo
minimum number of stereo hits to consider a MCParticle as trackable
double m_minEfficiency
minimum efficiency
StoreArray< MCParticle > m_mcParticles
list of MCParticles to be matched
bool m_onlyPrimaries
switch for ignoring secondary particles
int m_minAxial
minimum number of axial hits to consider a MCParticle as trackable
StoreArray< CDCTriggerTrack > m_prTracks
list of CDCTriggerTracks to be matched
std::string m_hitCollectionName
Name of the StoreArray containing the hits that are used for the matching.
bool m_relateClonesAndMerged
switch for creating relations for clones and merged tracks
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.