#include <TrackTransformer.h>
Private Member Functions | |
RefitDirection::GeometricalDirection | checkRecHitsOrdering (TransientTrackingRecHit::ConstRecHitContainer &) const |
edm::ESHandle< Propagator > | propagator () const |
Private Attributes | |
unsigned long long | theCacheId_GTG |
unsigned long long | theCacheId_MG |
unsigned long long | theCacheId_TC |
unsigned long long | theCacheId_TRH |
bool | theDoPredictionsOnly |
edm::ESHandle< TrajectoryFitter > | theFitter |
std::string | theFitterName |
edm::ESHandle< MagneticField > | theMGField |
edm::ESHandle < TransientTrackingRecHitBuilder > | theMuonRecHitBuilder |
std::string | theMuonRecHitBuilderName |
edm::ESHandle< Propagator > | thePropagator |
std::string | thePropagatorName |
RefitDirection | theRefitDirection |
bool | theRPCInTheFit |
edm::ESHandle< TrajectorySmoother > | theSmoother |
std::string | theSmootherName |
edm::ESHandle < TransientTrackingRecHitBuilder > | theTrackerRecHitBuilder |
std::string | theTrackerRecHitBuilderName |
edm::ESHandle < GlobalTrackingGeometry > | theTrackingGeometry |
This class takes a reco::Track and refits the rechits inside it. The final result is a Trajectory refitted and smoothed. To make the refitting (and the smoothing) the usual KF tools are used.
CAVEAT: till now (it will be changed in the near future) the class stores the pointers to the services, therefore EACH event the setServices(const edm::EventSetup&) method MUST be called in the code in which the TrackTransformer is used.
This class takes a reco::Track and refits the rechits inside it. The final result is a Trajectory refitted and smoothed. To make the refitting (and the smoothing) the usual KF tools are used.
CAVEAT: till now (it will be changed in the near future) the class stores the pointers to the services, therefore EACH event the setServices(const edm::EventSetup&) method MUST be called in the code in which the TrackTransformer is used.
Rec hits are ordered in rank of increasing |z| assuing muons are coming from the top of the detector.
$Date: 2009/01/15
author R. Bellan - CERN ricca modified for zed ordering by N. Kypreos - UF rdo. bella n@ce rn.chnicho las. theod ore. kypre os@c ern.c h
This class takes a reco::Track and refits the rechits inside it. The final result is a Trajectory refitted and smoothed. To make the refitting (and the smoothing) the usual KF tools are used.
CAVEAT: till now (it will be changed in the near future) the class stores the pointers to the services, therefore EACH event the setServices(const edm::EventSetup&) method MUST be called in the code in which the TrackTransformer is used.
Definition at line 39 of file TrackTransformer.h.
TrackTransformer::TrackTransformer | ( | const edm::ParameterSet & | parameterSet | ) |
Constructor.
Definition at line 29 of file TrackTransformer.cc.
References edm::ParameterSet::getParameter().
|
virtual |
|
private |
Definition at line 124 of file TrackTransformer.cc.
References first, RefitDirection::insideOut, prof2calltree::last, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), RefitDirection::outsideIn, position, and RefitDirection::undetermined.
TransientTrackingRecHit::ConstRecHitContainer TrackTransformer::getTransientRecHits | ( | const reco::TransientTrack & | track | ) | const |
Definition at line 101 of file TrackTransformer.cc.
References LogTrace, DetId::Muon, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), query::result, and DetId::Tracker.
|
inline |
the magnetic field
Definition at line 62 of file TrackTransformer.h.
References theMGField.
|
inlineprivate |
Definition at line 84 of file TrackTransformer.h.
References thePropagator.
|
inline |
the refitter used to refit the reco::Track
Definition at line 71 of file TrackTransformer.h.
References theFitter.
|
virtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 52 of file TrackTransformer.cc.
References edm::EventSetup::get(), LogTrace, and metname.
Referenced by MuonKinkFinder::init(), TrackerToMuonPropagator::produce(), CSCOverlapsAlignmentAlgorithm::run(), and GlobalTrajectoryBuilderBase::setEvent().
|
inline |
the smoother used to smooth the trajectory which came from the refitting step
Definition at line 74 of file TrackTransformer.h.
References theSmoother.
|
inline |
the tracking geometry
Definition at line 65 of file TrackTransformer.h.
References theTrackingGeometry.
|
virtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 156 of file TrackTransformer.cc.
References metname, and create_public_pileup_plots::transform.
Referenced by GlobalTrajectoryBuilderBase::build(), CSCPairResidualsConstraint::dphidzFromTrack(), MuonKinkFinder::fillTrkKink(), and TrackerToMuonPropagator::produce().
vector< Trajectory > TrackTransformer::transform | ( | const reco::TrackRef & | track | ) | const |
Convert a reco::TrackRef into Trajectory.
Definition at line 95 of file TrackTransformer.cc.
References create_public_pileup_plots::transform.
vector< Trajectory > TrackTransformer::transform | ( | const reco::TransientTrack | track, |
TransientTrackingRecHit::ConstRecHitContainer | recHitsForReFit | ||
) | const |
Convert a reco::TrackRef into Trajectory, refit with a new set of hits.
Convert Tracks into Trajectories with a given set of hits.
Definition at line 170 of file TrackTransformer.cc.
References alongMomentum, anyDirection, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), reco::Track::innerDetId(), reco::TransientTrack::innermostMeasurementState(), RefitDirection::insideOut, TrajectoryStateOnSurface::isValid(), LogTrace, metname, oppositeToMomentum, reco::Track::outerDetId(), reco::TransientTrack::outermostMeasurementState(), RefitDirection::outsideIn, AlCaHLTBitMon_ParallelJobs::p, position, LargeD0_PixelPairStep_cff::propagator, Trajectory::push(), TrajectoryStateOnSurface::surface(), reco::TransientTrack::track(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 88 of file TrackTransformer.h.
|
private |
Definition at line 89 of file TrackTransformer.h.
|
private |
Definition at line 87 of file TrackTransformer.h.
|
private |
Definition at line 90 of file TrackTransformer.h.
|
private |
Definition at line 94 of file TrackTransformer.h.
|
private |
Definition at line 101 of file TrackTransformer.h.
Referenced by refitter().
|
private |
Definition at line 100 of file TrackTransformer.h.
|
private |
Definition at line 98 of file TrackTransformer.h.
Referenced by magneticField().
|
private |
Definition at line 115 of file TrackTransformer.h.
|
private |
Definition at line 114 of file TrackTransformer.h.
|
private |
Definition at line 85 of file TrackTransformer.h.
Referenced by propagator().
|
private |
Definition at line 83 of file TrackTransformer.h.
|
private |
Definition at line 95 of file TrackTransformer.h.
|
private |
Definition at line 92 of file TrackTransformer.h.
|
private |
Definition at line 104 of file TrackTransformer.h.
Referenced by smoother().
|
private |
Definition at line 103 of file TrackTransformer.h.
|
private |
Definition at line 112 of file TrackTransformer.h.
|
private |
Definition at line 111 of file TrackTransformer.h.
|
private |
Definition at line 97 of file TrackTransformer.h.
Referenced by trackingGeometry().