23 #include <RKTrackRep.h>
54 TVector3 wireDirection = wire2 - wire1;
55 wireDirection.SetMag(1.);
61 TVector3 dirInPoca = rep->
getMom(st);
66 if (fabs(wireDirection.Angle(dirInPoca)) < 0.01){
67 Exception exc(
"WireMeasurement::detPlane(): Cannot construct detector plane, direction is parallel to wire", __LINE__,__FILE__);
72 TVector3 U = dirInPoca.Cross(wireDirection);
112 std::vector<MeasurementOnPlane*> retVal;
113 retVal.push_back(mopL);
114 retVal.push_back(mopR);
119 if (dynamic_cast<const RKTrackRep*>(rep) ==
nullptr) {
120 Exception exc(
"WirePointMeasurement default implementation can only handle state vectors of type RKTrackRep!", __LINE__,__FILE__);