Belle II Software development
|
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 () |
Destructor. | |
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. | |
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. | |
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.
|
inlineexplicit |
Constructor.
Definition at line 30 of file VXDMomentumEstimationMeasurementCreator.h.
|
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.
|
inlineoverrideprotectedvirtual |
Create a measurement based on the momentum estimation given by the VXDMomentumEstimation class.
Implements BaseMeasurementCreatorFromCoordinateMeasurement< HitType, detector >.
Definition at line 74 of file VXDMomentumEstimationMeasurementCreator.h.
|
inlineoverridevirtualinherited |
Create measurements based on coordinate measurements.
Implements BaseMeasurementCreatorFromHit< HitType, detector >.
Definition at line 33 of file BaseMeasurementCreatorFromCoordinateMeasurement.h.
|
protectedinherited |
Helper: Create a TrackPoint from a measurement with a given RecoHitInformation.
Definition at line 32 of file BaseMeasurementCreatorFromHit.cc.
|
inlineoverridevirtual |
Set the parameters of the fit functions and whether to use the thickness or not or the tracking seeds or not.
Reimplemented from BaseMeasurementCreator.
Definition at line 37 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Parameters for the correction function.
Set them to zero to not use a correction function.
Definition at line 107 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Parameters for the main function.
Definition at line 105 of file VXDMomentumEstimationMeasurementCreator.h.
|
privateinherited |
A reference to the prefilled measurement factory.
Definition at line 72 of file BaseMeasurementCreatorFromHit.h.
|
private |
Minimal value for the momentum below the estimation is used.
Definition at line 113 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Sigma of the measurement.
Definition at line 115 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Use the seeds of the track finder or the seeds of the MC particles.
Definition at line 109 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Use the thickness of the clusters of the path length for estimating dX.
Definition at line 111 of file VXDMomentumEstimationMeasurementCreator.h.
|
private |
Use the tracking seeds in the origin for calculating the path length rather than the current state.
Definition at line 117 of file VXDMomentumEstimationMeasurementCreator.h.