1 #ifndef TrackGenAssociatorByChi2Impl_h 2 #define TrackGenAssociatorByChi2Impl_h 59 for (
unsigned int j = 0;
j < tCH->size();
j++)
63 for (
unsigned int j = 0;
j < tPCH->size();
j++)
66 return associateRecoToGen(tc, tpc);
73 for (
unsigned int j = 0;
j < tCH->size();
j++)
77 for (
unsigned int j = 0;
j < tPCH->size();
j++)
80 return associateGenToReco(tc, tpc);
93 double associateRecoToSim(reco::TrackCollection::const_iterator,
94 TrackingParticleCollection::const_iterator,
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
TrackGenAssociatorByChi2Impl(const MagneticField &mF, const reco::BeamSpot &bs, double chi2Cut, bool onlyDiag)
Constructor with PSet.
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::GenParticleCollection, edm::View< reco::Track >, double > > GenToRecoCollection
reco::GenToRecoCollection associateGenToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< reco::GenParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and GenParticle collections
math::Vector< dimension >::type ParameterVector
parameter vector
const MagneticField * theMF
const reco::BeamSpot * theBeamSpot
reco::RecoToGenCollection associateRecoToGen(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< reco::GenParticleCollection > &tPCH) const override
compare reco to sim the handle of reco::Track and GenParticle collections
std::map< double, SimTrack > Chi2SimMap
std::vector< RecoToSimPair > RecoToSimPairAssociation
std::pair< reco::Track, Chi2SimMap > RecoToSimPair
void push_back(const RefToBase< T > &)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, reco::GenParticleCollection, double > > RecoToGenCollection
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix