ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Trk::MeasurementBase Class Referenceabstract

#include <MeasurementBase.h>

Inheritance diagram for Trk::MeasurementBase:
Collaboration diagram for Trk::MeasurementBase:

Public Member Functions

 MeasurementBase ()=default
 Default constructor - needed for POOL/SEAL. More...
 
 MeasurementBase (LocalParameters &&pars, Amg::MatrixX &&cov)
 constructor
More...
 
virtual ~MeasurementBase ()=default
 Virtual destructor. More...
 
virtual MeasurementBaseclone () const =0
 Pseudo-Constructor. More...
 
std::unique_ptr< MeasurementBaseuniqueClone () const
 NVI Clone giving up unique pointer. More...
 
const LocalParameterslocalParameters () const
 Interface method to get the LocalParameters. More...
 
const Amg::MatrixXlocalCovariance () const
 Interface method to get the localError. More...
 
virtual const SurfaceassociatedSurface () const =0
 Interface method to get the associated Surface. More...
 
virtual const Amg::Vector3DglobalPosition () const =0
 Interface method to get the global Position. More...
 
virtual bool type (MeasurementBaseType::Type type) const =0
 Interface method checking the type. More...
 
virtual MsgStream & dump (MsgStream &out) const =0
 Interface method for output, to be overloaded by child classes*. More...
 
virtual std::ostream & dump (std::ostream &out) const =0
 Interface method for output, to be overloaded by child classes*. More...
 

Protected Member Functions

 MeasurementBase (const MeasurementBase &)=default
 
 MeasurementBase (MeasurementBase &&) noexcept=default
 
MeasurementBaseoperator= (const MeasurementBase &)=default
 
MeasurementBaseoperator= (MeasurementBase &&) noexcept=default
 

Protected Attributes

LocalParameters m_localParams
 
Amg::MatrixX m_localCovariance
 

Detailed Description

This class is the pure abstract base class for all fittable tracking measurements. It holds the minimal information, such as LocalParameters, ErrorMatrix, a Surface and a GlobalPosition.

The associatedSurface and the globalPosition are returned by const reference

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Christos Anastopouls Athena MT modifications

Definition at line 57 of file MeasurementBase.h.

Constructor & Destructor Documentation

◆ MeasurementBase() [1/4]

Trk::MeasurementBase::MeasurementBase ( )
default

Default constructor - needed for POOL/SEAL.

◆ MeasurementBase() [2/4]

Trk::MeasurementBase::MeasurementBase ( LocalParameters &&  pars,
Amg::MatrixX &&  cov 
)
inline

constructor

Definition at line 65 of file MeasurementBase.h.

66  : m_localParams(std::move(pars))
67  , m_localCovariance(std::move(cov))
68  {}

◆ ~MeasurementBase()

virtual Trk::MeasurementBase::~MeasurementBase ( )
virtualdefault

Virtual destructor.

◆ MeasurementBase() [3/4]

Trk::MeasurementBase::MeasurementBase ( const MeasurementBase )
protecteddefault

◆ MeasurementBase() [4/4]

Trk::MeasurementBase::MeasurementBase ( MeasurementBase &&  )
protecteddefaultnoexcept

Member Function Documentation

◆ associatedSurface()

virtual const Surface& Trk::MeasurementBase::associatedSurface ( ) const
pure virtual

◆ clone()

virtual MeasurementBase* Trk::MeasurementBase::clone ( ) const
pure virtual

◆ dump() [1/2]

virtual MsgStream& Trk::MeasurementBase::dump ( MsgStream &  out) const
pure virtual

◆ dump() [2/2]

virtual std::ostream& Trk::MeasurementBase::dump ( std::ostream &  out) const
pure virtual

◆ globalPosition()

virtual const Amg::Vector3D& Trk::MeasurementBase::globalPosition ( ) const
pure virtual

◆ localCovariance()

const Amg::MatrixX & Trk::MeasurementBase::localCovariance ( ) const
inline

Interface method to get the localError.

Definition at line 138 of file MeasurementBase.h.

139 {
140  return m_localCovariance;
141 }

◆ localParameters()

const Trk::LocalParameters & Trk::MeasurementBase::localParameters ( ) const
inline

Interface method to get the LocalParameters.

Definition at line 132 of file MeasurementBase.h.

133 {
134  return m_localParams;
135 }

◆ operator=() [1/2]

MeasurementBase& Trk::MeasurementBase::operator= ( const MeasurementBase )
protecteddefault

◆ operator=() [2/2]

MeasurementBase& Trk::MeasurementBase::operator= ( MeasurementBase &&  )
protecteddefaultnoexcept

◆ type()

virtual bool Trk::MeasurementBase::type ( MeasurementBaseType::Type  type) const
pure virtual

◆ uniqueClone()

std::unique_ptr<MeasurementBase> Trk::MeasurementBase::uniqueClone ( ) const
inline

NVI Clone giving up unique pointer.

Definition at line 77 of file MeasurementBase.h.

78  {
79  return std::unique_ptr<MeasurementBase>(clone());
80  }

Member Data Documentation

◆ m_localCovariance

Amg::MatrixX Trk::MeasurementBase::m_localCovariance
protected

Definition at line 112 of file MeasurementBase.h.

◆ m_localParams

LocalParameters Trk::MeasurementBase::m_localParams
protected

Definition at line 111 of file MeasurementBase.h.


The documentation for this class was generated from the following file:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
Trk::MeasurementBase::clone
virtual MeasurementBase * clone() const =0
Pseudo-Constructor.
plotBeamSpotVxVal.cov
cov
Definition: plotBeamSpotVxVal.py:201
Trk::MeasurementBase::m_localParams
LocalParameters m_localParams
Definition: MeasurementBase.h:111
Trk::MeasurementBase::m_localCovariance
Amg::MatrixX m_localCovariance
Definition: MeasurementBase.h:112