#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 31 of file TrackMerger.cc.
|
private |
Definition at line 146 of file TrackMerger.cc.
References TrackingRecHit::all, hfClusterShapes_cfi::hits, triggerObjects_cff::id, globals_cff::id2, TrackerTopology::layer(), SurfaceOrientation::outer, PRINT, theTrkTopo, and RunInfoPI::valid.
Referenced by merge().
void TrackMerger::init | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 33 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 40 of file TrackMerger.cc.
References funct::abs(), addSecondTrackHits(), alongMomentum, debug_, Disjoint, DPRINT, hfClusterShapes_cfi::hits, triggerObjects_cff::id, SurfaceOrientation::inner, trajectoryStateTransform::innerStateOnSurface(), TrackerTopology::layer(), nhits, oppositeToMomentum, SurfaceOrientation::outer, trajectoryStateTransform::outerStateOnSurface(), Overlapping, AlCaHLTBitMon_ParallelJobs::p, trajectoryStateTransform::persistentState(), PRINT, edm::OwnVector< T, P >::push_back(), edm::OwnVector< T, P >::reserve(), runTheMatrix::ret, groupFilesInBlocks::reverse, fileCollector::seed, sortByHitPosition(), DetId::subdetId(), theGeometry, theMagField, theTrkTopo, useInnermostState_, and findQualityFiles::v.
|
private |
Definition at line 187 of file TrackMerger.cc.
References TransientTrackingRecHitBuilder::build(), hfClusterShapes_cfi::hits, mps_fire::i, nhits, edm::OwnVector< T, P >::push_back(), theBuilder, and findQualityFiles::v.
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().