#include <VirtualKinematicParticle.h>
Private Attributes | |
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 as a result of kinematic fit. uses the same state propagator as a TransientTrackKinematicParticle
Definition at line 14 of file VirtualKinematicParticle.h.
VirtualKinematicParticle::VirtualKinematicParticle | ( | const KinematicState & | kineState, |
float & | chiSquared, | ||
float & | degreesOfFr, | ||
KinematicConstraint * | lastConstraint, | ||
ReferenceCountingPointer< KinematicParticle > | previousParticle, | ||
KinematicStatePropagator * | pr | ||
) |
Constructor using KinematicState, Previous state of particle and last constraint used . 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 TransientTrackKinematicState is used.
Definition at line 4 of file VirtualKinematicParticle.cc.
References KinematicParticle::chi2, KinematicParticle::chiSquared(), KinematicParticle::cState, KinematicParticle::initState, KinematicParticle::lastConstraint(), KinematicParticle::lConstraint, KinematicState::magneticField(), KinematicParticle::ndf, KinematicParticle::previousParticle(), propagator, KinematicParticle::pState, and KinematicParticle::theField.
Referenced by refittedParticle().
|
override |
|
overridevirtual |
Implements KinematicParticle.
Definition at line 49 of file VirtualKinematicParticle.cc.
References trackingPlots::other.
|
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 31 of file VirtualKinematicParticle.cc.
References KinematicParticle::initialState(), and trackingPlots::other.
|
overridevirtual |
Implements KinematicParticle.
Definition at line 42 of file VirtualKinematicParticle.cc.
References trackingPlots::other.
|
overridevirtual |
Method returning LinearizedTrackState of the particle needed for Kalman flter vertex fit. This implementation uses the ParticleLinearizedTrackStateFactory class.
Implements KinematicParticle.
Definition at line 76 of file VirtualKinematicParticle.cc.
References ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(), linFactory, and point.
|
overridevirtual |
Method producing new particle with refitted parameters. Current state is then shifted to previous state. RCP<VirtualKinematicParticle> is returned.
Implements KinematicParticle.
Definition at line 66 of file VirtualKinematicParticle.cc.
References KinematicParticle::chi2, KinematicParticle::ndf, propagator, and VirtualKinematicParticle().
|
overridevirtual |
Access to KinematicState of particle at given point
Implements KinematicParticle.
Definition at line 57 of file VirtualKinematicParticle.cc.
References KinematicParticle::cState, KinematicState::kinematicParameters(), point, KinematicParameters::position(), KinematicStatePropagator::propagateToTheTransversePCA(), propagator, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 73 of file VirtualKinematicParticle.h.
Referenced by particleLinearizedTrackState().
|
private |
Definition at line 69 of file VirtualKinematicParticle.h.
Referenced by refittedParticle(), stateAtPoint(), VirtualKinematicParticle(), and ~VirtualKinematicParticle().