23#include <RKTrackRep.h>
35 :
AbsMeasurement(nDim), physicalPlane_(), planeId_(-1), stripV_(false)
41 :
AbsMeasurement(rawHitCoords, rawHitCov, detId, hitId, trackPoint), physicalPlane_(), planeId_(-1), stripV_(false)
49 Exception exc(
"PlanarMeasurement::constructPlane(): No plane has been set!", __LINE__,__FILE__);
62 std::vector<MeasurementOnPlane*> retVal;
63 retVal.push_back(mop);
70 if (
dynamic_cast<const RKTrackRep*
>(rep) == NULL) {
71 Exception exc(
"SpacepointMeasurement default implementation can only handle state vectors of type RKTrackRep!", __LINE__,__FILE__);
85 Exception exc(
"PlanarMeasurement default implementation can only handle 1D (strip) or 2D (pixel) measurements!", __LINE__,__FILE__);
91void PlanarMeasurement::Streamer(TBuffer &R__b)
98 if (R__b.IsReading()) {
99 Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) { }
102 baseClass0::Streamer(R__b);
111 R__b.CheckByteCount(R__s, R__c, thisClass::IsA());
113 R__c = R__b.WriteVersion(thisClass::IsA(), kTRUE);
116 baseClass0::Streamer(R__b);
124 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.
Exception class for error handling in GENFIT (provides storage for diagnostic information)
AbsHMatrix implementation for two-dimensional MeasurementOnPlane and RKTrackRep parameterization.
AbsHMatrix implementation for one-dimensional MeasurementOnPlane and RKTrackRep parameterization.
AbsHMatrix implementation for one-dimensional MeasurementOnPlane and RKTrackRep parameterization.
Measured coordinates on a plane.
Measurement class implementing a planar hit geometry (1 or 2D).
int planeId_
This is persistent, but '!' makes ROOT shut up.
virtual const AbsHMatrix * constructHMatrix(const AbsTrackRep *) const
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane(const StateOnPlane &state) const
PlanarMeasurement(int nDim=1)
SharedPlanePtr physicalPlane_
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.