#include <TrackMerger.h>
Classes | |
class | GlobalMomentumSort |
class | MomentumSort |
Public Member Functions | |
void | init (const edm::EventSetup &iSetup) |
TrackCandidate | merge (const reco::Track &inner, const reco::Track &outer, DuplicateTrackType duplicateType) const |
TrackMerger (const edm::ParameterSet &iConfig, edm::ConsumesCollector) | |
~TrackMerger () | |
Private Member Functions | |
void | addSecondTrackHits (std::vector< const TrackingRecHit * > &hits, const reco::Track &outer) const |
void | sortByHitPosition (const GlobalVector &v, const std::vector< const TrackingRecHit * > &hits, TrackCandidate::RecHitContainer &ownHits) const |
Definition at line 19 of file TrackMerger.h.
TrackMerger::TrackMerger | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | cc | ||
) |
Definition at line 22 of file TrackMerger.cc.
TrackMerger::~TrackMerger | ( | ) |
Definition at line 32 of file TrackMerger.cc.
|
private |
Definition at line 147 of file TrackMerger.cc.
References TrackingRecHit::all, TrackingRecHit::geographicalId(), gpuClustering::id, TrackingRecHit::isValid(), PRINT, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), TrackingRecHit::sharesInput(), DetId::subdetId(), and theTrkTopo.
Referenced by merge().
void TrackMerger::init | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 34 of file TrackMerger.cc.
References builderToken_, geometryToken_, edm::EventSetup::getHandle(), magFieldToken_, theBuilder, theGeometry, theMagField, theTrkTopo, and trackerTopoToken_.
TrackCandidate TrackMerger::merge | ( | const reco::Track & | inner, |
const reco::Track & | outer, | ||
DuplicateTrackType | duplicateType | ||
) | const |
Definition at line 41 of file TrackMerger.cc.
References funct::abs(), addSecondTrackHits(), reco::TrackBase::algo(), alongMomentum, debug_, Disjoint, DPRINT, reco::TrackBase::eta(), TrackingRecHit::geographicalId(), gpuClustering::id, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerPosition(), trajectoryStateTransform::innerStateOnSurface(), edm::ESHandleBase::isValid(), TrackingRecHit::isValid(), reco::TrackBase::momentum(), nhits, oppositeToMomentum, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerPosition(), trajectoryStateTransform::outerStateOnSurface(), Overlapping, AlCaHLTBitMon_ParallelJobs::p, trajectoryStateTransform::persistentState(), PRINT, edm::OwnVector< T, P >::push_back(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::Track::recHitsSize(), edm::OwnVector< T, P >::reserve(), runTheMatrix::ret, fileCollector::seed, TrackCandidate::setStopReason(), sortByHitPosition(), DetId::subdetId(), theGeometry, theMagField, theTrkTopo, useInnermostState_, and findQualityFiles::v.
|
private |
Definition at line 188 of file TrackMerger.cc.
References mps_fire::i, nhits, edm::OwnVector< T, P >::push_back(), and theBuilder.
Referenced by merge().
|
private |
Definition at line 38 of file TrackMerger.h.
Referenced by init().
|
private |
Definition at line 32 of file TrackMerger.h.
Referenced by merge().
|
private |
Definition at line 36 of file TrackMerger.h.
Referenced by init().
|
private |
Definition at line 37 of file TrackMerger.h.
Referenced by init().
|
private |
Definition at line 34 of file TrackMerger.h.
Referenced by init(), and sortByHitPosition().
|
private |
Definition at line 33 of file TrackMerger.h.
|
private |
Definition at line 29 of file TrackMerger.h.
|
private |
Definition at line 30 of file TrackMerger.h.
|
private |
Definition at line 35 of file TrackMerger.h.
Referenced by addSecondTrackHits(), init(), and merge().
|
private |
Definition at line 39 of file TrackMerger.h.
Referenced by init().
|
private |
Definition at line 31 of file TrackMerger.h.
Referenced by merge().