#include <BasicTrajectoryState.h>
Public Types | |
typedef BasicTrajectoryState | BTSOS |
typedef ProxyBase< BTSOS, CopyUsingClone< BTSOS > > | Proxy |
typedef ReferenceCountingPointer < BasicTrajectoryState > | RCPtr |
typedef SurfaceSideDefinition::SurfaceSide | SurfaceSide |
Private Member Functions | |
void | checkCurvilinError () const |
void | checkGlobalParameters () 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 | |
const MagneticField * | theField |
DeepCopyPointer < FreeTrajectoryState > | theFreeState |
bool | theGlobalParamsUp2Date |
LocalTrajectoryError | theLocalError |
LocalTrajectoryParameters | theLocalParameters |
bool | theLocalParametersValid |
ConstReferenceCountingPointer < Surface > | theSurfaceP |
SurfaceSide | theSurfaceSide |
double | theWeight |
Friends | |
class | ProxyBase< BTSOS, CopyUsingClone< BTSOS > > |
class | ReferenceCountingPointer< BasicTrajectoryState > |
Additional Inherited Members | |
Static Public Member Functions inherited from BlockWipedPoolAllocated | |
static BlockWipedAllocator & | allocator (size_t s) |
static void | operator delete (void *p, size_t s) |
static void * | operator new (size_t s, void *p) |
static void * | operator new (size_t s) |
static BlockWipedAllocator::Stat | stat (size_t s) |
static void | usePool () |
Static Public Attributes inherited from ReferenceCountedPoolAllocated | |
static int | s_alive =0 |
static int | s_referenced =0 |
Static Public Attributes inherited from BlockWipedPoolAllocated | |
static int | s_alive =0 |
static bool | s_usePool =false |
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 48 of file BasicTrajectoryState.h.
Definition at line 51 of file BasicTrajectoryState.h.
typedef ProxyBase< BTSOS, CopyUsingClone<BTSOS> > BasicTrajectoryState::Proxy |
Definition at line 52 of file BasicTrajectoryState.h.
Definition at line 53 of file BasicTrajectoryState.h.
Definition at line 54 of file BasicTrajectoryState.h.
|
inline |
Definition at line 62 of file BasicTrajectoryState.h.
|
explicit |
construct invalid trajectory state (without parameters)
Definition at line 144 of file BasicTrajectoryState.cc.
|
virtual |
Definition at line 157 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const FreeTrajectoryState & | fts, |
const Surface & | 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 14 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const GlobalTrajectoryParameters & | par, |
const Surface & | aSurface, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface |
||
) |
Constructor from global parameters and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 29 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const GlobalTrajectoryParameters & | par, |
const CartesianTrajectoryError & | err, | ||
const Surface & | 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 44 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const GlobalTrajectoryParameters & | par, |
const CurvilinearTrajectoryError & | err, | ||
const Surface & | aSurface, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface , |
||
double | weight = 1. |
||
) |
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 60 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const GlobalTrajectoryParameters & | par, |
const CurvilinearTrajectoryError & | err, | ||
const Surface & | aSurface, | ||
double | weight | ||
) |
Constructor from global parameters, errors and surface. For multi-states the weight should be specified explicitely. For backward compatibility without specification of the side of the surface.
Definition at line 77 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const LocalTrajectoryParameters & | par, |
const Surface & | 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.
Definition at line 93 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const LocalTrajectoryParameters & | par, |
const LocalTrajectoryError & | err, | ||
const Surface & | aSurface, | ||
const MagneticField * | field, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface , |
||
double | weight = 1. |
||
) |
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 109 of file BasicTrajectoryState.cc.
BasicTrajectoryState::BasicTrajectoryState | ( | const LocalTrajectoryParameters & | par, |
const LocalTrajectoryError & | err, | ||
const Surface & | aSurface, | ||
const MagneticField * | field, | ||
double | weight | ||
) |
Constructor from local parameters, errors and surface. For multi-states the weight should be specified explicitely. For backward compatibility without specification of the side of the surface.
Definition at line 127 of file BasicTrajectoryState.cc.
|
inlinevirtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 231 of file BasicTrajectoryState.h.
|
inline |
Definition at line 162 of file BasicTrajectoryState.h.
References FreeTrajectoryState::cartesianError(), freeTrajectoryState(), hasError(), missingError(), and unlikely.
|
inline |
Definition at line 152 of file BasicTrajectoryState.h.
References FreeTrajectoryState::charge(), and freeTrajectoryState().
Referenced by PixelTrackBuilder::build().
|
private |
Definition at line 214 of file BasicTrajectoryState.cc.
References createLocalParameters(), FreeTrajectoryState::hasCurvilinearError(), JacobianLocalToCurvilinear::jacobian(), likely, localParameters(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCurvilinearError(), surface(), theField, theFreeState, theLocalError, theLocalParametersValid, and unlikely.
Referenced by freeTrajectoryState().
|
private |
Definition at line 192 of file BasicTrajectoryState.cc.
References LocalTrajectoryParameters::charge(), likely, LocalTrajectoryParameters::momentum(), AlCaHLTBitMon_ParallelJobs::p, LocalTrajectoryParameters::position(), DeepCopyPointer< T >::replaceWith(), surface(), theField, theFreeState, theGlobalParamsUp2Date, theLocalParameters, Surface::toGlobal(), and vdt::x.
Referenced by freeTrajectoryState().
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
virtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 343 of file BasicTrajectoryState.cc.
References query::result.
|
private |
Definition at line 245 of file BasicTrajectoryState.cc.
References createLocalErrorFromCurvilinearError(), FreeTrajectoryState::hasCurvilinearError(), likely, theFreeState, and theLocalError.
Referenced by localError().
|
private |
Definition at line 252 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::curvilinearError(), JacobianCurvilinearToLocal::jacobian(), localParameters(), CurvilinearTrajectoryError::matrix(), surface(), theField, theFreeState, and theLocalError.
Referenced by createLocalError().
|
private |
Definition at line 234 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(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkCurvilinError(), and localParameters().
|
inline |
Definition at line 169 of file BasicTrajectoryState.h.
References FreeTrajectoryState::curvilinearError(), freeTrajectoryState(), hasError(), missingError(), and unlikely.
Referenced by PixelTrackBuilder::build().
FreeTrajectoryState * BasicTrajectoryState::freeTrajectoryState | ( | bool | withErrors = true | ) | const |
Definition at line 330 of file BasicTrajectoryState.cc.
References checkCurvilinError(), checkGlobalParameters(), hasError(), isValid(), and notValid().
Referenced by cartesianError(), charge(), curvilinearError(), globalDirection(), globalMomentum(), globalParameters(), globalPosition(), signedInverseMomentum(), and transverseCurvature().
|
inline |
Definition at line 149 of file BasicTrajectoryState.h.
References freeTrajectoryState(), FreeTrajectoryState::momentum(), and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 146 of file BasicTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::momentum().
Referenced by PixelTrackBuilder::build().
|
inline |
Definition at line 140 of file BasicTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::parameters().
|
inline |
Definition at line 143 of file BasicTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::position().
Referenced by PixelTrackBuilder::build().
|
inline |
Definition at line 224 of file BasicTrajectoryState.h.
References FreeTrajectoryState::hasError(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), freeTrajectoryState(), localError(), and rescaleError().
|
inline |
Definition at line 134 of file BasicTrajectoryState.h.
References theFreeState, and theLocalParametersValid.
Referenced by freeTrajectoryState(), and localParameters().
|
inline |
Definition at line 196 of file BasicTrajectoryState.h.
References localMomentum(), and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 200 of file BasicTrajectoryState.h.
References createLocalError(), hasError(), LocalTrajectoryError::invalid(), missingError(), theLocalError, and unlikely.
|
inline |
Definition at line 193 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::momentum().
Referenced by localDirection().
|
inline |
Definition at line 184 of file BasicTrajectoryState.h.
References createLocalParameters(), isValid(), notValid(), theLocalParameters, theLocalParametersValid, and unlikely.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), localMomentum(), and localPosition().
|
inline |
Definition at line 190 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::position().
|
inline |
|
private |
Definition at line 177 of file BasicTrajectoryState.cc.
References LocalTrajectoryError::matrix(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), localError(), and rescaleError().
|
staticprivate |
Definition at line 159 of file BasicTrajectoryState.cc.
Referenced by freeTrajectoryState(), and localParameters().
void BasicTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 307 of file BasicTrajectoryState.cc.
References benchmark_cfg::errors, hasError(), i, j, LocalTrajectoryError::matrix(), missingError(), MagneticField::nominalValue(), FreeTrajectoryState::rescaleError(), theField, theFreeState, theLocalError, unlikely, and LocalTrajectoryError::valid().
|
inline |
Definition at line 155 of file BasicTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::signedInverseMomentum().
|
inline |
Definition at line 209 of file BasicTrajectoryState.h.
References theSurfaceP.
Referenced by checkCurvilinError(), checkGlobalParameters(), createLocalErrorFromCurvilinearError(), and createLocalParameters().
|
inline |
Position relative to material, defined relative to momentum vector.
Definition at line 220 of file BasicTrajectoryState.h.
References theSurfaceSide.
|
inline |
Definition at line 158 of file BasicTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::transverseCurvature().
|
virtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 270 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theField, theGlobalParamsUp2Date, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, and theWeight.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), 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 BasicMultiTrajectoryState.
Definition at line 287 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theField, theGlobalParamsUp2Date, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, 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().
|
inlinevirtual |
Definition at line 213 of file BasicTrajectoryState.h.
References theWeight.
Referenced by BasicMultiTrajectoryState::combine(), and update().
|
friend |
Definition at line 57 of file BasicTrajectoryState.h.
|
friend |
Definition at line 58 of file BasicTrajectoryState.h.
|
private |
Definition at line 280 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), checkGlobalParameters(), createLocalErrorFromCurvilinearError(), magneticField(), rescaleError(), and update().
|
mutableprivate |
Definition at line 267 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), checkGlobalParameters(), createLocalError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), hasError(), isValid(), missingError(), and rescaleError().
|
mutableprivate |
Definition at line 273 of file BasicTrajectoryState.h.
Referenced by checkGlobalParameters(), and update().
|
mutableprivate |
Definition at line 269 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), hasError(), localError(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 270 of file BasicTrajectoryState.h.
Referenced by checkGlobalParameters(), createLocalParameters(), localParameters(), and update().
|
mutableprivate |
Definition at line 272 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalParameters(), isValid(), localParameters(), and update().
|
private |
Definition at line 277 of file BasicTrajectoryState.h.
|
private |
Definition at line 276 of file BasicTrajectoryState.h.
Referenced by surfaceSide(), and update().
|
private |
Definition at line 279 of file BasicTrajectoryState.h.