#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, TrackingRecHit::geographicalId(), triggerObjects_cff::id, globals_cff::id2, TrackingRecHit::isValid(), TrackerTopology::layer(), PRINT, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), TrackingRecHit::sharesInput(), DetId::subdetId(), 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(), 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(), reco::TrackBase::algo(), alongMomentum, debug_, Disjoint, DPRINT, reco::TrackBase::eta(), TrackingRecHit::geographicalId(), hfClusterShapes_cfi::hits, triggerObjects_cff::id, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerPosition(), trajectoryStateTransform::innerStateOnSurface(), TrackingRecHit::isValid(), TrackerTopology::layer(), 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, groupFilesInBlocks::reverse, SurveyInfoScenario_cff::seed, TrackCandidate::setStopReason(), sortByHitPosition(), DetId::subdetId(), theGeometry, theMagField, theTrkTopo, useInnermostState_, and findQualityFiles::v.
|
private |
Definition at line 187 of file TrackMerger.cc.
References TransientTrackingRecHitBuilder::build(), mps_fire::i, nhits, edm::OwnVector< T, P >::push_back(), and theBuilder.
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().