#include <TwoBodyDecayTrajectoryState.h>
Public Types | |
typedef std::pair < AlgebraicMatrix, AlgebraicMatrix > | Derivatives |
typedef std::pair < TrajectoryStateOnSurface, TrajectoryStateOnSurface > | TsosContainer |
Public Member Functions | |
const TwoBodyDecayParameters & | decayParameters (void) const |
const Derivatives & | derivatives (void) const |
bool | isValid (void) const |
double | particleMass (void) const |
double | primaryMass (void) const |
double | primaryWidth (void) const |
void | rescaleError (double scale) |
const TsosContainer & | trajectoryStates (bool useRefittedState=true) const |
TwoBodyDecayTrajectoryState (const TsosContainer &tsos, const TwoBodyDecay &tbd, double particleMass, const MagneticField *magField, bool propagateErrors=false) | |
~TwoBodyDecayTrajectoryState (void) | |
Private Member Functions | |
void | construct (const MagneticField *magField, bool propagateErrors) |
bool | propagateSingleState (const FreeTrajectoryState &fts, const GlobalTrajectoryParameters >p, const AlgebraicMatrix &startDeriv, const Surface &surface, const MagneticField *magField, TrajectoryStateOnSurface &tsos, AlgebraicMatrix &endDeriv) const |
void | setError (FreeTrajectoryState &fts, AlgebraicMatrix &derivative) const |
Private Attributes | |
Derivatives | theDerivatives |
TsosContainer | theOriginalTsos |
TwoBodyDecayParameters | theParameters |
double | theParticleMass |
double | thePrimaryMass |
double | thePrimaryWidth |
TsosContainer | theRefittedTsos |
bool | theValidityFlag |
Static Private Attributes | |
static const unsigned int | nDecayParam = TwoBodyDecayParameters::dimension |
static const unsigned int | nLocalParam = 5 |
Definition at line 13 of file TwoBodyDecayTrajectoryState.h.
typedef std::pair< AlgebraicMatrix, AlgebraicMatrix > TwoBodyDecayTrajectoryState::Derivatives |
Definition at line 19 of file TwoBodyDecayTrajectoryState.h.
typedef std::pair< TrajectoryStateOnSurface, TrajectoryStateOnSurface > TwoBodyDecayTrajectoryState::TsosContainer |
Definition at line 18 of file TwoBodyDecayTrajectoryState.h.
TwoBodyDecayTrajectoryState::TwoBodyDecayTrajectoryState | ( | const TsosContainer & | tsos, |
const TwoBodyDecay & | tbd, | ||
double | particleMass, | ||
const MagneticField * | magField, | ||
bool | propagateErrors = false |
||
) |
The constructor takes the two trajectory states that are to be updated (typically the innermost trajectory states of two tracks) and the decay parameters.
Definition at line 21 of file TwoBodyDecayTrajectoryState.cc.
References construct().
|
inline |
Definition at line 30 of file TwoBodyDecayTrajectoryState.h.
|
private |
Definition at line 47 of file TwoBodyDecayTrajectoryState.cc.
References TwoBodyDecayModel::cartesianSecondaryMomenta(), TwoBodyDecayDerivatives::derivatives(), derivatives(), TwoBodyDecayParameters::mass, p1, p2, propagateSingleState(), setError(), theDerivatives, theOriginalTsos, theParameters, theParticleMass, theRefittedTsos, theValidityFlag, TwoBodyDecayParameters::x, TwoBodyDecayParameters::y, and TwoBodyDecayParameters::z.
Referenced by TwoBodyDecayTrajectoryState().
|
inline |
Definition at line 35 of file TwoBodyDecayTrajectoryState.h.
References theParameters.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 37 of file TwoBodyDecayTrajectoryState.h.
References theDerivatives.
Referenced by TwoBodyDecayTrajectory::construct(), and construct().
|
inline |
Definition at line 32 of file TwoBodyDecayTrajectoryState.h.
References theValidityFlag.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories().
|
inline |
Definition at line 34 of file TwoBodyDecayTrajectoryState.h.
References theParticleMass.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 41 of file TwoBodyDecayTrajectoryState.h.
References thePrimaryMass.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 42 of file TwoBodyDecayTrajectoryState.h.
References thePrimaryWidth.
Referenced by TwoBodyDecayTrajectory::construct().
|
private |
Definition at line 104 of file TwoBodyDecayTrajectoryState.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, asHepMatrix(), JacobianCartesianToCurvilinear::jacobian(), JacobianCurvilinearToLocal::jacobian(), and AnalyticalCurvilinearJacobian::jacobian().
Referenced by construct().
void TwoBodyDecayTrajectoryState::rescaleError | ( | double | scale | ) |
Definition at line 38 of file TwoBodyDecayTrajectoryState.cc.
References theOriginalTsos, and theRefittedTsos.
|
private |
Definition at line 148 of file TwoBodyDecayTrajectoryState.cc.
References TwoBodyDecayParameters::covariance(), FreeTrajectoryState::setCartesianError(), and theParameters.
Referenced by construct().
|
inline |
Definition at line 36 of file TwoBodyDecayTrajectoryState.h.
References theOriginalTsos, and theRefittedTsos.
Referenced by TwoBodyDecayTrajectory::construct(), and TwoBodyDecayTrajectoryFactory::constructTrajectories().
|
staticprivate |
Definition at line 74 of file TwoBodyDecayTrajectoryState.h.
|
staticprivate |
Definition at line 73 of file TwoBodyDecayTrajectoryState.h.
|
private |
Definition at line 66 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and derivatives().
|
private |
Definition at line 67 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), rescaleError(), and trajectoryStates().
|
private |
Definition at line 65 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), decayParameters(), and setError().
|
private |
Definition at line 63 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and particleMass().
|
private |
Definition at line 70 of file TwoBodyDecayTrajectoryState.h.
Referenced by primaryMass().
|
private |
Definition at line 71 of file TwoBodyDecayTrajectoryState.h.
Referenced by primaryWidth().
|
private |
Definition at line 68 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), rescaleError(), and trajectoryStates().
|
private |
Definition at line 61 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and isValid().