 |
Belle II Software
release-05-01-25
|
11 #include <tracking/ckf/pxd/utilities/PXDKalmanStepper.h>
13 #include <tracking/ckf/pxd/entities/CKFToPXDState.h>
14 #include <pxd/reconstruction/PXDRecoHit.h>
22 const std::vector<genfit::MeasurementOnPlane*>& measurementsOnPlane = pxdRecoHit.constructMeasurementsOnPlane(
23 measuredStateOnPlane);
25 B2ASSERT(
"I expect exactly one measurement here", measurementsOnPlane.size() == 1);
30 delete measurementOnPlane;
39 const std::vector<genfit::MeasurementOnPlane*>& measurementsOnPlane = pxdRecoHit.constructMeasurementsOnPlane(
40 measuredStateOnPlane);
42 B2ASSERT(
"I expect exactly one measurement here", measurementsOnPlane.size() == 1);
47 delete measurementOnPlane;
double calculateResidual(genfit::MeasuredStateOnPlane &measuredStateOnPlane, const CKFToPXDState &state)
Calculate the residual between the mSoP and the measurement in the state.
#StateOnPlane with additional covariance matrix.
double kalmanStep(genfit::MeasuredStateOnPlane &measuredStateOnPlane, const genfit::MeasurementOnPlane &measurementOnPlane) const
Kalman update of the mSoP using the measurement. Is just a wrapper around the other kalmanStepper wor...
Specialized CKF State for extrapolating into the PXD.
double kalmanStep(genfit::MeasuredStateOnPlane &measuredStateOnPlane, const CKFToPXDState &state)
Do a kalman step of the mSoP to the measurement in the state. Returns the chi2.
PXDRecoHit - an extended form of PXDCluster containing geometry information.
KalmanStepper< 2 > m_kalmanStepper
Implementation using the general kalman stepper.
Abstract base class for different kinds of events.
double calculateResidual(genfit::MeasuredStateOnPlane &measuredStateOnPlane, const genfit::MeasurementOnPlane &measurementOnPlane) const
Helper function to calculate a residual between the mSoP and the measurement.
const std::vector< PXDRecoHit > & getRecoHits() const
Helper function for getting the already created reco hits (runtime reasons)
Measured coordinates on a plane.