Go to the documentation of this file. 1 #ifndef TrackAssociatorByChi2Impl_h
2 #define TrackAssociatorByChi2Impl_h
71 return TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(tCH, tPCH);
78 return TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(tCH, tPCH);
double getChi2(const reco::TrackBase::ParameterVector &rParameters, const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix, const Basic3DVector< double > &momAtVtx, const Basic3DVector< double > &vert, int charge, const reco::BeamSpot &) const
basic method where chi2 is computed
reco::RecoToSimCollection associateRecoToSim(const edm::RefToBaseVector< reco::Track > &, const edm::RefVector< TrackingParticleCollection > &) const override
Association Reco To Sim with Collections.
std::vector< RecoToSimPair > RecoToSimPairAssociation
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
std::pair< reco::Track, Chi2SimMap > RecoToSimPair
reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and TrackingParticle collections
math::Vector< dimension >::type ParameterVector
parameter vector
reco::SimToRecoCollection associateSimToReco(const edm::RefToBaseVector< reco::Track > &, const edm::RefVector< TrackingParticleCollection > &) const override
Association Sim To Reco with Collections.
reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and TrackingParticle collections
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::GenParticleCollection, edm::View< reco::Track >, double > > GenToRecoCollection
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, reco::GenParticleCollection, double > > RecoToGenCollection
std::map< double, SimTrack > Chi2SimMap
const MagneticField * theMF
const reco::BeamSpot * theBeamSpot
TrackAssociatorByChi2Impl(const MagneticField &mF, const reco::BeamSpot &bs, double chi2Cut, bool onlyDiag)
Constructor.