3 #include <Math/SMatrix.h>
4 #include <Math/MatrixFunctions.h>
16 static inline double sqr(
double arg) {
return arg *
arg; }
18 using namespace ROOT::Math;
20 typedef SVector<double, 3> Vector3;
22 typedef SMatrix<double, 3, 3, MatRepSym<double, 3> > Matrix3S;
23 typedef SMatrix<double, 6, 6, MatRepSym<double, 6> > Matrix6S;
24 typedef SMatrix<double, 3, 3> Matrix33;
25 typedef SMatrix<double, 3, 6> Matrix36;
40 using namespace ROOT::Math;
45 double rho2 = pred.
rho2();
53 Matrix33 pA = TensorProd(
b,
b);
54 Matrix33 pB = TensorProd(
b, ca);
57 jacobian.Place_at(-pA + Matrix33(SMatrixIdentity()), 0, 0);
58 jacobian.Place_at(pB /
rho, 0, 3);
61 if (withMeasurementError)
std::pair< GlobalPoint, GlobalError > Vertex
const GlobalPoint origin() const
static HepMC::IO_HEPEVT conv
Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const
CartesianError cartesianError(double lambda=0.) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
CovarianceMatrix covariance_
Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const
Square< F >::type sqr(const F &f)
const GlobalVector direction() const