#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 |
MultiTrajectoryStateTransform () | |
MultiTrajectoryStateTransform (const TrackingGeometry *geom, const MagneticField *field) | |
bool | outerMomentumFromMode (const reco::GsfTrack &tk, GlobalVector &momentum) const |
TrajectoryStateOnSurface | outerStateOnSurface (const reco::GsfTrack &tk) const |
~MultiTrajectoryStateTransform () | |
Static Public Member Functions | |
static TrajectoryStateOnSurface | innerStateOnSurface (const reco::GsfTrack &tk, const TrackingGeometry &geom, const MagneticField *field) |
static TrajectoryStateOnSurface | outerStateOnSurface (const reco::GsfTrack &tk, const TrackingGeometry &geom, const MagneticField *field) |
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 |
Static Private Member Functions | |
static 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) |
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 26 of file MultiTrajectoryStateTransform.h.
|
inline |
Constructor from geometry and magnetic field
Definition at line 28 of file MultiTrajectoryStateTransform.h.
MultiTrajectoryStateTransform::~MultiTrajectoryStateTransform | ( | ) |
Destructor
Definition at line 17 of file MultiTrajectoryStateTransform.cc.
References extrapolator_.
|
private |
On-demand creation of a TransverseImpactPointExtrapolator
Definition at line 109 of file MultiTrajectoryStateTransform.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, anyDirection, extrapolator_, and field_.
Referenced by extrapolatedState().
|
private |
Verification of the presence of geometry and field
Definition at line 96 of file MultiTrajectoryStateTransform.cc.
References field_, and geometry_.
Referenced by innerStateOnSurface(), and outerStateOnSurface().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::extrapolatedState | ( | const TrajectoryStateOnSurface | tsos, |
const GlobalPoint & | point | ||
) | const |
Extrapolation to a point using the TransverseImpactPointExtrapolator
Definition at line 104 of file MultiTrajectoryStateTransform.cc.
References checkExtrapolator(), TransverseImpactPointExtrapolator::extrapolate(), extrapolator_, and point.
Referenced by GsfElectronAlgo::ElectronData::calculateTSOS(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), and EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()().
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 31 of file MultiTrajectoryStateTransform.cc.
References multiTrajectoryStateMode::momentumFromModeCartesian(), and outerStateOnSurface().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::innerStateOnSurface | ( | const reco::GsfTrack & | tk | ) | const |
TrajectoryStateOnSurface from the innermost state of a reco::GsfTrack
Definition at line 23 of file MultiTrajectoryStateTransform.cc.
References checkGeometry(), field_, and geometry_.
Referenced by PFTrackTransformer::addPointsAndBrems(), EopElecTreeWriter::analyze(), GsfElectronAlgo::ElectronData::calculateTSOS(), GsfConstraintAtVertex::constrainAtPoint(), reco::GsfTransientTrack::innermostMeasurementState(), EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()(), and PFElecTkProducer::produce().
|
static |
TrajectoryStateOnSurface from the innermost state of a reco::GsfTrack passing geometry and magnetic field (deprecated: use field from constructor)
Definition at line 49 of file MultiTrajectoryStateTransform.cc.
References reco::Track::extra(), relativeConstraints::geom, reco::GsfTrack::gsfExtra(), and stateOnSurface().
bool MultiTrajectoryStateTransform::outerMomentumFromMode | ( | const reco::GsfTrack & | tk, |
GlobalVector & | momentum | ||
) | const |
Momentum vector from mode corresponding to the outermost state
Definition at line 27 of file MultiTrajectoryStateTransform.cc.
References multiTrajectoryStateMode::momentumFromModeCartesian(), and outerStateOnSurface().
TrajectoryStateOnSurface MultiTrajectoryStateTransform::outerStateOnSurface | ( | const reco::GsfTrack & | tk | ) | const |
TrajectoryStateOnSurface from the outermost state of a reco::GsfTrack
Definition at line 19 of file MultiTrajectoryStateTransform.cc.
References checkGeometry(), field_, and geometry_.
Referenced by PFTrackTransformer::addPointsAndBrems(), EopElecTreeWriter::analyze(), GsfElectronAlgo::ElectronData::calculateTSOS(), GsfElectronAlgo::ElectronData::getEleBasicCluster(), innerMomentumFromMode(), EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()(), outerMomentumFromMode(), and reco::GsfTransientTrack::outermostMeasurementState().
|
static |
TrajectoryStateOnSurface from the outermost state of a reco::GsfTrack passing geometry and magnetic field (deprecated: use field from constructor)
Definition at line 35 of file MultiTrajectoryStateTransform.cc.
References reco::Track::extra(), relativeConstraints::geom, reco::GsfTrack::gsfExtra(), and stateOnSurface().
|
staticprivate |
TSOS from a mixture in local parameters
Definition at line 63 of file MultiTrajectoryStateTransform.cc.
References makeMuonMisalignmentScenario::components, dimension, mps_fire::i, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by innerStateOnSurface(), and outerStateOnSurface().
|
mutableprivate |
Definition at line 74 of file MultiTrajectoryStateTransform.h.
Referenced by checkExtrapolator(), extrapolatedState(), and ~MultiTrajectoryStateTransform().
|
private |
Definition at line 73 of file MultiTrajectoryStateTransform.h.
Referenced by checkExtrapolator(), checkGeometry(), innerStateOnSurface(), and outerStateOnSurface().
|
private |
Definition at line 72 of file MultiTrajectoryStateTransform.h.
Referenced by checkGeometry(), innerStateOnSurface(), and outerStateOnSurface().