#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=nullptr) const |
~KinematicParticleFactoryFromTransientTrack () | |
Private Attributes | |
TransientTrackKinematicStateBuilder | builder |
KinematicStatePropagator * | propagator |
.Factory for KinematicParticle RefCountedPointers
Definition at line 16 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 31 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 15 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, propagator, and HLT_FULL_cff::track.
Referenced by BPHKinematicFit::addParticles(), KineExample::analyze(), PFTau3ProngReco::produce(), 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 30 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, propagator, and HLT_FULL_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 46 of file KinematicParticleFactoryFromTransientTrack.cc.
References builder, reco::TransientTrack::impactPointTSCP(), propagator, TrajectoryStateClosestToPoint::theState(), and HLT_FULL_cff::track.
RefCountedKinematicParticle KinematicParticleFactoryFromTransientTrack::particle | ( | const KinematicState & | kineState, |
float & | chiSquared, | ||
float & | ndf, | ||
ReferenceCountingPointer< KinematicParticle > | previousParticle, | ||
KinematicConstraint * | lastConstraint = nullptr |
||
) | 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 62 of file KinematicParticleFactoryFromTransientTrack.cc.
References TransientTrackKinematicParticle::initialTransientTrack(), propagator, and HLT_FULL_cff::track.
|
private |
Definition at line 83 of file KinematicParticleFactoryFromTransientTrack.h.
Referenced by particle().
|
private |
Definition at line 82 of file KinematicParticleFactoryFromTransientTrack.h.
Referenced by KinematicParticleFactoryFromTransientTrack(), particle(), and ~KinematicParticleFactoryFromTransientTrack().