#include <TrackAssociatorByHitsImpl.h>
Public Types | |
typedef std::vector< std::pair < OmniClusterRef, TrackingParticleRef > > | ClusterTPAssociationList |
typedef std::vector< SimHitTPPair > | SimHitTPAssociationList |
typedef std::pair < TrackingParticleRef, TrackPSimHitRef > | SimHitTPPair |
enum | SimToRecoDenomType { denomnone, denomsim, denomreco } |
Private Member Functions | |
template<typename iter > | |
int | getDoubleCount (iter, iter, TrackerHitAssociator *, TrackingParticle const &) const |
const TrackingRecHit * | getHitPtr (edm::OwnVector< TrackingRecHit >::const_iterator iter) const |
const TrackingRecHit * | getHitPtr (trackingRecHit_iterator iter) const |
template<typename iter > | |
void | getMatchedIds (std::vector< SimHitIdpr > &, std::vector< SimHitIdpr > &, int &, iter, iter, TrackerHitAssociator *) const |
int | getShared (std::vector< SimHitIdpr > &, std::vector< SimHitIdpr > &, TrackingParticle const &) const |
Private Attributes | |
const bool | AbsoluteNumberOfHits |
std::unique_ptr < TrackerHitAssociator > | associate |
const double | cut_RecoToSim |
const double | purity_SimToReco |
const double | quality_SimToReco |
SimHitTPAssociationList const * | simHitsTPAssoc |
SimToRecoDenomType | SimToRecoDenominator |
const bool | ThreeHitTracksAreSpecial |
TrackerTopology const * | tTopo |
const bool | UseGrouped |
const bool | UsePixels |
const bool | UseSplitting |
Definition at line 19 of file TrackAssociatorByHitsImpl.h.
typedef std::vector<std::pair<OmniClusterRef, TrackingParticleRef> > TrackAssociatorByHitsImpl::ClusterTPAssociationList |
Definition at line 25 of file TrackAssociatorByHitsImpl.h.
typedef std::vector<SimHitTPPair> TrackAssociatorByHitsImpl::SimHitTPAssociationList |
Definition at line 27 of file TrackAssociatorByHitsImpl.h.
typedef std::pair<TrackingParticleRef, TrackPSimHitRef> TrackAssociatorByHitsImpl::SimHitTPPair |
Definition at line 26 of file TrackAssociatorByHitsImpl.h.
Enumerator | |
---|---|
denomnone | |
denomsim | |
denomreco |
Definition at line 23 of file TrackAssociatorByHitsImpl.h.
TrackAssociatorByHitsImpl::TrackAssociatorByHitsImpl | ( | std::unique_ptr< TrackerHitAssociator > | iAssociate, |
TrackerTopology const * | iTopo, | ||
SimHitTPAssociationList const * | iSimHitsTPAssoc, | ||
SimToRecoDenomType | iSimToRecoDenominator, | ||
double | iQuality_SimToReco, | ||
double | iPurity_SimToReco, | ||
double | iCut_RecoToSim, | ||
bool | iUsePixels, | ||
bool | iUseGrouped, | ||
bool | iUseSplitting, | ||
bool | ThreeHitTracksAreSpecial, | ||
bool | AbsoluteNumberOfHits | ||
) |
Definition at line 33 of file TrackAssociatorByHitsImpl.cc.
|
overridevirtual |
Association Reco To Sim with Collections.
Implements reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 91 of file TrackAssociatorByHitsImpl.cc.
References funct::abs(), AbsoluteNumberOfHits, associate, edm::RefToBaseVector< T >::begin(), edm::AssociationMap< Tag >::clear(), cut_RecoToSim, edm::RefToBaseVector< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), edm::AssociationMap< Tag >::post_insert(), HLT_25ns14e33_v1_cff::quality, edmStreamStallGrapher::t, and ThreeHitTracksAreSpecial.
|
inlineoverridevirtual |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Reimplemented from reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 57 of file TrackAssociatorByHitsImpl.h.
|
overridevirtual |
Reimplemented from reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 322 of file TrackAssociatorByHitsImpl.cc.
References funct::abs(), AbsoluteNumberOfHits, associate, edm::View< T >::begin(), cut_RecoToSim, edm::View< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), LogTrace, edm::AssociationMap< Tag >::post_insert(), edm::Handle< T >::product(), HLT_25ns14e33_v1_cff::quality, fileCollector::seed, edm::AssociationMap< Tag >::size(), edmStreamStallGrapher::t, and ThreeHitTracksAreSpecial.
|
overridevirtual |
Association Sim To Reco with Collections.
Implements reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 168 of file TrackAssociatorByHitsImpl.cc.
References AbsoluteNumberOfHits, associate, edm::RefToBaseVector< T >::begin(), edm::AssociationMap< Tag >::clear(), denomreco, denomsim, edm::RefToBaseVector< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), TrackerTopology::layer(), SiStripDetId::partnerDetId(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::AssociationMap< Tag >::post_insert(), purity_SimToReco, HLT_25ns14e33_v1_cff::quality, quality_SimToReco, DetId::rawId(), simHitsTPAssoc, SimHitTPAssociationProducer::simHitTPAssociationListGreater(), SimToRecoDenominator, DetId::subdetId(), edmStreamStallGrapher::t, SiStripDetId::TEC, ThreeHitTracksAreSpecial, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, tTopo, UseGrouped, UsePixels, and UseSplitting.
|
inlineoverridevirtual |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Reimplemented from reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 64 of file TrackAssociatorByHitsImpl.h.
|
overridevirtual |
Reimplemented from reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 386 of file TrackAssociatorByHitsImpl.cc.
References AbsoluteNumberOfHits, associate, edm::View< T >::begin(), edm::View< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), LogTrace, edm::AssociationMap< Tag >::post_insert(), edm::Handle< T >::product(), HLT_25ns14e33_v1_cff::quality, quality_SimToReco, fileCollector::seed, edm::AssociationMap< Tag >::size(), edmStreamStallGrapher::t, and ThreeHitTracksAreSpecial.
|
private |
Definition at line 526 of file TrackAssociatorByHitsImpl.cc.
References TrackerHitAssociator::associateHitId(), end, spr::find(), getHitPtr(), and getDQMSummary::iter.
|
inlineprivate |
Definition at line 110 of file TrackAssociatorByHitsImpl.h.
References getDQMSummary::iter.
Referenced by getDoubleCount(), and getMatchedIds().
|
inlineprivate |
|
private |
Definition at line 443 of file TrackAssociatorByHitsImpl.cc.
References TrackerHitAssociator::associateHitId(), end, TrackingRecHit::geographicalId(), getHitPtr(), TrackingRecHit::isValid(), getDQMSummary::iter, j, LogTrace, and DetId::rawId().
|
private |
Definition at line 491 of file TrackAssociatorByHitsImpl.cc.
References prof2calltree::count, TrackingParticle::eventId(), spr::find(), j, and TrackingParticle::numberOfHits().
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 108 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 96 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 103 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim().
|
private |
Definition at line 102 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 101 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 98 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 100 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 107 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 97 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 105 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 104 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 106 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().