#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 12 of file TwoBodyDecayTrajectoryState.h.
typedef std::pair<AlgebraicMatrix, AlgebraicMatrix> TwoBodyDecayTrajectoryState::Derivatives |
Definition at line 15 of file TwoBodyDecayTrajectoryState.h.
typedef std::pair<TrajectoryStateOnSurface, TrajectoryStateOnSurface> TwoBodyDecayTrajectoryState::TsosContainer |
Definition at line 14 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 20 of file TwoBodyDecayTrajectoryState.cc.
References construct().
|
inline |
Definition at line 26 of file TwoBodyDecayTrajectoryState.h.
|
private |
Definition at line 42 of file TwoBodyDecayTrajectoryState.cc.
References TwoBodyDecayModel::cartesianSecondaryMomenta(), TwoBodyDecayDerivatives::derivatives(), derivatives(), TwoBodyDecayParameters::mass, p1, p2, propagateSingleState(), setError(), theDerivatives, theOriginalTsos, theParameters, theParticleMass, theRefittedTsos, theValidityFlag, badGlobalMuonTaggersAOD_cff::vtx, TwoBodyDecayParameters::x, TwoBodyDecayParameters::y, and TwoBodyDecayParameters::z.
Referenced by primaryWidth(), and TwoBodyDecayTrajectoryState().
|
inline |
Definition at line 31 of file TwoBodyDecayTrajectoryState.h.
References theParameters.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 35 of file TwoBodyDecayTrajectoryState.h.
References rescaleError(), Scenarios_cff::scale, and theDerivatives.
Referenced by TwoBodyDecayTrajectory::construct(), and construct().
|
inline |
Definition at line 28 of file TwoBodyDecayTrajectoryState.h.
References theValidityFlag.
Referenced by ntupleDataFormat._Object::_checkIsValid(), TwoBodyDecayTrajectoryFactory::constructTrajectories(), TwoBodyDecayMomConstraintProducer::momentaAtInnermostSurface(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 30 of file TwoBodyDecayTrajectoryState.h.
References theParticleMass.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 39 of file TwoBodyDecayTrajectoryState.h.
References thePrimaryMass.
Referenced by TwoBodyDecayTrajectory::construct().
|
inline |
Definition at line 40 of file TwoBodyDecayTrajectoryState.h.
References construct(), funct::derivative(), propagateSingleState(), setError(), and thePrimaryWidth.
Referenced by TwoBodyDecayTrajectory::construct().
|
private |
Definition at line 91 of file TwoBodyDecayTrajectoryState.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, asHepMatrix(), JacobianCartesianToCurvilinear::jacobian(), JacobianCurvilinearToLocal::jacobian(), AnalyticalCurvilinearJacobian::jacobian(), and PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator.
Referenced by construct(), and primaryWidth().
void TwoBodyDecayTrajectoryState::rescaleError | ( | double | scale | ) |
Definition at line 35 of file TwoBodyDecayTrajectoryState.cc.
References theOriginalTsos, and theRefittedTsos.
Referenced by derivatives().
|
private |
Definition at line 133 of file TwoBodyDecayTrajectoryState.cc.
References TwoBodyDecayParameters::covariance(), FreeTrajectoryState::setCartesianError(), and theParameters.
Referenced by construct(), and primaryWidth().
|
inline |
Definition at line 32 of file TwoBodyDecayTrajectoryState.h.
References theOriginalTsos, and theRefittedTsos.
Referenced by TwoBodyDecayTrajectory::construct(), TwoBodyDecayTrajectoryFactory::constructTrajectories(), and TwoBodyDecayMomConstraintProducer::momentaAtInnermostSurface().
|
staticprivate |
Definition at line 68 of file TwoBodyDecayTrajectoryState.h.
|
staticprivate |
Definition at line 67 of file TwoBodyDecayTrajectoryState.h.
|
private |
Definition at line 60 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and derivatives().
|
private |
Definition at line 61 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), rescaleError(), and trajectoryStates().
|
private |
Definition at line 59 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), decayParameters(), and setError().
|
private |
Definition at line 57 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and particleMass().
|
private |
Definition at line 64 of file TwoBodyDecayTrajectoryState.h.
Referenced by primaryMass().
|
private |
Definition at line 65 of file TwoBodyDecayTrajectoryState.h.
Referenced by primaryWidth().
|
private |
Definition at line 62 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), rescaleError(), and trajectoryStates().
|
private |
Definition at line 55 of file TwoBodyDecayTrajectoryState.h.
Referenced by construct(), and isValid().