#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 5 of file VirtualKinematicParticle.cc.
References KinematicStatePropagator::clone(), KinematicState::magneticField(), and diffTreeTool::tree.
Referenced by refittedParticle().
|
virtual |
Definition at line 29 of file VirtualKinematicParticle.cc.
References propagator.
|
virtual |
Implements KinematicParticle.
Definition at line 50 of file VirtualKinematicParticle.cc.
|
virtual |
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 32 of file VirtualKinematicParticle.cc.
References KinematicParticle::initialState().
|
virtual |
Implements KinematicParticle.
Definition at line 43 of file VirtualKinematicParticle.cc.
|
virtual |
Method returning LinearizedTrackState of the particle needed for Kalman flter vertex fit. This implementation uses the ParticleLinearizedTrackStateFactory class.
Implements KinematicParticle.
Definition at line 75 of file VirtualKinematicParticle.cc.
References ParticleKinematicLinearizedTrackStateFactory::linearizedTrackState(), and linFactory.
|
virtual |
Method producing new particle with refitted parameters. Current state is then shifted to previous state. RCP<VirtualKinematicParticle> is returned.
Implements KinematicParticle.
Definition at line 65 of file VirtualKinematicParticle.cc.
References cond::rpcobimon::current, propagator, and VirtualKinematicParticle().
|
virtual |
Access to KinematicState of particle at given point
Implements KinematicParticle.
Definition at line 57 of file VirtualKinematicParticle.cc.
References KinematicParticle::cState, KinematicState::kinematicParameters(), 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 72 of file VirtualKinematicParticle.h.
Referenced by particleLinearizedTrackState().
|
private |
Definition at line 68 of file VirtualKinematicParticle.h.
Referenced by refittedParticle(), stateAtPoint(), and ~VirtualKinematicParticle().