23#include <RKTrackRep.h>
40 :
AbsMeasurement(state.getState(), state.getCov(), detId, hitId, trackPoint), plane_(state.getPlane())
48 Exception exc(
"FullMeasurement::constructPlane(): No plane has been set!", __LINE__,__FILE__);
61 std::vector<MeasurementOnPlane*> retVal;
62 retVal.push_back(mop);
69 if (
dynamic_cast<const RKTrackRep*
>(rep) == NULL) {
70 Exception exc(
"SpacepointMeasurement default implementation can only handle state vectors of type RKTrackRep!", __LINE__,__FILE__);
78void FullMeasurement::Streamer(TBuffer &R__b)
85 if (R__b.IsReading()) {
86 Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) { }
89 baseClass0::Streamer(R__b);
94 plane_.reset(
new DetPlane());
97 R__b.CheckByteCount(R__s, R__c, thisClass::IsA());
99 R__c = R__b.WriteVersion(thisClass::IsA(), kTRUE);
102 baseClass0::Streamer(R__b);
109 R__b.SetByteCount(R__c, kTRUE);
HMatrix for projecting from AbsTrackRep parameters to measured parameters in a DetPlane.
Contains the measurement and covariance in raw detector coordinates.
Abstract base class for a track representation.
virtual unsigned int getDim() const =0
Get the dimension of the state vector used by the track representation.
Exception class for error handling in GENFIT (provides storage for diagnostic information)
Measurement class implementing a measurement of all track parameters.
FullMeasurement(int nDim=5)
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane(const StateOnPlane &state) const
virtual const AbsHMatrix * constructHMatrix(const AbsTrackRep *) const
AbsHMatrix implementation for 5-dimensional MeasurementOnPlane and RKTrackRep parameterization.
StateOnPlane with additional covariance matrix.
Measured coordinates on a plane.
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u', v', u, v)
A state with arbitrary dimension defined in a DetPlane.
const AbsTrackRep * getRep() const
const SharedPlanePtr & getPlane() const
Object containing AbsMeasurement and AbsFitterInfo objects.
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.