#include <KinematicParticleFactoryFromTransientTrack.h>
Public Member Functions | |
KinematicParticleFactoryFromTransientTrack () | |
KinematicParticleFactoryFromTransientTrack (KinematicStatePropagator *pr) | |
RefCountedKinematicParticle | particle (const reco::TransientTrack &initialTrack, const ParticleMass &massGuess, float chiSquared, float degreesOfFr, float &m_sigma) const |
RefCountedKinematicParticle | particle (const reco::TransientTrack &initialTrack, const ParticleMass &massGuess, float chiSquared, float degreesOfFr, float &m_sigma, const FreeTrajectoryState &freestate) const |
RefCountedKinematicParticle | particle (const reco::TransientTrack &initialTrack, const ParticleMass &massGuess, float chiSquared, float degreesOfFr, const GlobalPoint &expPoint, float m_sigma) const |
RefCountedKinematicParticle | particle (const KinematicState &kineState, float &chiSquared, float &ndf, ReferenceCountingPointer< KinematicParticle > previousParticle, KinematicConstraint *lastConstraint=0) const |
~KinematicParticleFactoryFromTransientTrack () | |
Private Attributes | |
TransientTrackKinematicStateBuilder | builder |
KinematicStatePropagator * | propagator |
.Factory for KinematicParticle RefCountedPointers
Definition at line 17 of file KinematicParticleFactoryFromTransientTrack.h.
KinematicParticleFactoryFromTransientTrack::KinematicParticleFactoryFromTransientTrack | ( | ) |
Default constructoru sing a TrackKinematicStatePropagator
Definition at line 3 of file KinematicParticleFactoryFromTransientTrack.cc.
References propagator.
KinematicParticleFactoryFromTransientTrack::KinematicParticleFactoryFromTransientTrack | ( | KinematicStatePropagator * | pr | ) |
Factory constructor taking a KinematicStatePropagator
Definition at line 7 of file KinematicParticleFactoryFromTransientTrack.cc.
References KinematicStatePropagator::clone(), and propagator.
|
inline |
Default destructor
Definition at line 34 of file KinematicParticleFactoryFromTransientTrack.h.
References propagator.
RefCountedKinematicParticle KinematicParticleFactoryFromTransientTrack::particle | ( | const reco::TransientTrack & | initialTrack, |
const ParticleMass & | massGuess, | ||
float | chiSquared, | ||
float | degreesOfFr, | ||
float & | m_sigma | ||
) | const |
Particle constructed out of corresponding TransientTrack, mass guess and sigma, chi2 and ndf. KinematicState is created at the point where TransientTrack is defined.
Definition at line 17 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, and propagator.
Referenced by KineExample::analyze(), and ConversionVertexFinder::run().
RefCountedKinematicParticle KinematicParticleFactoryFromTransientTrack::particle | ( | const reco::TransientTrack & | initialTrack, |
const ParticleMass & | massGuess, | ||
float | chiSquared, | ||
float | degreesOfFr, | ||
float & | m_sigma, | ||
const FreeTrajectoryState & | freestate | ||
) | const |
Particle constructed out of corresponding TransientTrack, mass guess and sigma, chi2 and ndf. KinematicState is created from the given FreeTrajectoryState
Definition at line 32 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, and propagator.
RefCountedKinematicParticle KinematicParticleFactoryFromTransientTrack::particle | ( | const reco::TransientTrack & | initialTrack, |
const ParticleMass & | massGuess, | ||
float | chiSquared, | ||
float | degreesOfFr, | ||
const GlobalPoint & | expPoint, | ||
float | m_sigma | ||
) | const |
Particle is constructed out of corresponding TransientTrack, mass_guess and sigma, chi2 and ndf. KinematicState is then propagated to the given point
Definition at line 48 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, reco::TransientTrack::impactPointTSCP(), propagator, and TrajectoryStateClosestToPoint::theState().
RefCountedKinematicParticle KinematicParticleFactoryFromTransientTrack::particle | ( | const KinematicState & | kineState, |
float & | chiSquared, | ||
float & | ndf, | ||
ReferenceCountingPointer< KinematicParticle > | previousParticle, | ||
KinematicConstraint * | lastConstraint = 0 |
||
) | const |
Particle is consructed directly from its KinematicState, chi2 and related information. If no previous provided, initial and currnt kinemtic states of the particle will match, othereise, initial state will be taken from previous particle.
Definition at line 65 of file KinematicParticleFactoryFromTransientTrack.cc.
References TransientTrackKinematicParticle::initialTransientTrack(), propagator, and prp.
|
private |
Definition at line 86 of file KinematicParticleFactoryFromTransientTrack.h.
Referenced by particle().
|
private |
Definition at line 85 of file KinematicParticleFactoryFromTransientTrack.h.
Referenced by KinematicParticleFactoryFromTransientTrack(), particle(), and ~KinematicParticleFactoryFromTransientTrack().