1 #ifndef SimTracker_TrackAssociatorProducers_TrackAssociatorByHitsImpl_h 2 #define SimTracker_TrackAssociatorProducers_TrackAssociatorByHitsImpl_h 29 typedef std::pair<TrackingParticleRef, TrackPSimHitRef>
SimHitTPPair;
34 std::unique_ptr<TrackerHitAssociator> iAssociate,
36 SimHitTPAssociationList
const* iSimHitsTPAssoc,
38 double iQuality_SimToReco,
39 double iPurity_SimToReco,
40 double iCut_RecoToSim,
63 return TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(tCH,tPCH);
70 return TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(tCH,tPCH);
83 template<
typename iter>
84 void getMatchedIds(std::vector<SimHitIdpr>&,
85 std::vector<SimHitIdpr>&,
91 int getShared(std::vector<SimHitIdpr>&,
92 std::vector<SimHitIdpr>&,
95 template<
typename iter>
SimToRecoDenomType SimToRecoDenominator
const double quality_SimToReco
edm::EDProductGetter const * productGetter_
std::unique_ptr< TrackerHitAssociator > associate
EDProductGetter const * productGetter(std::atomic< void const * > const &iCache)
SimHitTPAssociationList const * simHitsTPAssoc
std::pair< TrackingParticleRef, TrackPSimHitRef > SimHitTPPair
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
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
std::vector< SimHitTPPair > SimHitTPAssociationList
const TrackingRecHit * getHitPtr(edm::OwnVector< TrackingRecHit >::const_iterator iter) const
const bool AbsoluteNumberOfHits
const double purity_SimToReco
Monte Carlo truth information used for tracking validation.
const TrackingRecHit * getHitPtr(trackingRecHit_iterator iter) const
const bool ThreeHitTracksAreSpecial
TrackerTopology const * tTopo
const double cut_RecoToSim
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection