Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-18 09:15:30

0001 #ifndef SimTracker_TrackAssociation_trackAssociationChi2_h
0002 #define SimTracker_TrackAssociation_trackAssociationChi2_h
0003 
0004 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
0005 #include "DataFormats/GeometryVector/interface/Basic3DVector.h"
0006 #include "DataFormats/TrackReco/interface/TrackBase.h"
0007 #include "MagneticField/Engine/interface/MagneticField.h"
0008 #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
0009 
0010 namespace track_associator {
0011   /// basic method where chi2 is computed
0012   double trackAssociationChi2(const reco::TrackBase::ParameterVector &rParameters,
0013                               const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix,
0014                               const reco::TrackBase::ParameterVector &sParameters);
0015 
0016   double trackAssociationChi2(const reco::TrackBase::ParameterVector &rParameters,
0017                               const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix,
0018                               const Basic3DVector<double> &momAtVtx,
0019                               const Basic3DVector<double> &vert,
0020                               int charge,
0021                               const MagneticField &magfield,
0022                               const reco::BeamSpot &bs);
0023 
0024   double trackAssociationChi2(const reco::TrackBase::ParameterVector &rParameters,
0025                               const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix,
0026                               const TrackingParticle &trackingParticle,
0027                               const MagneticField &magfield,
0028                               const reco::BeamSpot &bs);
0029 
0030   double trackAssociationChi2(const reco::TrackBase &track,
0031                               const TrackingParticle &trackingParticle,
0032                               const MagneticField &magfield,
0033                               const reco::BeamSpot &bs);
0034 }  // namespace track_associator
0035 
0036 #endif