#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, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, propagateSingleState(), setError(), theDerivatives, theOriginalTsos, theParameters, theParticleMass, theRefittedTsos, theValidityFlag, extraflags_cff::vtx, TwoBodyDecayParameters::x, TwoBodyDecayParameters::y, and TwoBodyDecayParameters::z.
Referenced by TwoBodyDecayTrajectoryState().
|
inline |
Definition at line 31 of file TwoBodyDecayTrajectoryState.h.
References theParameters.
|
inline |
Definition at line 35 of file TwoBodyDecayTrajectoryState.h.
References theDerivatives.
Referenced by construct().
|
inline |
Definition at line 28 of file TwoBodyDecayTrajectoryState.h.
References theValidityFlag.
Referenced by ntupleDataFormat._Object::_checkIsValid(), TwoBodyDecayTrajectoryFactory::constructTrajectories(), TwoBodyDecayMomConstraintProducer::momentaAtInnermostSurface(), TwoBodyDecayConstraintProducer::produce(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 30 of file TwoBodyDecayTrajectoryState.h.
References theParticleMass.
|
inline |
Definition at line 39 of file TwoBodyDecayTrajectoryState.h.
References thePrimaryMass.
|
inline |
Definition at line 40 of file TwoBodyDecayTrajectoryState.h.
References thePrimaryWidth.
|
private |
Definition at line 91 of file TwoBodyDecayTrajectoryState.cc.
References AnalyticalPropagator_cfi::AnalyticalPropagator, asHepMatrix(), JacobianCartesianToCurvilinear::jacobian(), JacobianCurvilinearToLocal::jacobian(), AnalyticalCurvilinearJacobian::jacobian(), and TrackCandidateProducer_cfi::propagator.
Referenced by construct().
void TwoBodyDecayTrajectoryState::rescaleError | ( | double | scale | ) |
Definition at line 35 of file TwoBodyDecayTrajectoryState.cc.
References L1EGammaClusterEmuProducer_cfi::scale, theOriginalTsos, and theRefittedTsos.
Referenced by TwoBodyDecayConstraintProducer::produce().
|
private |
Definition at line 133 of file TwoBodyDecayTrajectoryState.cc.
References TwoBodyDecayParameters::covariance(), funct::derivative(), FreeTrajectoryState::setCartesianError(), and theParameters.
Referenced by construct().
|
inline |
Definition at line 32 of file TwoBodyDecayTrajectoryState.h.
References theOriginalTsos, and theRefittedTsos.
Referenced by TwoBodyDecayTrajectoryFactory::constructTrajectories(), TwoBodyDecayMomConstraintProducer::momentaAtInnermostSurface(), and TwoBodyDecayConstraintProducer::produce().
|
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().