10#include <framework/core/Module.h>
11#include <framework/datastore/StoreArray.h>
12#include <mdst/dataobjects/MCParticle.h>
13#include <mdst/dataobjects/TrackFitResult.h>
15#include <genfit/Track.h>
59 virtual void event()
override;
65 virtual void endRun()
override;
Module to find Track correlation in cosmic events.
virtual void initialize() override
Use this to initialize resources or memory your module needs.
float t_p2MC
momentum in MC
virtual void event() override
Called once for each event.
virtual void endRun() override
Called once when a run ends.
virtual void terminate() override
Clean up anything you created in initialize().
const TrackFitResult * findRelatedTrackFitResult(const genfit::Track *gfTrack)
Find trackfit results in for the corresponding track.
virtual void beginRun() override
Called once before a new run begins.
CosmicsAlignmentValidationModule()
Constructor, for setting module description and parameters.
StoreArray< genfit::Track > m_GenfitTracks
Genfit tracks.
virtual ~CosmicsAlignmentValidationModule()
Use to clean up anything you created in the constructor.
float t_p1MC
momentum in MC
std::string m_gfTrackColName
m_gfTrackColName
StoreArray< MCParticle > m_MCParticles
MC particles.
std::string m_outputFileName
ouput filename string
Accessor to arrays stored in the data store.
Values of the result of a track fit with a given particle hypothesis.
Abstract base class for different kinds of events.