#include <BasicTrajectoryState.h>
Public Types | |
typedef BasicTrajectoryState | BTSOS |
typedef Proxy::pointer | pointer |
typedef ProxyBase11< BTSOS > | Proxy |
typedef SurfaceSideDefinition::SurfaceSide | SurfaceSide |
typedef Surface | SurfaceType |
Static Public Member Functions | |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | build (Args &&...args) |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | churn (Args &&...args) |
Private Member Functions | |
void | checkCurvilinError () const |
void | createLocalError () const |
void | createLocalErrorFromCurvilinearError () const dso_internal |
void | createLocalParameters () const |
void | missingError (char const *where) const |
Static Private Member Functions | |
static void | notValid () |
Private Attributes | |
FreeTrajectoryState | theFreeState |
LocalTrajectoryError | theLocalError |
LocalTrajectoryParameters | theLocalParameters |
bool | theLocalParametersValid |
ConstReferenceCountingPointer < SurfaceType > | theSurfaceP |
SurfaceSide | theSurfaceSide |
bool | theValid |
double | theWeight =0. |
No so Abstract (anyore) base class for TrajectoryState. It is ReferenceCounted.
VI 8/12/2011 content of BasicSingleTrajectoryState moved here.... fully devirtualized
Definition at line 70 of file BasicTrajectoryState.h.
Definition at line 73 of file BasicTrajectoryState.h.
Definition at line 75 of file BasicTrajectoryState.h.
typedef ProxyBase11<BTSOS> BasicTrajectoryState::Proxy |
Definition at line 74 of file BasicTrajectoryState.h.
Definition at line 76 of file BasicTrajectoryState.h.
Definition at line 77 of file BasicTrajectoryState.h.
|
inline |
Definition at line 82 of file BasicTrajectoryState.h.
|
explicit |
construct invalid trajectory state (without parameters)
Definition at line 42 of file BasicTrajectoryState.cc.
|
virtual |
Definition at line 40 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const FreeTrajectoryState & | fts, |
const SurfaceType & | aSurface, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface |
||
) |
Constructor from FTS and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 78 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const LocalTrajectoryParameters & | par, |
const LocalTrajectoryError & | err, | ||
const SurfaceType & | aSurface, | ||
const MagneticField * | field, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface |
||
) |
Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.
Definition at line 110 of file BasicTrajectoryState.cc.
|
inline |
Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 124 of file BasicTrajectoryState.h.
BasicTrajectoryState::BasicTrajectoryState | ( | const GlobalTrajectoryParameters & | par, |
const CartesianTrajectoryError & | err, | ||
const SurfaceType & | aSurface, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface |
||
) |
Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 93 of file BasicTrajectoryState.cc.
|
inline |
Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.
Definition at line 145 of file BasicTrajectoryState.h.
|
inline |
Constructor from global parameters and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 163 of file BasicTrajectoryState.h.
|
inline |
Definition at line 171 of file BasicTrajectoryState.h.
References theWeight.
|
inlinestatic |
|
inlinevirtual |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 305 of file BasicTrajectoryState.h.
|
inline |
Definition at line 230 of file BasicTrajectoryState.h.
References FreeTrajectoryState::cartesianError(), freeTrajectoryState(), hasError(), missingError(), and unlikely.
|
inline |
Definition at line 220 of file BasicTrajectoryState.h.
References FreeTrajectoryState::charge(), and theFreeState.
|
private |
Definition at line 165 of file BasicTrajectoryState.cc.
References createLocalParameters(), globalParameters(), FreeTrajectoryState::hasCurvilinearError(), JacobianLocalToCurvilinear::jacobian(), likely, localParameters(), magneticField(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCurvilinearError(), surface(), theFreeState, theLocalError, theLocalParametersValid, and unlikely.
Referenced by freeTrajectoryState().
|
inlinestatic |
Definition at line 97 of file BasicTrajectoryState.h.
References ExtractAppInfoFromXML::args.
|
pure virtual |
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
|
pure virtual |
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
|
private |
Definition at line 194 of file BasicTrajectoryState.cc.
References createLocalErrorFromCurvilinearError(), FreeTrajectoryState::hasCurvilinearError(), likely, theFreeState, and theLocalError.
Referenced by localError().
|
private |
Definition at line 201 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::curvilinearError(), globalParameters(), JacobianCurvilinearToLocal::jacobian(), localParameters(), magneticField(), CurvilinearTrajectoryError::matrix(), surface(), theFreeState, and theLocalError.
Referenced by createLocalError().
|
private |
Definition at line 183 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::charge(), PV3DBase< T, PVType, FrameType >::mag(), FreeTrajectoryState::momentum(), FreeTrajectoryState::position(), FreeTrajectoryState::signedInverseMomentum(), surface(), theFreeState, theLocalParameters, theLocalParametersValid, GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkCurvilinError(), and localParameters().
|
inline |
Definition at line 237 of file BasicTrajectoryState.h.
References FreeTrajectoryState::curvilinearError(), freeTrajectoryState(), hasError(), missingError(), and unlikely.
|
inline |
Definition at line 248 of file BasicTrajectoryState.h.
References checkCurvilinError(), hasError(), isValid(), notValid(), theFreeState, and unlikely.
Referenced by cartesianError(), and curvilinearError().
|
inline |
Definition at line 217 of file BasicTrajectoryState.h.
References FreeTrajectoryState::momentum(), theFreeState, and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 214 of file BasicTrajectoryState.h.
References FreeTrajectoryState::momentum(), and theFreeState.
|
inline |
Definition at line 208 of file BasicTrajectoryState.h.
References FreeTrajectoryState::parameters(), and theFreeState.
Referenced by checkCurvilinError(), and createLocalErrorFromCurvilinearError().
|
inline |
Definition at line 211 of file BasicTrajectoryState.h.
References FreeTrajectoryState::position(), and theFreeState.
|
inline |
Definition at line 300 of file BasicTrajectoryState.h.
References FreeTrajectoryState::hasError(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), freeTrajectoryState(), localError(), and rescaleError().
|
inline |
Definition at line 204 of file BasicTrajectoryState.h.
References theValid.
Referenced by freeTrajectoryState(), and localParameters().
|
inline |
Definition at line 272 of file BasicTrajectoryState.h.
References localMomentum(), and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 276 of file BasicTrajectoryState.h.
References createLocalError(), hasError(), LocalTrajectoryError::invalid(), missingError(), theLocalError, and unlikely.
|
inline |
Definition at line 269 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::momentum().
Referenced by localDirection().
|
inline |
Definition at line 260 of file BasicTrajectoryState.h.
References createLocalParameters(), isValid(), notValid(), theLocalParameters, theLocalParametersValid, and unlikely.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), localMomentum(), and localPosition().
|
inline |
Definition at line 266 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::position().
|
inline |
Definition at line 257 of file BasicTrajectoryState.h.
References GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::parameters(), and theFreeState.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), rescaleError(), and update().
|
private |
Definition at line 151 of file BasicTrajectoryState.cc.
References LocalTrajectoryError::matrix(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), localError(), and rescaleError().
|
staticprivate |
Definition at line 129 of file BasicTrajectoryState.cc.
Referenced by freeTrajectoryState(), and localParameters().
void BasicTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 282 of file BasicTrajectoryState.cc.
References benchmark_cfg::errors, hasError(), i, j, magneticField(), LocalTrajectoryError::matrix(), missingError(), MagneticField::nominalValue(), FreeTrajectoryState::rescaleError(), theFreeState, theLocalError, unlikely, and LocalTrajectoryError::valid().
|
inline |
Definition at line 329 of file BasicTrajectoryState.h.
References FreeTrajectoryState::setCurvilinearError(), and theFreeState.
|
inline |
Definition at line 223 of file BasicTrajectoryState.h.
References FreeTrajectoryState::signedInverseMomentum(), and theFreeState.
|
inline |
Definition at line 285 of file BasicTrajectoryState.h.
References theSurfaceP.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), and update().
|
inline |
Position relative to material, defined relative to momentum vector.
Definition at line 296 of file BasicTrajectoryState.h.
References theSurfaceSide.
|
inline |
Definition at line 226 of file BasicTrajectoryState.h.
References theFreeState, and FreeTrajectoryState::transverseCurvature().
|
virtual |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 230 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, and theWeight.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
Definition at line 217 of file BasicTrajectoryState.cc.
References magneticField(), GlobalTrajectoryParameters::magneticFieldInTesla(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), surface(), theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceSide, and theValid.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 247 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, theWeight, and weight().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
Definition at line 267 of file BasicTrajectoryState.cc.
References magneticField(), GlobalTrajectoryParameters::magneticFieldInTesla(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), surface(), theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceSide, and theValid.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
Definition at line 289 of file BasicTrajectoryState.h.
References theWeight.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and update().
|
mutableprivate |
Definition at line 354 of file BasicTrajectoryState.h.
Referenced by charge(), checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), freeTrajectoryState(), globalDirection(), globalMomentum(), globalParameters(), globalPosition(), hasError(), magneticField(), missingError(), rescaleError(), setCurvilinearError(), signedInverseMomentum(), transverseCurvature(), and update().
|
mutableprivate |
Definition at line 356 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), hasError(), localError(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 357 of file BasicTrajectoryState.h.
Referenced by createLocalParameters(), localParameters(), and update().
|
mutableprivate |
Definition at line 359 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalParameters(), localParameters(), and update().
|
private |
Definition at line 364 of file BasicTrajectoryState.h.
|
private |
Definition at line 363 of file BasicTrajectoryState.h.
Referenced by surfaceSide(), and update().
|
mutableprivate |
Definition at line 360 of file BasicTrajectoryState.h.
|
private |
Definition at line 369 of file BasicTrajectoryState.h.
Referenced by BasicTrajectoryState(), update(), and weight().