#include <KinematicState.h>
Public Member Functions | |
FreeTrajectoryState | freeTrajectoryState () const |
GlobalVector | globalMomentum () const |
GlobalPoint | globalPosition () const |
bool | isValid () const |
KinematicParameters const & | kinematicParameters () const |
KinematicParametersError const & | kinematicParametersError () const |
KinematicState () | |
KinematicState (const KinematicParameters ¶meters, const KinematicParametersError &error, const TrackCharge &charge, const MagneticField *field) | |
KinematicState (const FreeTrajectoryState &state, const ParticleMass &mass, float m_sigma) | |
const MagneticField * | magneticField () const |
GlobalVector | magneticFieldInInverseGeV (const GlobalPoint &x) const |
GlobalVector | magneticFieldInInverseGeV () const |
ParticleMass | mass () const |
bool | operator== (const KinematicState &other) const |
TrackCharge | particleCharge () const |
GlobalTrajectoryParameters const & | trajectoryParameters () const |
Private Attributes | |
KinematicParametersError | err |
FreeTrajectoryState | fts |
KinematicParameters | param |
bool | vl |
Class providing a state of particle needed for Kinematic Fit.
Kirill Prokofiev, March 2003
Definition at line 18 of file KinematicState.h.
|
inline |
Default constructor for internal KinematicFitPrimitives library needs only
Definition at line 27 of file KinematicState.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, relativeConstraints::error, metProducer_cfi::parameters, and vl.
KinematicState::KinematicState | ( | const KinematicParameters & | parameters, |
const KinematicParametersError & | error, | ||
const TrackCharge & | charge, | ||
const MagneticField * | field | ||
) |
Constructor taking directly KinematicParameters KinematicError and Charge. To be used with proper KinematicStateBuilder.
Definition at line 6 of file KinematicState.cc.
|
inline |
Definition at line 40 of file KinematicState.h.
References operator==(), and trackingPlots::other.
|
inline |
KinematicState -> FreeTrajectoryState converter
Definition at line 80 of file KinematicState.h.
References fts.
Referenced by KinematicRefittedTrackState::freeTrajectoryState(), PerigeeKinematicState::PerigeeKinematicState(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), and TrackKinematicStatePropagator::willPropagateToTheTransversePCA().
|
inline |
Definition at line 68 of file KinematicState.h.
References fts, and FreeTrajectoryState::momentum().
Referenced by ParticleKinematicLinearizedTrackState::computeChargedJacobians(), ParticleKinematicLinearizedTrackState::computeNeutralJacobians(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), BPHKinematicFit::fitMomentum(), KinematicRefittedTrackState::kinematicMomentumVector(), and TrackKinematicStatePropagator::propagateToTheTransversePCACharged().
|
inline |
Definition at line 70 of file KinematicState.h.
References fts, and FreeTrajectoryState::position().
Referenced by ParticleKinematicLinearizedTrackState::computeChargedJacobians(), ParticleKinematicLinearizedTrackState::computeNeutralJacobians(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), KinematicRefittedTrackState::parameters(), and KinematicRefittedTrackState::position().
|
inline |
Definition at line 82 of file KinematicState.h.
References vl.
Referenced by ntupleDataFormat._Object::_checkIsValid(), KinematicConstrainedVertexFitter::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), BPHKinematicFit::mass(), PerigeeKinematicState::PerigeeKinematicState(), core.AutoHandle.AutoHandle::ReallyLoad(), and KinematicStatePropagator::willPropagateToTheTransversePCA().
|
inline |
Access methods to parameters and private data
Definition at line 61 of file KinematicState.h.
References param.
Referenced by KinematicConstrainedVertexFitter::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicRefittedTrackState::kinematicParameters(), operator==(), VirtualKinematicParticle::stateAtPoint(), and BPHWriteSpecificDecay::write().
|
inline |
Definition at line 63 of file KinematicState.h.
References err.
Referenced by KinematicConstrainedVertexFitter::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicRefittedTrackState::kinematicParametersCovariance(), operator==(), PerigeeKinematicState::PerigeeKinematicState(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), and TrackKinematicStatePropagator::propagateToTheTransversePCANeutral().
|
inline |
Definition at line 87 of file KinematicState.h.
References GlobalTrajectoryParameters::magneticField(), and trajectoryParameters().
Referenced by TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), KinematicRefittedTrackState::trajectoryStateOnSurface(), TransientTrackKinematicParticle::TransientTrackKinematicParticle(), and VirtualKinematicParticle::VirtualKinematicParticle().
|
inline |
Definition at line 84 of file KinematicState.h.
References GlobalTrajectoryParameters::magneticFieldInInverseGeV(), and trajectoryParameters().
Referenced by KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters().
|
inline |
Definition at line 85 of file KinematicState.h.
References GlobalTrajectoryParameters::magneticFieldInInverseGeV(), and trajectoryParameters().
|
inline |
The mass of the particle
Definition at line 54 of file KinematicState.h.
References param, and KinematicParameters::vector().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), BPHKinematicFit::fitMomentum(), KinematicRefittedTrackState::kinematicMomentumVector(), BPHKinematicFit::mass(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), and BPHWriteSpecificDecay::write().
bool KinematicState::operator== | ( | const KinematicState & | other | ) | const |
Definition at line 14 of file KinematicState.cc.
References kinematicParameters(), kinematicParametersError(), KinematicParametersError::matrix(), and KinematicParameters::vector().
Referenced by KinematicState().
|
inline |
Definition at line 72 of file KinematicState.h.
References FreeTrajectoryState::charge(), and fts.
Referenced by KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), and TrackKinematicStatePropagator::willPropagateToTheTransversePCA().
|
inline |
Definition at line 65 of file KinematicState.h.
References fts, and FreeTrajectoryState::parameters().
Referenced by magneticField(), magneticFieldInInverseGeV(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), and TrackKinematicStatePropagator::propagateToTheTransversePCANeutral().
|
private |
Definition at line 93 of file KinematicState.h.
Referenced by kinematicParametersError().
|
private |
Definition at line 91 of file KinematicState.h.
Referenced by freeTrajectoryState(), globalMomentum(), globalPosition(), particleCharge(), and trajectoryParameters().
|
private |
Definition at line 92 of file KinematicState.h.
Referenced by kinematicParameters(), and mass().
|
private |
Definition at line 95 of file KinematicState.h.
Referenced by isValid(), and KinematicState().