1 #ifndef TrackGenAssociatorByChi2Impl_h 2 #define TrackGenAssociatorByChi2Impl_h 68 for (
unsigned int j=0; j<tCH->size();j++)
72 for (
unsigned int j=0; j<tPCH->size();j++)
75 return associateRecoToGen(tc,tpc);
82 for (
unsigned int j=0; j<tCH->size();j++)
86 for (
unsigned int j=0; j<tPCH->size();j++)
89 return associateGenToReco(tc,tpc);
104 double associateRecoToSim(reco::TrackCollection::const_iterator,
105 TrackingParticleCollection::const_iterator,
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
std::vector< RecoToSimPair > RecoToSimPairAssociation
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
std::pair< reco::Track, Chi2SimMap > RecoToSimPair
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
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