#include <BasicTrajectoryState.h>
Public Types | |
typedef BasicTrajectoryState | BTSOS |
using | Components = std::vector< TrajectoryStateOnSurface > |
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 |
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 64 of file BasicTrajectoryState.h.
Definition at line 67 of file BasicTrajectoryState.h.
using BasicTrajectoryState::Components = std::vector<TrajectoryStateOnSurface> |
Definition at line 332 of file BasicTrajectoryState.h.
Definition at line 69 of file BasicTrajectoryState.h.
typedef ProxyBase11<BTSOS> BasicTrajectoryState::Proxy |
Definition at line 68 of file BasicTrajectoryState.h.
Definition at line 70 of file BasicTrajectoryState.h.
Definition at line 71 of file BasicTrajectoryState.h.
|
inline |
Definition at line 76 of file BasicTrajectoryState.h.
References clone().
Referenced by BasicTrajectoryState(), and ~BasicTrajectoryState().
|
explicit |
construct invalid trajectory state (without parameters)
Definition at line 42 of file BasicTrajectoryState.cc.
References BasicTrajectoryState(), LocalTrajectoryParameters::charge(), LocalTrajectoryParameters::momentum(), AlCaHLTBitMon_ParallelJobs::p, LocalTrajectoryParameters::position(), surface(), Surface::toGlobal(), and x.
|
virtual |
|
inline |
Constructor from FTS and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 96 of file BasicTrajectoryState.h.
|
inlineexplicit |
Constructor from FTS: just a wrapper
Definition at line 113 of file BasicTrajectoryState.h.
References SurfaceSideDefinition::atCenterOfSurface.
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 78 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 139 of file BasicTrajectoryState.h.
|
inline |
Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 151 of file BasicTrajectoryState.h.
|
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 170 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 188 of file BasicTrajectoryState.h.
|
inline |
Definition at line 196 of file BasicTrajectoryState.h.
|
inlinestatic |
|
inlinevirtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 303 of file BasicTrajectoryState.h.
References AlCaHLTBitMon_ParallelJobs::p, and update.
|
inline |
Definition at line 228 of file BasicTrajectoryState.h.
References UNLIKELY.
|
inline |
Definition at line 218 of file BasicTrajectoryState.h.
Referenced by PixelTrackBuilder::build(), and sqr().
|
private |
Definition at line 133 of file BasicTrajectoryState.cc.
References createLocalParameters(), globalParameters(), FreeTrajectoryState::hasCurvilinearError(), JacobianLocalToCurvilinear::jacobian(), LIKELY, localParameters(), magneticField(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCurvilinearError(), surface(), theFreeState, theLocalError, theLocalParametersValid, and UNLIKELY.
|
inlinestatic |
Definition at line 89 of file BasicTrajectoryState.h.
References createfilelist::args.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
private |
Definition at line 162 of file BasicTrajectoryState.cc.
References createLocalErrorFromCurvilinearError(), FreeTrajectoryState::hasCurvilinearError(), LIKELY, theFreeState, and theLocalError.
|
private |
Definition at line 169 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 151 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::charge(), PV3DBase< T, PVType, FrameType >::mag(), FreeTrajectoryState::momentum(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::position(), FreeTrajectoryState::signedInverseMomentum(), surface(), theFreeState, theLocalParameters, theLocalParametersValid, GloballyPositioned< T >::toLocal(), x, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkCurvilinError().
|
inline |
Definition at line 235 of file BasicTrajectoryState.h.
References RefreshWebPage::crap, and UNLIKELY.
Referenced by PixelTrackBuilder::build(), and sqr().
|
inline |
Definition at line 246 of file BasicTrajectoryState.h.
References UNLIKELY.
|
inline |
Definition at line 215 of file BasicTrajectoryState.h.
References Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 212 of file BasicTrajectoryState.h.
Referenced by PixelTrackBuilder::build(), and sqr().
|
inline |
Definition at line 206 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), and createLocalErrorFromCurvilinearError().
|
inline |
Definition at line 209 of file BasicTrajectoryState.h.
Referenced by PixelTrackBuilder::build(), and sqr().
|
inline |
Definition at line 298 of file BasicTrajectoryState.h.
Referenced by rescaleError().
|
inline |
Definition at line 202 of file BasicTrajectoryState.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 270 of file BasicTrajectoryState.h.
References Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 274 of file BasicTrajectoryState.h.
References UNLIKELY.
Referenced by sqr().
|
inline |
Definition at line 267 of file BasicTrajectoryState.h.
Referenced by sqr().
|
inline |
Definition at line 258 of file BasicTrajectoryState.h.
References UNLIKELY.
Referenced by checkCurvilinError(), and createLocalErrorFromCurvilinearError().
|
inline |
Definition at line 264 of file BasicTrajectoryState.h.
Referenced by sqr().
|
inline |
Definition at line 255 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), rescaleError(), and update().
|
private |
Definition at line 119 of file BasicTrajectoryState.cc.
References LocalTrajectoryError::matrix(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by rescaleError().
|
staticprivate |
Definition at line 97 of file BasicTrajectoryState.cc.
References GlobalTrajectoryParameters::magneticFieldInTesla(), LocalTrajectoryError::matrix(), CurvilinearTrajectoryError::matrix(), FreeTrajectoryState::momentum(), FreeTrajectoryState::parameters(), LocalTrajectoryError::posDef(), CurvilinearTrajectoryError::posDef(), FreeTrajectoryState::position(), and UNLIKELY.
void BasicTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 250 of file BasicTrajectoryState.cc.
References benchmark_cfg::errors, hasError(), mps_fire::i, magneticField(), LocalTrajectoryError::matrix(), missingError(), MagneticField::nominalValue(), FreeTrajectoryState::rescaleError(), theFreeState, theLocalError, UNLIKELY, and LocalTrajectoryError::valid().
|
inline |
Definition at line 327 of file BasicTrajectoryState.h.
|
inline |
Definition at line 221 of file BasicTrajectoryState.h.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
inline |
Definition at line 283 of file BasicTrajectoryState.h.
Referenced by BasicTrajectoryState(), checkCurvilinError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), sqr(), and update().
|
inline |
Position relative to material, defined relative to momentum vector.
Definition at line 294 of file BasicTrajectoryState.h.
|
inline |
Definition at line 224 of file BasicTrajectoryState.h.
|
virtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 198 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, and theWeight.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), BasicMultiTrajectoryState::combine(), 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(), MatrixUtil.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().
|
finalvirtual |
Definition at line 185 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__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.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(), MatrixUtil.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 BasicMultiTrajectoryState.
Definition at line 215 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, theWeight, and weight().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.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(), MatrixUtil.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().
|
finalvirtual |
Definition at line 235 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__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.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(), MatrixUtil.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 287 of file BasicTrajectoryState.h.
References SimpleCosmicBONSeeder_cfi::rescaleError.
Referenced by BasicMultiTrajectoryState::combine(), and update().
|
mutableprivate |
Definition at line 354 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 356 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 357 of file BasicTrajectoryState.h.
Referenced by createLocalParameters(), and update().
|
mutableprivate |
Definition at line 359 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalParameters(), and update().
|
private |
Definition at line 364 of file BasicTrajectoryState.h.
Referenced by update().
|
private |
Definition at line 363 of file BasicTrajectoryState.h.
Referenced by update().
|
mutableprivate |
Definition at line 360 of file BasicTrajectoryState.h.
Referenced by update().
|
private |
Definition at line 366 of file BasicTrajectoryState.h.
Referenced by update().