#include <MultiTrajectoryStateTransform.h>
Public Member Functions | |
TrajectoryStateOnSurface | extrapolatedState (const TrajectoryStateOnSurface tsos, const GlobalPoint &point) const |
bool | innerMomentumFromMode (const reco::GsfTrack &tk, GlobalVector &momentum) const |
TrajectoryStateOnSurface | innerStateOnSurface (const reco::GsfTrack &tk) const |
TrajectoryStateOnSurface | innerStateOnSurface (const reco::GsfTrack &tk, const TrackingGeometry &geom, const MagneticField *field) const |
MultiTrajectoryStateTransform () | |
MultiTrajectoryStateTransform (const TrackingGeometry *geom, const MagneticField *field) | |
bool | outerMomentumFromMode (const reco::GsfTrack &tk, GlobalVector &momentum) const |
TrajectoryStateOnSurface | outerStateOnSurface (const reco::GsfTrack &tk) const |
TrajectoryStateOnSurface | outerStateOnSurface (const reco::GsfTrack &tk, const TrackingGeometry &geom, const MagneticField *field) const |
~MultiTrajectoryStateTransform () | |
Private Types | |
enum | { dimension = reco::GsfTrackExtra::dimension } |
typedef reco::GsfTrackExtra::LocalCovarianceMatrix | CovarianceMatrix |
typedef reco::GsfTrackExtra::LocalParameterVector | ParameterVector |
Private Member Functions | |
bool | checkExtrapolator () const |
bool | checkGeometry () const |
TrajectoryStateOnSurface | stateOnSurface (const std::vector< double > &weights, const std::vector< ParameterVector > ¶meters, const std::vector< CovarianceMatrix > &covariances, const double &pzSign, const Surface &surface, const MagneticField *field) const |
Private Attributes | |
TransverseImpactPointExtrapolator * | extrapolator_ |
const MagneticField * | field_ |
const TrackingGeometry * | geometry_ |
Definition at line 18 of file MultiTrajectoryStateTransform.h.
|
private |
Definition at line 21 of file MultiTrajectoryStateTransform.h.
|
private |
Definition at line 20 of file MultiTrajectoryStateTransform.h.
|
private |
Enumerator | |
---|---|
dimension |
Definition at line 22 of file MultiTrajectoryStateTransform.h.
|
inline |
Default constructor (deprecated) -> ES components have to be passed explicitely
Definition at line 27 of file MultiTrajectoryStateTransform.h.
|
inline |
Constructor from geometry and magnetic field
Definition at line 30 of file MultiTrajectoryStateTransform.h.
References checkExtrapolator(), checkGeometry(), extrapolatedState(), relativeConstraints::geom, innerMomentumFromMode(), innerStateOnSurface(), outerMomentumFromMode(), outerStateOnSurface(), metProducer_cfi::parameters, point, stateOnSurface(), create_public_lumi_plots::weights, and ~MultiTrajectoryStateTransform().
MultiTrajectoryStateTransform::~MultiTrajectoryStateTransform | ( | ) |
Destructor
Definition at line 17 of file MultiTrajectoryStateTransform.cc.
References extrapolator_.
Referenced by MultiTrajectoryStateTransform().
|
private |
On-demand creation of a TransverseImpactPointExtrapolator
Definition at line 127 of file MultiTrajectoryStateTransform.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, anyDirection, extrapolator_, and field_.
Referenced by extrapolatedState(), and MultiTrajectoryStateTransform().
|
private |
Verification of the presence of geometry and field
Definition at line 111 of file MultiTrajectoryStateTransform.cc.
References field_, and geometry_.
Referenced by innerStateOnSurface(), MultiTrajectoryStateTransform(), and outerStateOnSurface().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::extrapolatedState | ( | const TrajectoryStateOnSurface | tsos, |
const GlobalPoint & | point | ||
) | const |
Extrapolation to a point using the TransverseImpactPointExtrapolator
Definition at line 120 of file MultiTrajectoryStateTransform.cc.
References checkExtrapolator(), TransverseImpactPointExtrapolator::extrapolate(), and extrapolator_.
Referenced by GsfElectronAlgo::ElectronData::calculateTSOS(), EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackMomToPoint(), EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackPosToPoint(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), MultiTrajectoryStateTransform(), and EgammaHLTPixelMatchElectronAlgo::process().
bool MultiTrajectoryStateTransform::innerMomentumFromMode | ( | const reco::GsfTrack & | tk, |
GlobalVector & | momentum | ||
) | const |
Momentum vector from mode corresponding to the innermost state. Returns true for success.
Definition at line 39 of file MultiTrajectoryStateTransform.cc.
References MultiTrajectoryStateMode::momentumFromModeCartesian(), and outerStateOnSurface().
Referenced by MultiTrajectoryStateTransform().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::innerStateOnSurface | ( | const reco::GsfTrack & | tk | ) | const |
TrajectoryStateOnSurface from the innermost state of a reco::GsfTrack
Definition at line 26 of file MultiTrajectoryStateTransform.cc.
References checkGeometry(), field_, and geometry_.
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateTSOS(), GsfConstraintAtVertex::constrainAtPoint(), EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackMomToPoint(), EgammaHLTGsfTrackVarProducer::TrackExtrapolator::extrapolateTrackPosToPoint(), reco::GsfTransientTrack::innermostMeasurementState(), MultiTrajectoryStateTransform(), EgammaHLTPixelMatchElectronAlgo::process(), and PFElecTkProducer::produce().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::innerStateOnSurface | ( | const reco::GsfTrack & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field | ||
) | const |
TrajectoryStateOnSurface from the innermost state of a reco::GsfTrack passing geometry and magnetic field (deprecated: use field from constructor)
Definition at line 61 of file MultiTrajectoryStateTransform.cc.
References reco::Track::extra(), reco::GsfTrack::gsfExtra(), TrackingGeometry::idToDet(), stateOnSurface(), and GeomDet::surface().
bool MultiTrajectoryStateTransform::outerMomentumFromMode | ( | const reco::GsfTrack & | tk, |
GlobalVector & | momentum | ||
) | const |
Momentum vector from mode corresponding to the outermost state
Definition at line 32 of file MultiTrajectoryStateTransform.cc.
References MultiTrajectoryStateMode::momentumFromModeCartesian(), and outerStateOnSurface().
Referenced by MultiTrajectoryStateTransform().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::outerStateOnSurface | ( | const reco::GsfTrack & | tk | ) | const |
TrajectoryStateOnSurface from the outermost state of a reco::GsfTrack
Definition at line 20 of file MultiTrajectoryStateTransform.cc.
References checkGeometry(), field_, and geometry_.
Referenced by PFTrackTransformer::addPointsAndBrems(), GsfElectronAlgo::ElectronData::calculateTSOS(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), innerMomentumFromMode(), MultiTrajectoryStateTransform(), outerMomentumFromMode(), and reco::GsfTransientTrack::outermostMeasurementState().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::outerStateOnSurface | ( | const reco::GsfTrack & | tk, |
const TrackingGeometry & | geom, | ||
const MagneticField * | field | ||
) | const |
TrajectoryStateOnSurface from the outermost state of a reco::GsfTrack passing geometry and magnetic field (deprecated: use field from constructor)
Definition at line 46 of file MultiTrajectoryStateTransform.cc.
References reco::Track::extra(), reco::GsfTrack::gsfExtra(), TrackingGeometry::idToDet(), stateOnSurface(), and GeomDet::surface().
|
private |
TSOS from a mixture in local parameters
Definition at line 76 of file MultiTrajectoryStateTransform.cc.
References makeMuonMisalignmentScenario::components, dimension, and mps_fire::i.
Referenced by innerStateOnSurface(), MultiTrajectoryStateTransform(), and outerStateOnSurface().
|
mutableprivate |
Definition at line 77 of file MultiTrajectoryStateTransform.h.
Referenced by checkExtrapolator(), extrapolatedState(), and ~MultiTrajectoryStateTransform().
|
private |
Definition at line 76 of file MultiTrajectoryStateTransform.h.
Referenced by checkExtrapolator(), checkGeometry(), innerStateOnSurface(), and outerStateOnSurface().
|
private |
Definition at line 75 of file MultiTrajectoryStateTransform.h.
Referenced by checkGeometry(), innerStateOnSurface(), and outerStateOnSurface().