ATLAS Offline Software
Loading...
Searching...
No Matches
PointOnTrack.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace Trk {
8
10
11 PointOnTrack::PointOnTrack(const Perigee & first,double second):
12 std::pair<const Perigee*,double>(&first,second) {}
13
15 std::pair<const Perigee*,double>(same.first,same.second) {}
16
18 std::pair<const Perigee*,double>(&perigee,perigee.parameters()[Trk::phi]) {}
19
21 return *(this->first);
22 }
23
25 return this->second;
26 }
27
29 this->second=phi;
30 }
31
32 void PointOnTrack::setPerigee(const Perigee & perigee) {
33 this->first=&perigee;
34 }
35
36}
double getPhiPoint() const
const Perigee & getPerigee() const
void setPhiPoint(double phi)
void setPerigee(const Perigee &perigee)
STL class.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
@ phi
Definition ParamDefs.h:75
STL namespace.