ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::Intersection Struct Reference

#include <Intersection.h>

Collaboration diagram for Trk::Intersection:

Public Member Functions

 Intersection (const Amg::Vector3D &sinter, double slenght, bool svalid, double dist=0.)
bool operator< (const Intersection &si) const

Public Attributes

Amg::Vector3D position
double pathLength
double distance
bool valid

Detailed Description

Author
Andreas.Salzburger -at- cern.ch

Definition at line 23 of file Intersection.h.

Constructor & Destructor Documentation

◆ Intersection()

Trk::Intersection::Intersection ( const Amg::Vector3D & sinter,
double slenght,
bool svalid,
double dist = 0. )
inline

Definition at line 30 of file Intersection.h.

31 : position(sinter)
32 , pathLength(slenght)
33 , distance(dist)
34 , valid(svalid)
35 {}
Amg::Vector3D position

Member Function Documentation

◆ operator<()

bool Trk::Intersection::operator< ( const Intersection & si) const
inline

Definition at line 38 of file Intersection.h.

38{ return (valid && pathLength < si.pathLength); }

Member Data Documentation

◆ distance

double Trk::Intersection::distance

Definition at line 27 of file Intersection.h.

◆ pathLength

double Trk::Intersection::pathLength

Definition at line 26 of file Intersection.h.

◆ position

Amg::Vector3D Trk::Intersection::position

Definition at line 25 of file Intersection.h.

◆ valid

bool Trk::Intersection::valid

Definition at line 28 of file Intersection.h.


The documentation for this struct was generated from the following file: