Belle II Software  release-08-01-10
VXDMomentumEstimationMeasurementCreator< HitType, detector > Class Template Reference

Creator for VXDMeasurements with momentum estimation based on the dEdX information. More...

#include <VXDMomentumEstimationMeasurementCreator.h>

Inheritance diagram for VXDMomentumEstimationMeasurementCreator< HitType, detector >:
Collaboration diagram for VXDMomentumEstimationMeasurementCreator< HitType, detector >:

Public Member Functions

 VXDMomentumEstimationMeasurementCreator (const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory)
 Constructor.
 
virtual ~VXDMomentumEstimationMeasurementCreator ()
 Desctructor.
 
void setParameter (const std::string &parameterName, const std::string &parameterValue) override
 Set the parameters of the fit functions and whether to use the thickness or not or the tracking seeds or not.
 
std::vector< genfit::TrackPoint * > createMeasurementPoints (HitType *hit, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const override
 Create measurements based on coordinate measurements.
 

Protected Member Functions

virtual std::vector< genfit::AbsMeasurement * > createMeasurementFromCoordinateMeasurement (HitType *hit, const RecoTrack &recoTrack, const RecoHitInformation &, genfit::AbsMeasurement *coordinateMeasurement) const override
 Create a measurement based on the momentum estimation given by the VXDMomentumEstimation class.
 
genfit::AbsMeasurementcreateCoordinateMeasurement (HitType *hit, const RecoHitInformation &recoHitInformation) const
 You probably need a coordinate measurement on which you can base your measurements in createMeasurements. More...
 
genfit::TrackPointcreateTrackPointWithRecoHitInformation (genfit::AbsMeasurement *coordinateMeasurement, RecoTrack &recoTrack, const RecoHitInformation &recoHitInformation) const
 Helper: Create a TrackPoint from a measurement with a given RecoHitInformation.
 

Private Attributes

VXDMomentumEstimation< HitType >::FitParameters m_fitParameters
 Parameters for the main function.
 
VXDMomentumEstimation< HitType >::CorrectionFitParameters m_correctionFitParameters
 Parameters for the correction function. More...
 
bool m_useMCInformation = false
 Use the seeds of the track finder or the seeds of the MC particles.
 
bool m_useThickness = false
 Use the thickness of the clusters of the path length for estimating dX.
 
double m_minimumMomentum = 0.1
 Minimal value for the momentum below the estimation is used.
 
double m_sigma = 0.03
 Sigma of the measurement.
 
bool m_useTrackingSeeds = false
 Use the tracking seeds in the origin for calculating the path length rather than the current state.
 
const genfit::MeasurementFactory< genfit::AbsMeasurement > & m_measurementFactory
 A reference to the prefilled measurement factory.
 

Detailed Description

template<class HitType, Const::EDetector detector>
class Belle2::VXDMomentumEstimationMeasurementCreator< HitType, detector >

Creator for VXDMeasurements with momentum estimation based on the dEdX information.

Can use different possibilities to calculate the path length needed for the dEdX calculation. Needs the transformation fit parameters fitParameters and correctionFitParameters which can be calculated using the IPython notebook Analyse_Hitwise.ipynb.

Definition at line 27 of file VXDMomentumEstimationMeasurementCreator.h.

Member Function Documentation

◆ createCoordinateMeasurement()

genfit::AbsMeasurement * createCoordinateMeasurement ( HitType *  hit,
const RecoHitInformation recoHitInformation 
) const
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.

Parameters
hit
recoHitInformation
Returns
a coordinate AbsMeasurement as pointer.

Definition at line 21 of file BaseMeasurementCreatorFromHit.cc.

Member Data Documentation

◆ m_correctionFitParameters

VXDMomentumEstimation<HitType>::CorrectionFitParameters m_correctionFitParameters
private

Parameters for the correction function.

Set them to zero to not use a correction function.

Definition at line 107 of file VXDMomentumEstimationMeasurementCreator.h.


The documentation for this class was generated from the following file: