16 chi2 = ROOT::Math::Dot(diffParameters * recoTrackCovMatrix, diffParameters);
19 LogDebug(
"TrackAssociator") <<
"====NEW RECO TRACK WITH PT=" <<
sin(rParameters[1]) / rParameters[0] <<
"====\n" 20 <<
"qoverp sim: " << sParameters[0] <<
"\n" 21 <<
"lambda sim: " << sParameters[1] <<
"\n" 22 <<
"phi sim: " << sParameters[2] <<
"\n" 23 <<
"dxy sim: " << sParameters[3] <<
"\n" 24 <<
"dsz sim: " << sParameters[4] <<
"\n" 26 <<
"qoverp rec: " << rParameters[0] <<
"\n" 27 <<
"lambda rec: " << rParameters[1] <<
"\n" 28 <<
"phi rec: " << rParameters[2] <<
"\n" 29 <<
"dxy rec: " << rParameters[3] <<
"\n" 30 <<
"dsz rec: " << rParameters[4] <<
"\n" 32 <<
"chi2: " <<
chi2 <<
"\n";
45 std::pair<bool, reco::TrackBase::ParameterVector>
params =
62 const auto tpMom = trackingParticle.
momentum();
73 auto cov =
track.covariance();
constexpr double deltaPhi(double phi1, double phi2)
Vector momentum() const
spatial momentum vector
Sin< T >::type sin(const T &t)
math::Vector< dimension >::type ParameterVector
parameter vector
std::pair< bool, reco::TrackBase::ParameterVector > trackingParametersAtClosestApproachToBeamSpot(const Basic3DVector< double > &vertex, const Basic3DVector< double > &momAtVtx, float charge, const MagneticField &magField, const BeamSpot &bs)
Monte Carlo truth information used for tracking validation.
constexpr double invalidChi2
double trackAssociationChi2(const reco::TrackBase::ParameterVector &rParameters, const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix, const reco::TrackBase::ParameterVector &sParameters)
basic method where chi2 is computed
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix
Point vertex() const
Parent vertex position.
float charge() const
Electric charge. Note this is taken from the first SimTrack only.