8#ifndef CDCTRIGGERRECOHITMATCHERMODULE_H
9#define CDCTRIGGERRECOHITMATCHERMODULE_H
11#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
15#include <tracking/dataobjects/RecoTrack.h>
17#include <mdst/dataobjects/Track.h>
18#include <mdst/dataobjects/MCParticle.h>
40 virtual void event()
override;
A module to match CDCTriggerTracks to RecoTracks.
virtual ~CDCTriggerRecoHitMatcherModule()
Destructor.
StoreArray< MCParticle > m_recoTrackable
list of MCParticles where x and p is overriden with the matched RecoTrack values
std::string m_MCParticleCollectionName
Name of the MCParticle StoreArray to be matched.
StoreArray< Track > m_mdstTracks
list of mdst Tracks
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.
CDCTriggerRecoHitMatcherModule()
Constructor, for setting module description and parameters.
std::string m_RecoTrackCollectionName
Name of the RecoTrack StoreArray to be matched.
virtual void event() override
Called once for each event.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of hits that are used for the matching
std::string m_RecoTrackableCollectionName
Name of the StoreArray holding primary MCParticle matched to a RecoTrack, but the vertex and momentum...
std::string m_TrackCollectionName
Name of a new StoreArray holding Tracks.
StoreArray< RecoTrack > m_recoTracks
list of RecoTracks to be matched
StoreArray< MCParticle > m_mcParticles
list of MCParticles to be matched
std::string m_hitCollectionName
Name of the StoreArray containing the hits that are used for the matching.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.