ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
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 More...
 
 SpaceTimePointBase (const SpaceTimePointBase &stpb)=default
 copy ctor More...
 
SpaceTimePointBaseoperator= (const SpaceTimePointBase &stpb)=default
 Assignment operator. More...
 
virtual ~SpaceTimePointBase ()
 default destructor More...
 
 SpaceTimePointBase (SpaceTimePointBase &&)=default
 default move constructor More...
 
SpaceTimePointBaseoperator= (SpaceTimePointBase &&)=default
 default move assignment operator More...
 
virtual const Amg::Vector3DglobalPosition () const =0
 access to the global position (implemented in concrete classes) More...
 
float time () const
 access to the measured time More...
 
float errorTime () const
 access to the error on the measured time More...
 
float weight () const
 access to the weight of the space time point More...
 

Protected Attributes

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

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 {}

◆ 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, 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:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::SpaceTimePointBase::weight
float weight() const
access to the weight of the space time point
Definition: SpaceTimePointBase.h:53
Trk::SpaceTimePointBase::m_weight
float m_weight
weight of the point
Definition: SpaceTimePointBase.h:64
Trk::SpaceTimePointBase::m_errorTime
float m_errorTime
error on the time measurement
Definition: SpaceTimePointBase.h:61
Trk::SpaceTimePointBase::m_time
float m_time
measured time
Definition: SpaceTimePointBase.h:58