Belle II Software
release-08-01-10
|
Creator for VXDMeasurements with momentum estimation based on the dEdX information. More...
#include <VXDMomentumEstimationMeasurementCreator.h>
Public Member Functions | |
VXDMomentumEstimationMeasurementCreator (const genfit::MeasurementFactory< genfit::AbsMeasurement > &measurementFactory) | |
Constructor. | |
virtual | ~VXDMomentumEstimationMeasurementCreator () |
Desctructor. | |
void | setParameter (const std::string ¶meterName, const std::string ¶meterValue) 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::AbsMeasurement * | createCoordinateMeasurement (HitType *hit, const RecoHitInformation &recoHitInformation) const |
You probably need a coordinate measurement on which you can base your measurements in createMeasurements. More... | |
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 | |
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. | |
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.
|
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.
|
private |
Parameters for the correction function.
Set them to zero to not use a correction function.
Definition at line 107 of file VXDMomentumEstimationMeasurementCreator.h.