11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13#include <tracking/dataobjects/RecoTrack.h>
40 virtual void event()
override;
Set momentum magnitude for RecoTracks to given value (for runs without magnetic field)
virtual void initialize() override
Register input and output data.
bool m_automatic
Detect the B-field at origin automatically - disable module if non-zero.
virtual void event() override
Loop over RecoTracks and set the momentum magnitude.
double m_momentum
Default momentum magnitude (GeV/c) to set for RecoTracks.
SetRecoTrackMomentumModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< RecoTrack > m_tracks
The array with RecoTracks to work with.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.