#include <GsfMaterialEffectsAdapter.h>
Public Member Functions | |
GsfMaterialEffectsAdapter (const MaterialEffectsUpdator &aMEUpdator) | |
~GsfMaterialEffectsAdapter () | |
Protected Member Functions | |
virtual bool | newArguments (const TrajectoryStateOnSurface &, const PropagationDirection) const |
virtual void | storeArguments (const TrajectoryStateOnSurface &, const PropagationDirection) const |
Private Member Functions | |
virtual GsfMaterialEffectsAdapter * | clone () const |
virtual void | compute (const TrajectoryStateOnSurface &, const PropagationDirection) const |
Private Attributes | |
DeepCopyPointerByClone < MaterialEffectsUpdator > | theMEUpdator |
Make standard (single state) MaterialEffectsUpdator usable in the context of GSF.
Definition at line 11 of file GsfMaterialEffectsAdapter.h.
GsfMaterialEffectsAdapter::GsfMaterialEffectsAdapter | ( | const MaterialEffectsUpdator & | aMEUpdator | ) | [inline] |
Definition at line 22 of file GsfMaterialEffectsAdapter.h.
References GsfMaterialEffectsUpdator::theWeights.
Referenced by clone().
: GsfMaterialEffectsUpdator(aMEUpdator.mass()), theMEUpdator(aMEUpdator.clone()) {theWeights.push_back(1.);}
GsfMaterialEffectsAdapter::~GsfMaterialEffectsAdapter | ( | ) | [inline] |
Definition at line 26 of file GsfMaterialEffectsAdapter.h.
{}
virtual GsfMaterialEffectsAdapter* GsfMaterialEffectsAdapter::clone | ( | void | ) | const [inline, private, virtual] |
Implements GsfMaterialEffectsUpdator.
Definition at line 13 of file GsfMaterialEffectsAdapter.h.
References GsfMaterialEffectsAdapter().
{ return new GsfMaterialEffectsAdapter(*this); }
void GsfMaterialEffectsAdapter::compute | ( | const TrajectoryStateOnSurface & | aTSoS, |
const PropagationDirection | aPropDir | ||
) | const [private, virtual] |
Implements GsfMaterialEffectsUpdator.
Definition at line 11 of file GsfMaterialEffectsAdapter.cc.
References GsfMaterialEffectsUpdator::theDeltaCovs, GsfMaterialEffectsUpdator::theDeltaPs, and theMEUpdator.
{ // // use deltaP from standard updator // theDeltaPs.clear(); theDeltaPs.push_back(theMEUpdator->deltaP(aTSoS,aPropDir)); // // use covariance matrix from standard updator // theDeltaCovs.clear(); theDeltaCovs.push_back(theMEUpdator->deltaLocalError(aTSoS,aPropDir)); }
virtual bool GsfMaterialEffectsAdapter::newArguments | ( | const TrajectoryStateOnSurface & | , |
const PropagationDirection | |||
) | const [inline, protected, virtual] |
Reimplemented from GsfMaterialEffectsUpdator.
Definition at line 34 of file GsfMaterialEffectsAdapter.h.
{ return true; }
virtual void GsfMaterialEffectsAdapter::storeArguments | ( | const TrajectoryStateOnSurface & | , |
const PropagationDirection | |||
) | const [inline, protected, virtual] |
Reimplemented from GsfMaterialEffectsUpdator.
Definition at line 39 of file GsfMaterialEffectsAdapter.h.
{}
Definition at line 42 of file GsfMaterialEffectsAdapter.h.
Referenced by compute().