ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::SpaceTimePointBase Class Referenceabstract

SpaceTimePointBase. More...

#include <SpaceTimePointBase.h>

Inheritance diagram for Trk::SpaceTimePointBase:
Collaboration diagram for Trk::SpaceTimePointBase:

Public Member Functions

 SpaceTimePointBase (const float &t, const float &t_error, const float &weight)
 constructor taking a time, an error on the time and a weight
 SpaceTimePointBase (const SpaceTimePointBase &stpb)=default
 copy ctor
SpaceTimePointBaseoperator= (const SpaceTimePointBase &stpb)=default
 Assignment operator.
virtual ~SpaceTimePointBase ()
 default destructor
 SpaceTimePointBase (SpaceTimePointBase &&)=default
 default move constructor
SpaceTimePointBaseoperator= (SpaceTimePointBase &&)=default
 default move assignment operator
virtual const Amg::Vector3DglobalPosition () const =0
 access to the global position (implemented in concrete classes)
float time () const
 access to the measured time
float errorTime () const
 access to the error on the measured time
float weight () const
 access to the weight of the space time point

Protected Attributes

float m_time
 measured time
float m_errorTime
 error on the time measurement
float m_weight
 weight of the point

Detailed Description

SpaceTimePointBase.

This base class for classes holding a position and a time with associated error and weight.

Author
Christian Ohm chris.nosp@m.tian.nosp@m..ohm@.nosp@m.cern.nosp@m..ch
Dominique Fortin domin.nosp@m.ique.nosp@m..fort.nosp@m.in@c.nosp@m.ern.c.nosp@m.h

Definition at line 23 of file SpaceTimePointBase.h.

Constructor & Destructor Documentation

◆ SpaceTimePointBase() [1/3]

Trk::SpaceTimePointBase::SpaceTimePointBase ( const float & t,
const float & t_error,
const float & weight )

constructor taking a time, an error on the time and a weight

Definition at line 7 of file SpaceTimePointBase.cxx.

7 :
8 m_time(t),
9 m_errorTime(t_error),
11{}
float m_weight
weight of the point
float m_errorTime
error on the time measurement
float m_time
measured time
float weight() const
access to the weight of the space time point

◆ SpaceTimePointBase() [2/3]

Trk::SpaceTimePointBase::SpaceTimePointBase ( const SpaceTimePointBase & stpb)
default

copy ctor

◆ ~SpaceTimePointBase()

virtual Trk::SpaceTimePointBase::~SpaceTimePointBase ( )
inlinevirtual

default destructor

Definition at line 35 of file SpaceTimePointBase.h.

35{};

◆ SpaceTimePointBase() [3/3]

Trk::SpaceTimePointBase::SpaceTimePointBase ( SpaceTimePointBase && )
default

default move constructor

Member Function Documentation

◆ errorTime()

float Trk::SpaceTimePointBase::errorTime ( ) const
inline

access to the error on the measured time

Definition at line 50 of file SpaceTimePointBase.h.

50{return m_errorTime;}

◆ globalPosition()

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

access to the global position (implemented in concrete classes)

Implemented in Muon::MuonSegment, MuonSegment, and Trk::SpaceTimePoint.

◆ operator=() [1/2]

SpaceTimePointBase & Trk::SpaceTimePointBase::operator= ( const SpaceTimePointBase & stpb)
default

Assignment operator.

◆ operator=() [2/2]

SpaceTimePointBase & Trk::SpaceTimePointBase::operator= ( SpaceTimePointBase && )
default

default move assignment operator

◆ time()

float Trk::SpaceTimePointBase::time ( ) const
inline

access to the measured time

Definition at line 47 of file SpaceTimePointBase.h.

47{return m_time;}

◆ weight()

float Trk::SpaceTimePointBase::weight ( ) const
inline

access to the weight of the space time point

Definition at line 53 of file SpaceTimePointBase.h.

53{return m_weight;}

Member Data Documentation

◆ m_errorTime

float Trk::SpaceTimePointBase::m_errorTime
protected

error on the time measurement

Definition at line 61 of file SpaceTimePointBase.h.

◆ m_time

float Trk::SpaceTimePointBase::m_time
protected

measured time

Definition at line 58 of file SpaceTimePointBase.h.

◆ m_weight

float Trk::SpaceTimePointBase::m_weight
protected

weight of the point

Definition at line 64 of file SpaceTimePointBase.h.


The documentation for this class was generated from the following files: