#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 28 of file TrackAssociatorByHitsImpl.h.
typedef std::pair<TrackingParticleRef, TrackPSimHitRef> TrackAssociatorByHitsImpl::SimHitTPPair |
Definition at line 27 of file TrackAssociatorByHitsImpl.h.
Enumerator | |
---|---|
denomnone | |
denomsim | |
denomreco |
Definition at line 25 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 92 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_, quality, submitPVValidationJobs::t, ThreeHitTracksAreSpecial, and HLT_2024v12_cff::track.
|
inlineoverride |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Definition at line 57 of file TrackAssociatorByHitsImpl.h.
|
override |
Definition at line 325 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_, quality, fileCollector::seed, edm::AssociationMap< Tag >::size(), submitPVValidationJobs::t, and ThreeHitTracksAreSpecial.
|
overridevirtual |
Association Sim To Reco with Collections.
Implements reco::TrackToTrackingParticleAssociatorBaseImpl.
Definition at line 169 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, quality, quality_SimToReco, FastTimerService_cff::range, DetId::rawId(), simHitsTPAssoc, SimHitTPAssociationProducer::simHitTPAssociationListGreater(), SimToRecoDenominator, DetId::subdetId(), submitPVValidationJobs::t, SiStripDetId::TEC, ThreeHitTracksAreSpecial, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, HLT_2024v12_cff::track, tTopo, UseGrouped, UsePixels, and UseSplitting.
|
inlineoverride |
compare reco to sim the handle of reco::Track and TrackingParticle collections
Definition at line 64 of file TrackAssociatorByHitsImpl.h.
|
override |
Definition at line 396 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_, quality, quality_SimToReco, fileCollector::seed, edm::AssociationMap< Tag >::size(), submitPVValidationJobs::t, and ThreeHitTracksAreSpecial.
|
private |
Definition at line 540 of file TrackAssociatorByHitsImpl.cc.
References associate, mps_fire::end, spr::find(), getHitPtr(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and submitPVValidationJobs::t.
|
inlineprivate |
Definition at line 102 of file TrackAssociatorByHitsImpl.h.
Referenced by getDoubleCount(), and getMatchedIds().
|
inlineprivate |
Definition at line 103 of file TrackAssociatorByHitsImpl.h.
|
private |
Definition at line 459 of file TrackAssociatorByHitsImpl.cc.
References associate, mps_fire::end, getHitPtr(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, and LogTrace.
|
private |
Definition at line 505 of file TrackAssociatorByHitsImpl.cc.
References submitPVResolutionJobs::count, spr::find(), dqmiolumiharvest::j, and submitPVValidationJobs::t.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 100 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 88 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), associateSimToReco(), getDoubleCount(), getMatchedIds(), SequenceTypes._ModuleSequenceType::remove(), and SequenceTypes._ModuleSequenceType::replace().
|
private |
Definition at line 95 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim().
|
private |
Definition at line 87 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 94 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 93 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 90 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 92 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 99 of file TrackAssociatorByHitsImpl.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 89 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 97 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 96 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().
|
private |
Definition at line 98 of file TrackAssociatorByHitsImpl.h.
Referenced by associateSimToReco().