25 : theValidityFlag(
false),
26 theParticleMass(particleMass),
27 theParameters(tbd.decayParameters()),
29 theOriginalTsos(tsos),
51 GlobalVector p1(secondaryMomenta.first[0], secondaryMomenta.first[1], secondaryMomenta.first[2]);
53 GlobalVector p2(secondaryMomenta.second[0], secondaryMomenta.second[1], secondaryMomenta.second[2]);
74 if (propagateErrors) {
101 pair<TrajectoryStateOnSurface, double> tsosWithPath =
propagator.propagateWithPath(fts, surface);
104 if (!tsosWithPath.first.isValid())
113 gtp, tsosWithPath.first.globalPosition(), tsosWithPath.first.globalMomentum(), tsosWithPath.second);
125 tsos = tsosWithPath.first;
128 endDeriv = hepMatDeriv * startDeriv;
TsosContainer theOriginalTsos
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
bool propagateSingleState(const FreeTrajectoryState &fts, const GlobalTrajectoryParameters >p, const AlgebraicMatrix &startDeriv, const Surface &surface, const MagneticField *magField, TrajectoryStateOnSurface &tsos, AlgebraicMatrix &endDeriv) const
Derivative< X, A >::type derivative(const A &_)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55
const Derivatives & derivatives(void) const
TwoBodyDecayTrajectoryState(const TsosContainer &tsos, const TwoBodyDecay &tbd, double particleMass, const MagneticField *magField, bool propagateErrors=false)
ROOT::Math::SMatrix< double, 5, 6, ROOT::Math::MatRepStd< double, 5, 6 > > AlgebraicMatrix56
const AlgebraicMatrix56 & jacobian() const
Derivatives theDerivatives
CLHEP::HepMatrix AlgebraicMatrix
primaryMass
Define the TBD.
TwoBodyDecayParameters theParameters
void setCartesianError(const CartesianTrajectoryError &err)
const AlgebraicMatrix55 & jacobian() const
std::pair< TrajectoryStateOnSurface, TrajectoryStateOnSurface > TsosContainer
void rescaleError(double scale)
void setError(FreeTrajectoryState &fts, AlgebraicMatrix &derivative) const
void construct(const MagneticField *magField, bool propagateErrors)
CLHEP::HepSymMatrix AlgebraicSymMatrix
const AlgebraicSymMatrix & covariance(void) const
Get error matrix.
const std::pair< AlgebraicMatrix, AlgebraicMatrix > derivatives(const TwoBodyDecay &tbd) const
const std::pair< AlgebraicVector, AlgebraicVector > cartesianSecondaryMomenta(const AlgebraicVector ¶m)
TsosContainer theRefittedTsos
const AlgebraicMatrix55 & jacobian() const