#include <TrackAssociatorByHitsImpl.h>
Public Types | |
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 |
edm::EDProductGetter const * | productGetter_ |
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 23 of file TrackAssociatorByHitsImpl.h.
typedef std::vector<SimHitTPPair> TrackAssociatorByHitsImpl::SimHitTPAssociationList |
Definition at line 30 of file TrackAssociatorByHitsImpl.h.
typedef std::pair<TrackingParticleRef, TrackPSimHitRef> TrackAssociatorByHitsImpl::SimHitTPPair |
Definition at line 29 of file TrackAssociatorByHitsImpl.h.
Enumerator | |
---|---|
denomnone | |
denomsim | |
denomreco |
Definition at line 27 of file TrackAssociatorByHitsImpl.h.
TrackAssociatorByHitsImpl::TrackAssociatorByHitsImpl | ( | edm::EDProductGetter const & | productGetter, |
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 93 of file TrackAssociatorByHitsImpl.cc.
References funct::abs(), AbsoluteNumberOfHits, associate, edm::RefToBaseVector< T >::begin(), cut_RecoToSim, edm::RefToBaseVector< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), edm::AssociationMap< Tag >::post_insert(), productGetter_, jets_cff::quality, lumiQTWidget::t, ThreeHitTracksAreSpecial, and HiIsolationCommonParameters_cff::track.
|
inlineoverride |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Definition at line 61 of file TrackAssociatorByHitsImpl.h.
|
override |
Definition at line 324 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(), productGetter_, jets_cff::quality, SurveyInfoScenario_cff::seed, edm::AssociationMap< Tag >::size(), lumiQTWidget::t, and ThreeHitTracksAreSpecial.
|
overridevirtual |
Association Sim To Reco with Collections.
Implements reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 170 of file TrackAssociatorByHitsImpl.cc.
References AbsoluteNumberOfHits, associate, edm::RefToBaseVector< T >::begin(), denomreco, denomsim, edm::RefToBaseVector< T >::end(), getShared(), edm::AssociationMap< Tag >::insert(), TrackerTopology::layer(), SiStripDetId::partnerDetId(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::AssociationMap< Tag >::post_insert(), productGetter_, purity_SimToReco, jets_cff::quality, quality_SimToReco, DetId::rawId(), simHitsTPAssoc, SimHitTPAssociationProducer::simHitTPAssociationListGreater(), SimToRecoDenominator, DetId::subdetId(), lumiQTWidget::t, SiStripDetId::TEC, ThreeHitTracksAreSpecial, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, HiIsolationCommonParameters_cff::track, tTopo, UseGrouped, UsePixels, and UseSplitting.
|
inlineoverride |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Definition at line 68 of file TrackAssociatorByHitsImpl.h.
|
override |
Definition at line 388 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(), productGetter_, jets_cff::quality, quality_SimToReco, SurveyInfoScenario_cff::seed, edm::AssociationMap< Tag >::size(), lumiQTWidget::t, and ThreeHitTracksAreSpecial.
|
private |
Definition at line 528 of file TrackAssociatorByHitsImpl.cc.
References TrackerHitAssociator::associateHitId(), end, spr::find(), and getHitPtr().
|
inlineprivate |
Definition at line 115 of file TrackAssociatorByHitsImpl.h.
Referenced by getDoubleCount(), and getMatchedIds().
|
inlineprivate |
Definition at line 116 of file TrackAssociatorByHitsImpl.h.
|
private |
Definition at line 445 of file TrackAssociatorByHitsImpl.cc.
References TrackerHitAssociator::associateHitId(), end, TrackingRecHit::geographicalId(), getHitPtr(), TrackingRecHit::isValid(), LogTrace, and DetId::rawId().
|
private |
Definition at line 493 of file TrackAssociatorByHitsImpl.cc.
References KineDebug3::count(), TrackingParticle::eventId(), spr::find(), and TrackingParticle::numberOfHits().
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 113 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 101 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), associateSimToReco(), SequenceTypes._ModuleSequenceType::remove(), and SequenceTypes._ModuleSequenceType::replace().
|
private |
Definition at line 108 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim().
|
private |
Definition at line 100 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 107 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 106 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 103 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 105 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 112 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 102 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 110 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 109 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 111 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().