20 #include "PlanarMeasurement.h"
40 :
AbsMeasurement(rawHitCoords, rawHitCov, detId, hitId, trackPoint), physicalPlane_(), planeId_(-1), stripV_(
false)
48 Exception exc(
"PlanarMeasurement::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) ==
nullptr) {
70 Exception exc(
"SpacepointMeasurement default implementation can only handle state vectors of type RKTrackRep!", __LINE__,__FILE__);
84 Exception exc(
"PlanarMeasurement default implementation can only handle 1D (strip) or 2D (pixel) measurements!", __LINE__,__FILE__);
90 void PlanarMeasurement::Streamer(TBuffer &R__b)
95 typedef ::genfit::PlanarMeasurement thisClass;
97 if (R__b.IsReading()) {
98 Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) { }
101 baseClass0::Streamer(R__b);
110 R__b.CheckByteCount(R__s, R__c, thisClass::IsA());
112 R__c = R__b.WriteVersion(thisClass::IsA(), kTRUE);
115 baseClass0::Streamer(R__b);
123 R__b.SetByteCount(R__c, kTRUE);