#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 particle(), and 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, propagator, and HiIsolationCommonParameters_cff::track.
Referenced by KineExample::analyze(), BPHKinematicFit::buildParticles(), PFTau3ProngReco::produce(), ConversionVertexFinder::run(), and ~KinematicParticleFactoryFromTransientTrack().
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, propagator, and HiIsolationCommonParameters_cff::track.
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, TrajectoryStateClosestToPoint::theState(), and HiIsolationCommonParameters_cff::track.
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 HiIsolationCommonParameters_cff::track.
|
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().