#include <RecoTracker/TrackExtrapolator/src/TrackExtrapolator.cc>
Public Member Functions | |
TrackExtrapolator (const edm::ParameterSet &) | |
~TrackExtrapolator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
bool | propagateTrackToVolume (const reco::Track &fTrack, const MagneticField &fField, const Propagator &fPropagator, const FiducialVolume &volume, reco::TrackBase::Point &resultPos, reco::TrackBase::Vector &resultMom) |
track quality of the tracks we care about More... | |
Private Attributes | |
const edm::ESGetToken< DetIdAssociator, DetIdAssociatorRecord > | ecalDetIdAssociatorToken_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | fieldToken_ |
Input tracks. More... | |
const edm::ESGetToken< Propagator, TrackingComponentsRecord > | propagatorToken_ |
const reco::TrackBase::TrackQuality | trackQuality_ |
const edm::EDGetTokenT< reco::TrackCollection > | tracksSrc_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: Extrapolates tracks to Calo Face. Migrating this functionality from RecoJets/JetAssociationAlgorithms/JetTracksAssociatorDRCalo.h, which will now essentially be defunct.
Implementation:
Definition at line 58 of file TrackExtrapolator.h.
|
explicit |
Definition at line 8 of file TrackExtrapolator.cc.
References Exception, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, trackQuality_, and reco::TrackBase::undefQuality.
|
override |
Definition at line 23 of file TrackExtrapolator.cc.
|
overrideprivate |
Definition at line 30 of file TrackExtrapolator.cc.
References ecalDetIdAssociatorToken_, j2tParametersCALO_cfi::extrapolations, fieldToken_, edm::EventSetup::getData(), goodTracks_cfi::goodTracks, iEvent, eostools::move(), propagateTrackToVolume(), TrackCandidateProducer_cfi::propagator, propagatorToken_, StandaloneTrackMonitor_cfi::trackQuality, trackQuality_, and tracksSrc_.
|
private |
track quality of the tracks we care about
Propagate a track to a given radius, given the magnetic field and the propagator. Store the resulting position, momentum, and direction.
Definition at line 72 of file TrackExtrapolator.cc.
References Plane::build(), Cylinder::build(), reco::TrackBase::charge(), reco::Track::extra(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), edm::Ref< C, T, F >::isAvailable(), TrajectoryStateOnSurface::isValid(), FiducialVolume::minR(), FiducialVolume::minZ(), gpuPixelDoublets::minz, reco::Track::outerPx(), reco::Track::outerPy(), reco::Track::outerPz(), reco::Track::outerX(), reco::Track::outerY(), reco::Track::outerZ(), Propagator::propagate(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), reco::btau::trackMomentum, reco::TrackBase::vx(), reco::TrackBase::vy(), reco::TrackBase::vz(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 71 of file TrackExtrapolator.h.
Referenced by produce().
|
private |
|
private |
Definition at line 70 of file TrackExtrapolator.h.
Referenced by produce().
|
private |
Definition at line 72 of file TrackExtrapolator.h.
Referenced by produce(), and TrackExtrapolator().
|
private |
Definition at line 68 of file TrackExtrapolator.h.
Referenced by produce().