vvv DEBUG More...
#include <BasicSingleTrajectoryState.h>
Static Public Member Functions | |
static void | notValid () |
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 () |
Private Member Functions | |
void | checkCartesianError () const |
void | checkCurvilinError () const |
void | checkGlobalParameters () const |
void | createLocalError () const |
void | createLocalErrorFromCartesianError () const |
void | createLocalErrorFromCurvilinearError () const |
void | createLocalParameters () const |
Private Attributes | |
bool | theCartesianErrorUp2Date |
bool | theCurvilinErrorUp2Date |
const MagneticField * | theField |
DeepCopyPointer < FreeTrajectoryState > | theFreeState |
bool | theGlobalParamsUp2Date |
LocalTrajectoryError | theLocalError |
bool | theLocalErrorValid |
LocalTrajectoryParameters | theLocalParameters |
bool | theLocalParametersValid |
ConstReferenceCountingPointer < Surface > | theSurfaceP |
SurfaceSide | theSurfaceSide |
double | theWeight |
Additional Inherited Members | |
Public Types inherited from BasicTrajectoryState | |
typedef BasicTrajectoryState | BTSOS |
typedef ProxyBase< BTSOS, CopyUsingClone< BTSOS > > | Proxy |
typedef ReferenceCountingPointer < BasicTrajectoryState > | RCPtr |
typedef SurfaceSideDefinition::SurfaceSide | SurfaceSide |
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 |
vvv DEBUG
Concrete implementation for the state of one trajectory on a surface.
Definition at line 24 of file BasicSingleTrajectoryState.h.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 11 of file BasicSingleTrajectoryState.cc.
Referenced by clone().
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 47 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 66 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 86 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 105 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 124 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | 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 145 of file BasicSingleTrajectoryState.cc.
BasicSingleTrajectoryState::BasicSingleTrajectoryState | ( | const Surface & | aSurface | ) |
construct invalid trajectory state (without parameters)
Definition at line 165 of file BasicSingleTrajectoryState.cc.
|
virtual |
Definition at line 181 of file BasicSingleTrajectoryState.cc.
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 182 of file BasicSingleTrajectoryState.h.
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 126 of file BasicSingleTrajectoryState.h.
References FreeTrajectoryState::cartesianError(), freeTrajectoryState(), hasError(), and missingError().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 117 of file BasicSingleTrajectoryState.h.
References FreeTrajectoryState::charge(), and freeTrajectoryState().
Referenced by PixelTrackBuilder::build().
|
private |
Definition at line 239 of file BasicSingleTrajectoryState.cc.
References createLocalError(), createLocalParameters(), JacobianLocalToCartesian::jacobian(), localParameters(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCartesianError(), surface(), theCartesianErrorUp2Date, theFreeState, theLocalError, theLocalErrorValid, and theLocalParametersValid.
Referenced by freeTrajectoryState().
|
private |
Definition at line 221 of file BasicSingleTrajectoryState.cc.
References createLocalError(), createLocalParameters(), JacobianLocalToCurvilinear::jacobian(), localParameters(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCurvilinearError(), surface(), theCurvilinErrorUp2Date, theField, theFreeState, theLocalError, theLocalErrorValid, and theLocalParametersValid.
Referenced by freeTrajectoryState().
|
private |
Definition at line 199 of file BasicSingleTrajectoryState.cc.
References LocalTrajectoryParameters::charge(), LocalTrajectoryParameters::momentum(), L1TEmulatorMonitor_cff::p, LocalTrajectoryParameters::position(), DeepCopyPointer< T >::replaceWith(), surface(), theCartesianErrorUp2Date, theCurvilinErrorUp2Date, theField, theFreeState, theGlobalParamsUp2Date, theLocalParameters, Surface::toGlobal(), and x.
Referenced by freeTrajectoryState().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 173 of file BasicSingleTrajectoryState.h.
References BasicSingleTrajectoryState().
|
private |
Definition at line 267 of file BasicSingleTrajectoryState.cc.
References createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), FreeTrajectoryState::hasCartesianError(), FreeTrajectoryState::hasCurvilinearError(), theFreeState, and theLocalErrorValid.
Referenced by checkCartesianError(), checkCurvilinError(), and localError().
|
private |
Definition at line 290 of file BasicSingleTrajectoryState.cc.
References funct::C, FreeTrajectoryState::cartesianError(), JacobianCartesianToLocal::jacobian(), localParameters(), CartesianTrajectoryError::matrix(), surface(), theFreeState, theLocalError, and theLocalErrorValid.
Referenced by createLocalError().
|
private |
Definition at line 277 of file BasicSingleTrajectoryState.cc.
References FreeTrajectoryState::curvilinearError(), JacobianCurvilinearToLocal::jacobian(), localParameters(), CurvilinearTrajectoryError::matrix(), surface(), theField, theFreeState, theLocalError, and theLocalErrorValid.
Referenced by createLocalError().
|
private |
Definition at line 256 of file BasicSingleTrajectoryState.cc.
References FreeTrajectoryState::charge(), PV3DBase< T, PVType, FrameType >::mag(), FreeTrajectoryState::momentum(), L1TEmulatorMonitor_cff::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 checkCartesianError(), checkCurvilinError(), and localParameters().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 130 of file BasicSingleTrajectoryState.h.
References FreeTrajectoryState::curvilinearError(), freeTrajectoryState(), hasError(), and missingError().
Referenced by PixelTrackBuilder::build().
|
virtual |
Implements BasicTrajectoryState.
Definition at line 366 of file BasicSingleTrajectoryState.cc.
References checkCartesianError(), checkCurvilinError(), checkGlobalParameters(), hasError(), isValid(), and notValid().
Referenced by cartesianError(), charge(), curvilinearError(), globalDirection(), globalMomentum(), globalParameters(), globalPosition(), signedInverseMomentum(), and transverseCurvature().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 114 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), FreeTrajectoryState::momentum(), and Vector3DBase< T, FrameTag >::unit().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 111 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::momentum().
Referenced by PixelTrackBuilder::build().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 105 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::parameters().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 108 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::position().
Referenced by PixelTrackBuilder::build().
|
virtual |
Implements BasicTrajectoryState.
Definition at line 378 of file BasicSingleTrajectoryState.cc.
References FreeTrajectoryState::hasError(), theFreeState, and theLocalErrorValid.
Referenced by cartesianError(), curvilinearError(), freeTrajectoryState(), localError(), and rescaleError().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 95 of file BasicSingleTrajectoryState.h.
References theFreeState, and theLocalParametersValid.
Referenced by freeTrajectoryState(), and localParameters().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 153 of file BasicSingleTrajectoryState.h.
References localMomentum(), and Vector3DBase< T, FrameTag >::unit().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 157 of file BasicSingleTrajectoryState.h.
References createLocalError(), hasError(), missingError(), theLocalError, and theLocalErrorValid.
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 150 of file BasicSingleTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::momentum().
Referenced by localDirection().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 141 of file BasicSingleTrajectoryState.h.
References createLocalParameters(), isValid(), notValid(), theLocalParameters, and theLocalParametersValid.
Referenced by checkCartesianError(), checkCurvilinError(), createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), localMomentum(), and localPosition().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 147 of file BasicSingleTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::position().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 138 of file BasicSingleTrajectoryState.h.
References theField.
void BasicSingleTrajectoryState::missingError | ( | char const * | where | ) | const |
Definition at line 188 of file BasicSingleTrajectoryState.cc.
References theFreeState, and theLocalErrorValid.
Referenced by cartesianError(), curvilinearError(), localError(), and rescaleError().
|
static |
Definition at line 183 of file BasicSingleTrajectoryState.cc.
Referenced by freeTrajectoryState(), and localParameters().
|
virtual |
Implements BasicTrajectoryState.
Definition at line 343 of file BasicSingleTrajectoryState.cc.
References benchmark_cfg::errors, hasError(), i, MagneticField::inInverseGeV(), j, PV3DBase< T, PVType, FrameType >::mag2(), LocalTrajectoryError::matrix(), missingError(), FreeTrajectoryState::rescaleError(), theField, theFreeState, theLocalError, and theLocalErrorValid.
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 120 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::signedInverseMomentum().
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 164 of file BasicSingleTrajectoryState.h.
References theSurfaceP.
Referenced by checkCartesianError(), checkCurvilinError(), checkGlobalParameters(), createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), and createLocalParameters().
|
inlinevirtual |
Position relative to material, defined relative to momentum vector.
Implements BasicTrajectoryState.
Definition at line 178 of file BasicSingleTrajectoryState.h.
References theSurfaceSide.
|
inlinevirtual |
Implements BasicTrajectoryState.
Definition at line 123 of file BasicSingleTrajectoryState.h.
References freeTrajectoryState(), and FreeTrajectoryState::transverseCurvature().
|
virtual |
Implements BasicTrajectoryState.
Definition at line 303 of file BasicSingleTrajectoryState.cc.
References L1TEmulatorMonitor_cff::p, theCartesianErrorUp2Date, theCurvilinErrorUp2Date, theGlobalParamsUp2Date, theLocalErrorValid, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, and theWeight.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
Implements BasicTrajectoryState.
Definition at line 321 of file BasicSingleTrajectoryState.cc.
References L1TEmulatorMonitor_cff::p, theCartesianErrorUp2Date, theCurvilinErrorUp2Date, theGlobalParamsUp2Date, theLocalError, theLocalErrorValid, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theWeight, and weight().
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inlinevirtual |
Reimplemented from BasicTrajectoryState.
Definition at line 168 of file BasicSingleTrajectoryState.h.
References theWeight.
Referenced by update().
|
mutableprivate |
Definition at line 217 of file BasicSingleTrajectoryState.h.
Referenced by checkCartesianError(), checkGlobalParameters(), and update().
|
mutableprivate |
Definition at line 218 of file BasicSingleTrajectoryState.h.
Referenced by checkCurvilinError(), checkGlobalParameters(), and update().
|
private |
Definition at line 225 of file BasicSingleTrajectoryState.h.
Referenced by checkCurvilinError(), checkGlobalParameters(), createLocalErrorFromCurvilinearError(), magneticField(), and rescaleError().
|
mutableprivate |
Definition at line 209 of file BasicSingleTrajectoryState.h.
Referenced by checkCartesianError(), checkCurvilinError(), checkGlobalParameters(), createLocalError(), createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), hasError(), isValid(), missingError(), and rescaleError().
|
mutableprivate |
Definition at line 216 of file BasicSingleTrajectoryState.h.
Referenced by checkGlobalParameters(), and update().
|
mutableprivate |
Definition at line 211 of file BasicSingleTrajectoryState.h.
Referenced by checkCartesianError(), checkCurvilinError(), createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), localError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 214 of file BasicSingleTrajectoryState.h.
Referenced by checkCartesianError(), checkCurvilinError(), createLocalError(), createLocalErrorFromCartesianError(), createLocalErrorFromCurvilinearError(), hasError(), localError(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 212 of file BasicSingleTrajectoryState.h.
Referenced by checkGlobalParameters(), createLocalParameters(), localParameters(), and update().
|
mutableprivate |
Definition at line 213 of file BasicSingleTrajectoryState.h.
Referenced by checkCartesianError(), checkCurvilinError(), createLocalParameters(), isValid(), localParameters(), and update().
|
private |
Definition at line 222 of file BasicSingleTrajectoryState.h.
|
private |
Definition at line 221 of file BasicSingleTrajectoryState.h.
Referenced by surfaceSide(), and update().
|
private |
Definition at line 224 of file BasicSingleTrajectoryState.h.