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>
98 genfit::AbsMeasurement*
Base Class to create measurements based on a given hit related to the RecoTrack.
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.
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.
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.
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.
Abstract base class for different kinds of events.