12 #include "CLHEP/Vector/ThreeVector.h"
13 #include "CLHEP/Vector/LorentzVector.h"
14 #include "CLHEP/Matrix/Vector.h"
53 double E2 = ROOT::Math::Similarity(j, vertex.
covariance());
55 theError =
sqrt(E1 + E2);
59 return pair<bool, Measurement1D>(theIsValid,
A);
61 return pair<bool, Measurement1D>(theIsValid,
Measurement1D(0., 0.));
static std::pair< bool, Measurement1D > apply(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
double y() const
y coordinate
Global3DPoint GlobalPoint
const CartesianTrajectoryError cartesianError() const
GlobalPoint globalPosition() const
const MagneticField * field() const
PreciseFloatType< T, U >::Type dot(const Vector3DBase< U, FrameTag > &v) const
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
double z() const
z coordinate
const AlgebraicSymMatrix66 & matrix() const
Vector3DBase unit() const
static TrajectoryStateOnSurface closestApproachToJet(const FreeTrajectoryState &, const reco::Vertex &, const GlobalVector &, const MagneticField *)
double x() const
x coordinate
ROOT::Math::SVector< double, 3 > AlgebraicVector3
ROOT::Math::SVector< double, 6 > AlgebraicVector6
TrajectoryStateOnSurface impactPointState() const