ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::SpaceTimePoint Class Reference

SpaceTimePoint. More...

#include <SpaceTimePoint.h>

Inheritance diagram for Trk::SpaceTimePoint:
Collaboration diagram for Trk::SpaceTimePoint:

Public Member Functions

 SpaceTimePoint ()
 T/P framework default constructor.
 SpaceTimePoint (const Amg::Vector3D &position, const float &t, const float &t_error, const float &weight, const TrackState::MeasurementType detector)
 constructor taking a time, an error on the time and a weight
virtual ~SpaceTimePoint ()
 default destructor
const Amg::Vector3DglobalPosition () const
 access to the global position
TrackState::MeasurementType measurementType () const
 return information about detector from which timing info originates
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

Private Attributes

Amg::Vector3D m_position
 global position of the point
TrackState::MeasurementType m_detectorID
 enum to denote origin of timing information

Detailed Description

SpaceTimePoint.

This class holds 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 26 of file SpaceTimePoint.h.

Constructor & Destructor Documentation

◆ SpaceTimePoint() [1/2]

Trk::SpaceTimePoint::SpaceTimePoint ( )

T/P framework default constructor.

Definition at line 8 of file SpaceTimePoint.cxx.

8 :
9 SpaceTimePointBase(0.0, 0.0, 0.0),
12{
13
14}
SpaceTimePointBase(const float &t, const float &t_error, const float &weight)
constructor taking a time, an error on the time and a weight
TrackState::MeasurementType m_detectorID
enum to denote origin of timing information
Amg::Vector3D m_position
global position of the point
Eigen::Matrix< double, 3, 1 > Vector3D

◆ SpaceTimePoint() [2/2]

Trk::SpaceTimePoint::SpaceTimePoint ( const Amg::Vector3D & position,
const float & t,
const float & t_error,
const float & weight,
const TrackState::MeasurementType detector )

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

Definition at line 16 of file SpaceTimePoint.cxx.

17 :
18 SpaceTimePointBase(t,t_error,weight),
19 m_position(position),
20 m_detectorID(detector)
21{
22
23}
float weight() const
access to the weight of the space time point

◆ ~SpaceTimePoint()

virtual Trk::SpaceTimePoint::~SpaceTimePoint ( )
inlinevirtual

default destructor

Definition at line 37 of file SpaceTimePoint.h.

37{};

Member Function Documentation

◆ errorTime()

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

access to the error on the measured time

Definition at line 50 of file SpaceTimePointBase.h.

50{return m_errorTime;}
float m_errorTime
error on the time measurement

◆ globalPosition()

const Amg::Vector3D & Trk::SpaceTimePoint::globalPosition ( ) const
inlinevirtual

access to the global position

Implements Trk::SpaceTimePointBase.

Definition at line 40 of file SpaceTimePoint.h.

40{return m_position;}

◆ measurementType()

TrackState::MeasurementType Trk::SpaceTimePoint::measurementType ( ) const
inline

return information about detector from which timing info originates

Definition at line 43 of file SpaceTimePoint.h.

43{return m_detectorID;}

◆ time()

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

access to the measured time

Definition at line 47 of file SpaceTimePointBase.h.

47{return m_time;}
float m_time
measured time

◆ weight()

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

access to the weight of the space time point

Definition at line 53 of file SpaceTimePointBase.h.

53{return m_weight;}
float m_weight
weight of the point

Member Data Documentation

◆ m_detectorID

TrackState::MeasurementType Trk::SpaceTimePoint::m_detectorID
private

enum to denote origin of timing information

Definition at line 51 of file SpaceTimePoint.h.

◆ m_errorTime

float Trk::SpaceTimePointBase::m_errorTime
protectedinherited

error on the time measurement

Definition at line 61 of file SpaceTimePointBase.h.

◆ m_position

Amg::Vector3D Trk::SpaceTimePoint::m_position
private

global position of the point

Definition at line 48 of file SpaceTimePoint.h.

◆ m_time

float Trk::SpaceTimePointBase::m_time
protectedinherited

measured time

Definition at line 58 of file SpaceTimePointBase.h.

◆ m_weight

float Trk::SpaceTimePointBase::m_weight
protectedinherited

weight of the point

Definition at line 64 of file SpaceTimePointBase.h.


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