42 bool weightedPlaneContruction,
bool cutCov)
43 :
AbsMeasurement(rawHitCoords, rawHitCov, detId, hitId, trackPoint),
76 TMatrixDSym& V = mop->
getCov();
78 const TVector3& o(state.
getPlane()->getO());
79 const TVector3& u(state.
getPlane()->getU());
80 const TVector3& v(state.
getPlane()->getV());
114 std::vector<MeasurementOnPlane*> retVal;
115 retVal.push_back(mop);
121 if (
dynamic_cast<const RKTrackRep*
>(rep) ==
nullptr) {
122 Exception exc(
"SpacepointMeasurement default implementation can only handle state vectors of type RKTrackRep!", __LINE__,__FILE__);
137void SpacepointMeasurement::Streamer(TBuffer &R__b)
141 if (R__b.IsReading()) {
142 R__b.ReadClassBuffer(genfit::SpacepointMeasurement::Class(),
this);
147 R__b.WriteClassBuffer(genfit::SpacepointMeasurement::Class(),
this);
HMatrix for projecting from AbsTrackRep parameters to measured parameters in a DetPlane.
Abstract base class for a track representation.
Exception class for error handling in GENFIT (provides storage for diagnostic information)
AbsHMatrix implementation for two-dimensional MeasurementOnPlane and RKTrackRep parameterization.
const TMatrixDSym & getCov() const
Measured coordinates on a plane.
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u', v', u, v)
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane(const StateOnPlane &state) const override
bool weightedPlaneContruction_
bool cutCov_
inverse of 3x3 cov
virtual const AbsHMatrix * constructHMatrix(const AbsTrackRep *) const override
SpacepointMeasurement(int nDim=3)
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const override
Contruct the virtual detector plane.
A state with arbitrary dimension defined in a DetPlane.
const TVectorD & getState() const
double extrapolateToPoint(const TVector3 &point, bool stopAtBoundary=false, bool calcJacobianNoise=false)
const AbsTrackRep * getRep() const
const SharedPlanePtr & getPlane() const
Object containing AbsMeasurement and AbsFitterInfo objects.
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.