Belle II Software development
|
Measurement class implementing a planar hit geometry (1 or 2D) with a momentum measurement based on the VXD dEdX information with setable parameters (see VXDMomentumEstimationMeasurementCreator). More...
#include <PlanarVXDMomentumMeasurement.h>
Public Member Functions | |
PlanarVXDMomentumMeasurement (const genfit::PlanarMeasurement &parentElement, HitType *hit, const Belle2::RecoTrack *recoTrack) | |
Initialize the momentum measurement with a planar measurement as a parent, the corresponding hit and the reco track to get information from. | |
virtual genfit::AbsMeasurement * | clone () const override |
Clone the measurement. | |
virtual std::vector< genfit::MeasurementOnPlane * > | constructMeasurementsOnPlane (const genfit::StateOnPlane &state) const override |
Construct the measurement on the plane set in the parent element. | |
void | setCorrectionFitParameters (const typename VXDMomentumEstimation< HitType >::CorrectionFitParameters &correctionFitParameters) |
Set the correction fit parameters. | |
void | setSigma (double sigma) |
Set the measurement sigma. | |
void | setFitParameters (const typename VXDMomentumEstimation< HitType >::FitParameters &fitParameters) |
Set the fit parameters. | |
void | setUseMCInformation (bool useMCInformation) |
Set whether to use mc information. | |
void | setUseThickness (bool useThickness) |
Set whether to use the thickness. | |
void | setUseTrackingSeeds (bool useTrackingSeeds) |
Set whether to use tracking seeds not the current state. | |
HitType * | getHit () const |
Get the underlying hit (cluster). | |
virtual const genfit::AbsHMatrix * | constructHMatrix (const genfit::AbsTrackRep *rep) const override |
Construct the QP matrix. | |
Private Member Functions | |
int | getDetId () const |
Return the detector ID. | |
int | getDetId () const |
Specialisation for PXD clusters. | |
int | getDetId () const |
Specialisation for SVD clusters. | |
Private Attributes | |
VXDMomentumEstimation< HitType >::FitParameters | m_fitParameters |
Parameters for the main function. | |
VXDMomentumEstimation< HitType >::CorrectionFitParameters | m_correctionFitParameters |
Parameters for the correction function. | |
bool | m_useThickness = false |
Use the thickness of the clusters of the path length for estimating dX. | |
bool | m_useMCInformation = true |
Use the seeds of the track finder or the seeds of the MC particles. | |
bool | m_useTrackingSeeds = false |
Use the tracking seeds in the origin for calculating the path length rather than the current state. | |
double | m_sigma = 0.03 |
Value of the measurement sigma. | |
HitType * | m_hit = nullptr |
Underlying hit/cluster. | |
const RecoTrack * | m_recoTrack = nullptr |
RecoTrack for which the hit is created. | |
Measurement class implementing a planar hit geometry (1 or 2D) with a momentum measurement based on the VXD dEdX information with setable parameters (see VXDMomentumEstimationMeasurementCreator).
Definition at line 27 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Initialize the momentum measurement with a planar measurement as a parent, the corresponding hit and the reco track to get information from.
The internal matrices are set accordingly.
Definition at line 34 of file PlanarVXDMomentumMeasurement.h.
|
inlineoverridevirtual |
Clone the measurement.
Reimplemented from PlanarMomentumMeasurement.
Definition at line 45 of file PlanarVXDMomentumMeasurement.h.
|
inlineoverridevirtualinherited |
Construct the QP matrix.
Definition at line 44 of file PlanarMomentumMeasurement.h.
|
inlineprivate |
Return the detector ID.
Definition at line 112 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Get the underlying hit (cluster).
Definition at line 87 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set the correction fit parameters.
Definition at line 51 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set the fit parameters.
Definition at line 63 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set the measurement sigma.
Definition at line 57 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set whether to use mc information.
Definition at line 69 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set whether to use the thickness.
Definition at line 75 of file PlanarVXDMomentumMeasurement.h.
|
inline |
Set whether to use tracking seeds not the current state.
Definition at line 81 of file PlanarVXDMomentumMeasurement.h.
|
private |
Parameters for the correction function.
Set them to zero to not use a correction function.
Definition at line 96 of file PlanarVXDMomentumMeasurement.h.
|
private |
Parameters for the main function.
Definition at line 94 of file PlanarVXDMomentumMeasurement.h.
|
private |
Underlying hit/cluster.
Definition at line 107 of file PlanarVXDMomentumMeasurement.h.
|
private |
RecoTrack for which the hit is created.
Definition at line 109 of file PlanarVXDMomentumMeasurement.h.
|
private |
Value of the measurement sigma.
Definition at line 104 of file PlanarVXDMomentumMeasurement.h.
|
private |
Use the seeds of the track finder or the seeds of the MC particles.
Definition at line 100 of file PlanarVXDMomentumMeasurement.h.
|
private |
Use the thickness of the clusters of the path length for estimating dX.
Definition at line 98 of file PlanarVXDMomentumMeasurement.h.
|
private |
Use the tracking seeds in the origin for calculating the path length rather than the current state.
Definition at line 102 of file PlanarVXDMomentumMeasurement.h.