20 #include "SpacepointMeasurement.h"
42 bool weightedPlaneContruction,
bool cutCov)
43 :
AbsMeasurement(rawHitCoords, rawHitCov, detId, hitId, trackPoint),
44 weightedPlaneContruction_(weightedPlaneContruction), cutCov_(cutCov)
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__);
137 void 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);