ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkSpaceTimePoint
TrkSpaceTimePoint
SpaceTimePoint.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 TRKSPACETIMEPOINT_H
10
#define TRKSPACETIMEPOINT_H
11
12
#include "
TrkSpaceTimePoint/SpaceTimePointBase.h
"
13
#include "
TrkEventPrimitives/TrackStateDefs.h
"
14
#include <ostream>
15
class
MsgStream;
16
17
namespace
Trk
{
18
26
class
SpaceTimePoint
:
public
SpaceTimePointBase
{
27
public
:
28
30
SpaceTimePoint
();
31
33
SpaceTimePoint
(
const
Amg::Vector3D
&
position
,
const
float
& t,
const
float
& t_error,
34
const
float
&
weight
,
const
TrackState::MeasurementType
detector);
35
37
virtual
~SpaceTimePoint
() {};
38
40
const
Amg::Vector3D
&
globalPosition
()
const
{
return
m_position
;}
41
43
TrackState::MeasurementType
measurementType
()
const
{
return
m_detectorID
;}
44
45
private
:
46
48
Amg::Vector3D
m_position
;
49
51
TrackState::MeasurementType
m_detectorID
;
52
53
};
54
55
}
// end of namespace
56
58
MsgStream&
operator <<
( MsgStream& sl,
const
Trk::SpaceTimePoint
& stp);
59
61
std::ostream&
operator <<
( std::ostream& sl,
const
Trk::SpaceTimePoint
& stp);
62
63
#endif
SpaceTimePointBase.h
operator<<
MsgStream & operator<<(MsgStream &sl, const Trk::SpaceTimePoint &stp)
Overload of << operator for MsgStream for debug output.
Definition
SpaceTimePoint.cxx:26
TrackStateDefs.h
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::weight
float weight() const
access to the weight of the space time point
Definition
SpaceTimePointBase.h:53
Trk::SpaceTimePoint
SpaceTimePoint.
Definition
SpaceTimePoint.h:26
Trk::SpaceTimePoint::~SpaceTimePoint
virtual ~SpaceTimePoint()
default destructor
Definition
SpaceTimePoint.h:37
Trk::SpaceTimePoint::m_detectorID
TrackState::MeasurementType m_detectorID
enum to denote origin of timing information
Definition
SpaceTimePoint.h:51
Trk::SpaceTimePoint::SpaceTimePoint
SpaceTimePoint()
T/P framework default constructor.
Definition
SpaceTimePoint.cxx:8
Trk::SpaceTimePoint::measurementType
TrackState::MeasurementType measurementType() const
return information about detector from which timing info originates
Definition
SpaceTimePoint.h:43
Trk::SpaceTimePoint::globalPosition
const Amg::Vector3D & globalPosition() const
access to the global position
Definition
SpaceTimePoint.h:40
Trk::SpaceTimePoint::m_position
Amg::Vector3D m_position
global position of the point
Definition
SpaceTimePoint.h:48
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk::TrackState::MeasurementType
MeasurementType
enum describing the flavour of MeasurementBase
Definition
TrackStateDefs.h:26
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::position
const Amg::Vector3D & position() const
Method to retrieve the position of the Intersection.
Generated on
for ATLAS Offline Software by
1.17.0