ATLAS Offline Software
Loading...
Searching...
No Matches
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
14#include <ostream>
15class MsgStream;
16
17namespace Trk {
18
27 public:
28
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
44
45 private:
46
49
52
53 };
54
55} // end of namespace
56
58MsgStream& operator << ( MsgStream& sl, const Trk::SpaceTimePoint& stp);
59
61std::ostream& operator << ( std::ostream& sl, const Trk::SpaceTimePoint& stp);
62
63#endif
MsgStream & operator<<(MsgStream &sl, const Trk::SpaceTimePoint &stp)
Overload of << operator for MsgStream for debug output.
SpaceTimePointBase(const float &t, const float &t_error, const float &weight)
constructor taking a time, an error on the time and a weight
float weight() const
access to the weight of the space time point
SpaceTimePoint.
virtual ~SpaceTimePoint()
default destructor
TrackState::MeasurementType m_detectorID
enum to denote origin of timing information
SpaceTimePoint()
T/P framework default constructor.
TrackState::MeasurementType measurementType() const
return information about detector from which timing info originates
const Amg::Vector3D & globalPosition() const
access to the global position
Amg::Vector3D m_position
global position of the point
Eigen::Matrix< double, 3, 1 > Vector3D
MeasurementType
enum describing the flavour of MeasurementBase
Ensure that the ATLAS eigen extensions are properly loaded.