10 #include <tracking/trackFitting/measurementCreator/creators/BaseMeasurementCreator.h>
11 #include <tracking/dataobjects/RecoHitInformation.h>
13 #include <genfit/MeasurementFactory.h>
15 #include <framework/gearbox/Const.h>
39 template <
class HitType, Const::EDetector detector>
Base Class to create measurements based on a given hit related to the RecoTrack.
genfit::AbsMeasurement * createCoordinateMeasurement(HitType *hit, const RecoHitInformation &recoHitInformation) const
You probably need a coordinate measurement on which you can base your measurements in createMeasureme...
virtual ~BaseMeasurementCreatorFromHit()
Destructor.
BaseMeasurementCreatorFromHit(const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory)
Creates a MeasurementCreator which handles the creation of measurements of a given kind.
std::vector< genfit::TrackPoint * > createMeasurementPoints(RecoTrack &) const override final
We do not need this method in this overload.
const genfit::MeasurementFactory< genfit::AbsMeasurement > & m_measurementFactory
A reference to the prefilled measurement factory.
genfit::TrackPoint * createTrackPointWithRecoHitInformation(genfit::AbsMeasurement *coordinateMeasurement, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const
Helper: Create a TrackPoint from a measurement with a given RecoHitInformation.
virtual std::vector< genfit::TrackPoint * > createMeasurementPoints(HitType *hit, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const =0
Overload this method to create measurement track points from a given hit.
Base class for all measurement creators.
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
This is the Reconstruction Event-Data Model Track.
Contains the measurement and covariance in raw detector coordinates.
Object containing AbsMeasurement and AbsFitterInfo objects.
Abstract base class for different kinds of events.
Defines for I/O streams used for error and debug printing.