#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) | |
~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 |
Private Attributes | |
bool | debug_ |
edm::ESHandle< TransientTrackingRecHitBuilder > | theBuilder |
std::string | theBuilderName |
edm::ESHandle< TrackerGeometry > | theGeometry |
edm::ESHandle< MagneticField > | theMagField |
edm::ESHandle< TrackerTopology > | theTrkTopo |
bool | useInnermostState_ |
Definition at line 14 of file TrackMerger.h.
TrackMerger::TrackMerger | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 27 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 validateGeometry_cfg::valid.
Referenced by merge().
void TrackMerger::init | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 33 of file TrackMerger.cc.
References edm::EventSetup::get(), get, theBuilder, theBuilderName, theGeometry, theMagField, and theTrkTopo.
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, SurveyInfoScenario_cff::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 27 of file TrackMerger.h.
Referenced by merge().
|
private |
Definition at line 29 of file TrackMerger.h.
Referenced by init(), and sortByHitPosition().
|
private |
Definition at line 28 of file TrackMerger.h.
Referenced by init().
|
private |
Definition at line 24 of file TrackMerger.h.
|
private |
Definition at line 25 of file TrackMerger.h.
|
private |
Definition at line 30 of file TrackMerger.h.
Referenced by addSecondTrackHits(), init(), and merge().
|
private |
Definition at line 26 of file TrackMerger.h.
Referenced by merge().