Go to the documentation of this file. 1 #ifndef TrackAssociatorByChi2Impl_h
2 #define TrackAssociatorByChi2Impl_h
79 return TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(tCH, tPCH);
86 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
TrackAssociatorByChi2Impl(edm::EDProductGetter const &productGetter, const MagneticField &mF, const reco::BeamSpot &bs, double chi2Cut, bool onlyDiag)
Constructor.
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
edm::EDProductGetter const * productGetter_
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
EDProductGetter const * productGetter(std::atomic< void const * > const &iCache)
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