10 #include <GenFit/DetPlane.h>
11 #include <GenFit/SharedPlanePtr.h>
12 #include <GenFit/StateOnPlane.h>
14 #include <TMatrixDSymfwd.h>
15 #include <TMatrixTSym.h>
16 #include <TVectorDfwd.h>
25 TVectorD hitCoords(nDim);
26 TMatrixDSym hitCov(nDim);
31 hitCov(0, 0) = du * du;
32 hitCov(1, 1) = dv * dv;
34 genfit::SharedPlanePtr
plane(
35 new genfit::DetPlane(pos, u, v));
37 int measurementCounter_ = 0;
38 _measurement =
new genfit::PlanarMeasurement(hitCoords, hitCov, -1,
42 static_cast<genfit::PlanarMeasurement*
>(
_measurement)->setPlane(plane, measurementCounter_);
47 init(pos, u, v, du, dv);
59 TVector3
u = n.Orthogonal();
60 TVector3
v = n.Cross(u);
61 init(pos, u, v, du, dv);