ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkSpaceTimePoint
TrkSpaceTimePoint
SpaceTimePointBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SpaceTimePoint.h, (c) ATLAS Detector software
8
9
#ifndef TRKSPACETIMEPOINTBASE_H
10
#define TRKSPACETIMEPOINTBASE_H
11
#include "
EventPrimitives/EventPrimitives.h
"
12
#include "
GeoPrimitives/GeoPrimitives.h
"
13
14
namespace
Trk
{
15
23
class
SpaceTimePointBase
{
24
public
:
26
SpaceTimePointBase
(
const
float
& t,
const
float
& t_error,
const
float
&
weight
);
27
29
SpaceTimePointBase
(
const
SpaceTimePointBase
& stpb) =
default
;
30
32
SpaceTimePointBase
&
operator=
(
const
SpaceTimePointBase
& stpb) =
default
;
33
35
virtual
~SpaceTimePointBase
() {};
36
38
SpaceTimePointBase
(
SpaceTimePointBase
&& ) =
default
;
39
41
SpaceTimePointBase
&
operator=
(
SpaceTimePointBase
&& ) =
default
;
42
44
virtual
const
Amg::Vector3D
&
globalPosition
()
const
= 0;
45
47
float
time
()
const
{
return
m_time
;}
48
50
float
errorTime
()
const
{
return
m_errorTime
;}
51
53
float
weight
()
const
{
return
m_weight
;}
54
55
protected
:
56
58
float
m_time
;
59
61
float
m_errorTime
;
62
64
float
m_weight
;
65
66
};
67
68
}
// end of namespace
69
70
#endif
EventPrimitives.h
GeoPrimitives.h
Trk::SpaceTimePointBase::m_weight
float m_weight
weight of the point
Definition
SpaceTimePointBase.h:64
Trk::SpaceTimePointBase::operator=
SpaceTimePointBase & operator=(const SpaceTimePointBase &stpb)=default
Assignment operator.
Trk::SpaceTimePointBase::errorTime
float errorTime() const
access to the error on the measured time
Definition
SpaceTimePointBase.h:50
Trk::SpaceTimePointBase::SpaceTimePointBase
SpaceTimePointBase(SpaceTimePointBase &&)=default
default move constructor
Trk::SpaceTimePointBase::globalPosition
virtual const Amg::Vector3D & globalPosition() const =0
access to the global position (implemented in concrete classes)
Trk::SpaceTimePointBase::~SpaceTimePointBase
virtual ~SpaceTimePointBase()
default destructor
Definition
SpaceTimePointBase.h:35
Trk::SpaceTimePointBase::SpaceTimePointBase
SpaceTimePointBase(const SpaceTimePointBase &stpb)=default
copy ctor
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
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
Trk::SpaceTimePointBase::weight
float weight() const
access to the weight of the space time point
Definition
SpaceTimePointBase.h:53
Trk::SpaceTimePointBase::time
float time() const
access to the measured time
Definition
SpaceTimePointBase.h:47
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0