ATLAS Offline Software
|
Class to handle pseudo-measurements in fitters and on track objects. More...
#include <PseudoMeasurementOnTrack.h>
Public Member Functions | |
PseudoMeasurementOnTrack () | |
Default Constructor for POOL. More... | |
PseudoMeasurementOnTrack (const PseudoMeasurementOnTrack &)=default | |
PseudoMeasurementOnTrack (PseudoMeasurementOnTrack &&) noexcept=default | |
PseudoMeasurementOnTrack & | operator= (const PseudoMeasurementOnTrack &)=default |
PseudoMeasurementOnTrack & | operator= (PseudoMeasurementOnTrack &&) noexcept=default |
PseudoMeasurementOnTrack (LocalParameters &&locpars, Amg::MatrixX &&locerr, const Surface &assocSurf) | |
PseudoMeasurementOnTrack (LocalParameters &&locpars, Amg::MatrixX &&locerr, ConstSurfaceUniquePtr assocSurf) | |
virtual | ~PseudoMeasurementOnTrack () override final=default |
Destructor. More... | |
virtual PseudoMeasurementOnTrack * | clone () const override final |
virtual constructor, not absolutely needed but given for EDM symmetry More... | |
std::unique_ptr< PseudoMeasurementOnTrack > | uniqueClone () const |
NVI unique_ptr version of clone. More... | |
virtual const Surface & | associatedSurface () const override final |
returns the surface for the local to global transformation (interface from MeasurementBase) More... | |
bool | hasSurface () const |
Test to see if an associated surface exists. More... | |
virtual const Amg::Vector3D & | globalPosition () const override final |
returns the global Position (interface from MeasurementBase) More... | |
virtual bool | type (MeasurementBaseType::Type type) const override final |
Extended method checking the type. More... | |
virtual MsgStream & | dump (MsgStream &out) const override final |
produces logfile output about its content in MsgStream form. More... | |
virtual std::ostream & | dump (std::ostream &out) const override final |
produces logfile output about its content in stdout form. More... | |
const LocalParameters & | localParameters () const |
Interface method to get the LocalParameters. More... | |
const Amg::MatrixX & | localCovariance () const |
Interface method to get the localError. More... | |
void | destroySurface () noexcept |
destroySurface deletes the ptr if not null and the surface isFree Usefull also for testing More... | |
const S * | surfacePtr () |
return the ptr we hold useful for tests More... | |
const S * | release () noexcept |
release ala unique_ptr release More... | |
Static Public Member Functions | |
static const S * | cloneHelper (const S *input) |
Helper for cloning or not when we need depending on if the surface isFree. More... | |
Protected Attributes | |
Amg::Vector3D | m_globalPosition |
Global position of the PMoT. More... | |
LocalParameters | m_localParams |
Amg::MatrixX | m_localCovariance |
const S * | m_associatedSurface = nullptr |
Friends | |
class | ::TrackCollectionCnv |
Class to handle pseudo-measurements in fitters and on track objects.
Such virtual measurements are typically used to feed crude values into track fitters for otherwise unconstraint fit parameters. Inherits from the common Trk::MeasurementBase but NOT from Trk::RIO_OnTrack since it is not necessarily connected to a "real" identifier, PRD or detectorElement. Through the Trk::MeasurementBase inheritance this class can be stored and persistified.
Definition at line 41 of file PseudoMeasurementOnTrack.h.
Trk::PseudoMeasurementOnTrack::PseudoMeasurementOnTrack | ( | ) |
Definition at line 53 of file PseudoMeasurementOnTrack.cxx.
|
default |
|
defaultnoexcept |
Trk::PseudoMeasurementOnTrack::PseudoMeasurementOnTrack | ( | LocalParameters && | locpars, |
Amg::MatrixX && | locerr, | ||
const Surface & | assocSurf | ||
) |
Definition at line 32 of file PseudoMeasurementOnTrack.cxx.
Trk::PseudoMeasurementOnTrack::PseudoMeasurementOnTrack | ( | LocalParameters && | locpars, |
Amg::MatrixX && | locerr, | ||
Trk::ConstSurfaceUniquePtr | assocSurf | ||
) |
Definition at line 42 of file PseudoMeasurementOnTrack.cxx.
|
finaloverridevirtualdefault |
Destructor.
|
inlinefinaloverridevirtual |
returns the surface for the local to global transformation (interface from MeasurementBase)
Implements Trk::MeasurementBase.
Definition at line 110 of file PseudoMeasurementOnTrack.h.
|
inlinefinaloverridevirtual |
virtual constructor, not absolutely needed but given for EDM symmetry
Implements Trk::MeasurementBase.
Definition at line 104 of file PseudoMeasurementOnTrack.h.
|
inlinestaticinherited |
|
inlinenoexceptinherited |
destroySurface deletes the ptr if not null and the surface isFree Usefull also for testing
Definition at line 128 of file SurfaceHolderImpl.h.
|
finaloverridevirtual |
produces logfile output about its content in MsgStream form.
Implements Trk::MeasurementBase.
Definition at line 60 of file PseudoMeasurementOnTrack.cxx.
|
finaloverridevirtual |
produces logfile output about its content in stdout form.
Implements Trk::MeasurementBase.
Definition at line 76 of file PseudoMeasurementOnTrack.cxx.
|
inlinefinaloverridevirtual |
returns the global Position (interface from MeasurementBase)
Implements Trk::MeasurementBase.
Definition at line 122 of file PseudoMeasurementOnTrack.h.
|
inline |
Test to see if an associated surface exists.
Definition at line 116 of file PseudoMeasurementOnTrack.h.
|
inlineinherited |
Interface method to get the localError.
Definition at line 138 of file MeasurementBase.h.
|
inlineinherited |
Interface method to get the LocalParameters.
Definition at line 132 of file MeasurementBase.h.
|
default |
|
defaultnoexcept |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlinefinaloverridevirtual |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 88 of file PseudoMeasurementOnTrack.h.
|
inline |
NVI unique_ptr version of clone.
Definition at line 72 of file PseudoMeasurementOnTrack.h.
|
friend |
Definition at line 46 of file PseudoMeasurementOnTrack.h.
|
protectedinherited |
Definition at line 153 of file SurfaceHolderImpl.h.
|
protected |
Global position of the PMoT.
Definition at line 100 of file PseudoMeasurementOnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.