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);
60 return pair<bool,Measurement1D>(theIsValid,
A);
62 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
PreciseFloatType< T, U >::Type dot(const Vector3DBase< U, FrameTag > &v) const
const MagneticField * field() const
double covariance(int i, int j) const
(i, j)-th element of error matrix, i, j = 0, ... 2
ROOT::Math::SVector< double, 6 > AlgebraicVector6
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
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
TrajectoryStateOnSurface impactPointState() const