Belle II Software development
|
A measurement creator for normal coordinate measurements out of cdc/svd/pxd hits. More...
#include <CoordinateMeasurementCreator.h>
Public Member Functions | |
CoordinateMeasurementCreator (const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory) | |
Constructor. | |
std::vector< genfit::TrackPoint * > | createMeasurementPoints (HitType *hit, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const override |
Create measurements based on coordinate measurements. | |
virtual | ~CoordinateMeasurementCreator () |
Destructor. | |
virtual void | setParameter (const std::string ¶meterName, const std::string ¶meterValue) |
Use this to set the parameters of the creator. | |
Protected Member Functions | |
genfit::AbsMeasurement * | createCoordinateMeasurement (HitType *hit, const RecoHitInformation &recoHitInformation) const |
You probably need a coordinate measurement on which you can base your measurements in createMeasurements. | |
genfit::TrackPoint * | createTrackPointWithRecoHitInformation (genfit::AbsMeasurement *coordinateMeasurement, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const |
Helper: Create a TrackPoint from a measurement with a given RecoHitInformation. | |
Private Attributes | |
const genfit::MeasurementFactory< genfit::AbsMeasurement > & | m_measurementFactory |
A reference to the prefilled measurement factory. | |
A measurement creator for normal coordinate measurements out of cdc/svd/pxd hits.
Definition at line 22 of file CoordinateMeasurementCreator.h.
|
explicit |
Constructor.
Definition at line 13 of file CoordinateMeasurementCreator.cc.
|
inlinevirtual |
|
protectedinherited |
You probably need a coordinate measurement on which you can base your measurements in createMeasurements.
This function uses the measurementFactory to create one. Please be aware that this creates two new objects on the heap: the measurement and the track point. If you do not plan to use those two in a track, please delete them! The track point can be deleted by accessing the measurements GetTrackPoints function.
hit | |
recoHitInformation |
Definition at line 21 of file BaseMeasurementCreatorFromHit.cc.
|
overridevirtual |
Create measurements based on coordinate measurements.
Implements BaseMeasurementCreatorFromHit< HitType, detector >.
Definition at line 18 of file CoordinateMeasurementCreator.cc.
|
protectedinherited |
Helper: Create a TrackPoint from a measurement with a given RecoHitInformation.
Definition at line 32 of file BaseMeasurementCreatorFromHit.cc.
|
inlinevirtualinherited |
Use this to set the parameters of the creator.
Does nothing per default.
Reimplemented in VXDMomentumEstimationMeasurementCreator< HitType, detector >.
Definition at line 47 of file BaseMeasurementCreator.h.
|
privateinherited |
A reference to the prefilled measurement factory.
Definition at line 72 of file BaseMeasurementCreatorFromHit.h.