ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
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. More...
 
 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 More...
 
virtual ~SpaceTimePoint ()
 default destructor More...
 
const Amg::Vector3DglobalPosition () const
 access to the global position More...
 
TrackState::MeasurementType measurementType () const
 return information about detector from which timing info originates 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...
 

Private Attributes

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

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 }

◆ 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),
21 {
22 
23 }

◆ ~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;}

◆ 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;}

◆ 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;}

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:
TRTCalib_cfilter.detector
detector
Definition: TRTCalib_cfilter.py:241
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::TrackState::unidentified
@ unidentified
Definition: TrackStateDefs.h:27
Trk::SpaceTimePoint::m_position
Amg::Vector3D m_position
global position of the point
Definition: SpaceTimePoint.h:48
Trk::SpaceTimePointBase::weight
float weight() const
access to the weight of the space time point
Definition: SpaceTimePointBase.h:53
Trk::SpaceTimePoint::m_detectorID
TrackState::MeasurementType m_detectorID
enum to denote origin of timing information
Definition: SpaceTimePoint.h:51
Trk::SpaceTimePointBase::m_weight
float m_weight
weight of the point
Definition: SpaceTimePointBase.h:64
Trk::SpaceTimePointBase::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: SpaceTimePointBase.cxx:7
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
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