Belle II Software
release-08-01-10
|
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. More... | |
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. More... | |
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 underlaying hit (cluster). | |
virtual const genfit::AbsHMatrix * | constructHMatrix (const genfit::AbsTrackRep *rep) const override |
Construct the QP matrix. | |
int | getPlaneId () const |
virtual SharedPlanePtr | constructPlane (const StateOnPlane &state) const override |
Construct (virtual) detector plane (use state's AbsTrackRep). More... | |
virtual void | setPlane (const SharedPlanePtr &physicalPlane, int planeId=-1) |
void | setStripV (bool v=true) |
Use if the coordinate for 1D hits measured in V direction. More... | |
TrackPoint * | getTrackPoint () const |
void | setTrackPoint (TrackPoint *tp) |
const TVectorD & | getRawHitCoords () const |
TVectorD & | getRawHitCoords () |
const TMatrixDSym & | getRawHitCov () const |
TMatrixDSym & | getRawHitCov () |
int | getHitId () const |
virtual bool | isLeftRightMeasurement () const |
If the AbsMeasurement is a wire hit, the left/right resolution will be used. | |
virtual int | getLeftRightResolution () const |
unsigned int | getDim () const |
void | setRawHitCoords (const TVectorD &coords) |
void | setRawHitCov (const TMatrixDSym &cov) |
void | setDetId (int detId) |
void | setHitId (int hitId) |
virtual void | Print (const Option_t *="") const |
Protected Attributes | |
SharedPlanePtr | physicalPlane_ |
int | planeId_ |
This is persistent, but '!' makes ROOT shut up. | |
bool | stripV_ |
TVectorD | rawHitCoords_ |
TMatrixDSym | rawHitCov_ |
int | detId_ |
int | hitId_ |
TrackPoint * | trackPoint_ |
Pointer to TrackPoint where the measurement belongs to. | |
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. More... | |
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 |
Underlaying 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.
|
overridevirtualinherited |
Construct (virtual) detector plane (use state's AbsTrackRep).
It's possible to make corrections to the plane here. The state should be defined somewhere near the measurement. For virtual planes, the state will be extrapolated to the POCA to point (SpacepointMeasurement) or line (WireMeasurement), and from this info the plane will be constructed.
Implements AbsMeasurement.
Definition at line 46 of file PlanarMeasurement.cc.
|
inlineinherited |
Use if the coordinate for 1D hits measured in V direction.
Per default for 1D planar hits, the coordinate is measured in U direction. With this function you can set it to be measured in V direction. This affects the outcoe of constructHMatrix().
Definition at line 70 of file PlanarMeasurement.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.