ATLAS Offline Software
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>
15 class MsgStream;
16 
17 namespace 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 
58 MsgStream& operator << ( MsgStream& sl, const Trk::SpaceTimePoint& stp);
59 
61 std::ostream& operator << ( std::ostream& sl, const Trk::SpaceTimePoint& stp);
62 
63 #endif
Trk::SpaceTimePoint
SpaceTimePoint.
Definition: SpaceTimePoint.h:26
TrackStateDefs.h
TRTCalib_cfilter.detector
detector
Definition: TRTCalib_cfilter.py:241
Trk::SpaceTimePointBase
SpaceTimePointBase.
Definition: SpaceTimePointBase.h:23
Trk::SpaceTimePoint::globalPosition
const Amg::Vector3D & globalPosition() const
access to the global position
Definition: SpaceTimePoint.h:40
Trk::SpaceTimePoint::measurementType
TrackState::MeasurementType measurementType() const
return information about detector from which timing info originates
Definition: SpaceTimePoint.h:43
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::SpaceTimePoint::SpaceTimePoint
SpaceTimePoint()
T/P framework default constructor.
Definition: SpaceTimePoint.cxx:8
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
SpaceTimePointBase.h
Trk::SpaceTimePoint::~SpaceTimePoint
virtual ~SpaceTimePoint()
default destructor
Definition: SpaceTimePoint.h:37
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
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
operator<<
MsgStream & operator<<(MsgStream &sl, const Trk::SpaceTimePoint &stp)
Overload of << operator for MsgStream for debug output.
Definition: SpaceTimePoint.cxx:26