ATLAS Offline Software
Public Member Functions | List of all members
Trk::PointOnTrack Class Reference

#include <PointOnTrack.h>

Inheritance diagram for Trk::PointOnTrack:
Collaboration diagram for Trk::PointOnTrack:

Public Member Functions

 PointOnTrack ()
 
 PointOnTrack (const Perigee &first, double second)
 
 PointOnTrack (const PointOnTrack &same)
 
 PointOnTrack (const Perigee &perigee)
 
PointOnTrackoperator= (const PointOnTrack &)=default
 
 ~PointOnTrack ()
 
const PerigeegetPerigee () const
 
double getPhiPoint () const
 
void setPhiPoint (double phi)
 
void setPerigee (const Perigee &perigee)
 

Detailed Description

Definition at line 12 of file PointOnTrack.h.

Constructor & Destructor Documentation

◆ PointOnTrack() [1/4]

Trk::PointOnTrack::PointOnTrack ( )

Definition at line 9 of file PointOnTrack.cxx.

9 : std::pair<const Perigee*,double>(0,0) {}

◆ PointOnTrack() [2/4]

Trk::PointOnTrack::PointOnTrack ( const Perigee first,
double  second 
)

Definition at line 11 of file PointOnTrack.cxx.

11  :
12  std::pair<const Perigee*,double>(&first,second) {}

◆ PointOnTrack() [3/4]

Trk::PointOnTrack::PointOnTrack ( const PointOnTrack same)

Definition at line 14 of file PointOnTrack.cxx.

14  :
15  std::pair<const Perigee*,double>(same.first,same.second) {}

◆ PointOnTrack() [4/4]

Trk::PointOnTrack::PointOnTrack ( const Perigee perigee)

Definition at line 17 of file PointOnTrack.cxx.

17  :
18  std::pair<const Perigee*,double>(&perigee,perigee.parameters()[Trk::phi]) {}

◆ ~PointOnTrack()

Trk::PointOnTrack::~PointOnTrack ( )
inline

Definition at line 20 of file PointOnTrack.h.

20 {};

Member Function Documentation

◆ getPerigee()

const Perigee & Trk::PointOnTrack::getPerigee ( ) const

Definition at line 20 of file PointOnTrack.cxx.

20  {
21  return *(this->first);
22  }

◆ getPhiPoint()

double Trk::PointOnTrack::getPhiPoint ( ) const

Definition at line 24 of file PointOnTrack.cxx.

24  {
25  return this->second;
26  }

◆ operator=()

PointOnTrack& Trk::PointOnTrack::operator= ( const PointOnTrack )
default

◆ setPerigee()

void Trk::PointOnTrack::setPerigee ( const Perigee perigee)

Definition at line 32 of file PointOnTrack.cxx.

32  {
33  this->first=&perigee;
34  }

◆ setPhiPoint()

void Trk::PointOnTrack::setPhiPoint ( double  phi)

Definition at line 28 of file PointOnTrack.cxx.

28  {
29  this->second=phi;
30  }

The documentation for this class was generated from the following files:
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
python.TrigEgammaFastCaloHypoTool.same
def same(val, tool)
Definition: TrigEgammaFastCaloHypoTool.py:12
DeMoScan.first
bool first
Definition: DeMoScan.py:536
Trk::phi
@ phi
Definition: ParamDefs.h:75