#include <TransientTrackKinematicParticle.h>
Private Attributes | |
const reco::TransientTrack * | inTrack |
ParticleKinematicLinearizedTrackStateFactory | linFactory |
KinematicStatePropagator * | propagator |
Additional Inherited Members | |
Public Types inherited from KinematicParticle | |
typedef ReferenceCountingPointer < LinearizedTrackState< 6 > > | RefCountedLinearizedTrackState |
Protected Member Functions inherited from KinematicParticle | |
virtual void | setTreePointer (KinematicTree *tr) const |
Protected Attributes inherited from KinematicParticle | |
float | chi2 |
KinematicState | cState |
KinematicState | initState |
KinematicConstraint * | lConstraint |
float | ndf |
ReferenceCountingPointer < KinematicParticle > | pState |
const MagneticField * | theField |
KinematicTree * | tree |
Class representing KinematicParticle created fromTransientTrack. Uses specific KinematicState builders and propagators. Extends KinematicParticle class implementing its abstract methods and adding several new ones.
Definition at line 17 of file TransientTrackKinematicParticle.h.
TransientTrackKinematicParticle::TransientTrackKinematicParticle | ( | const KinematicState & | kineState, |
float & | chiSquared, | ||
float & | degreesOfFr, | ||
KinematicConstraint * | lastConstraint, | ||
ReferenceCountingPointer< KinematicParticle > | previousParticle, | ||
KinematicStatePropagator * | pr, | ||
const reco::TransientTrack * | initialTrack = nullptr |
||
) |
Constructor using KinematicState, Previous state of particle last constraint used and original TransientTrack, if any. All the pointers can be set to 0 if there's no such information available. Constructor should be use by specific factory only. Propagator for TransientTrack KinematicState is used.
Definition at line 6 of file TransientTrackKinematicParticle.cc.
References HLT_FULL_cff::chi2, KinematicStatePropagator::clone(), KinematicState::magneticField(), HLT_FULL_cff::propagator, and MainPageGenerator::tree.
|
override |
Definition at line 34 of file TransientTrackKinematicParticle.cc.
References HLT_FULL_cff::propagator.
const TransientTrack * TransientTrackKinematicParticle::initialTransientTrack | ( | ) | const |
Access to initial TransientTrack (if any)
Definition at line 82 of file TransientTrackKinematicParticle.cc.
Referenced by KinematicVertex::operator reco::Vertex(), operator==(), and KinematicParticleFactoryFromTransientTrack::particle().
|
overridevirtual |
Implements KinematicParticle.
Definition at line 62 of file TransientTrackKinematicParticle.cc.
|
overridevirtual |
Comparison by contents operator Returns TRUE if initial TransientTracks match(if they exist). If not, compares the initial KinematicStates Retunes true if they match.
Implements KinematicParticle.
Definition at line 36 of file TransientTrackKinematicParticle.cc.
References KinematicParticle::initialState(), and initialTransientTrack().
|
overridevirtual |
Implements KinematicParticle.
Definition at line 55 of file TransientTrackKinematicParticle.cc.
|
overridevirtual |
Method returning LinearizedTrackState of the particle needed for Kalman flter vertex fit. This implementation uses the ParticleLinearizedTrackStateFactory class.
Implements KinematicParticle.
Definition at line 92 of file TransientTrackKinematicParticle.cc.
|
overridevirtual |
Method producing new particle with refitted parameters. Current state is then shifted to previous state. RCP<TransientTrackKinematicParticle> is returned.
Implements KinematicParticle.
Definition at line 84 of file TransientTrackKinematicParticle.cc.
References HLT_FULL_cff::propagator.
|
overridevirtual |
Access to KinematicState of particle at given point
Implements KinematicParticle.
Definition at line 70 of file TransientTrackKinematicParticle.cc.
References HLT_FULL_cff::propagator, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 78 of file TransientTrackKinematicParticle.h.
|
private |
Definition at line 85 of file TransientTrackKinematicParticle.h.
|
private |
Definition at line 81 of file TransientTrackKinematicParticle.h.