ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Trk::ObjectIntersection< T > Class Template Reference

class extensions to return also the object More...

#include <Intersection.h>

Collaboration diagram for Trk::ObjectIntersection< T >:

Public Member Functions

 ObjectIntersection (const Intersection &sInter, const T *sObject, PropDirection dir=alongMomentum)
 Object intersection. More...
 
bool operator< (const ObjectIntersection< T > &oi) const
 smaller operator for ordering & sorting More...
 

Public Attributes

Intersection intersection
 
const T * object
 
PropDirection pDirection
 

Detailed Description

template<class T>
class Trk::ObjectIntersection< T >

class extensions to return also the object

Definition at line 43 of file Intersection.h.

Constructor & Destructor Documentation

◆ ObjectIntersection()

template<class T >
Trk::ObjectIntersection< T >::ObjectIntersection ( const Intersection sInter,
const T *  sObject,
PropDirection  dir = alongMomentum 
)
inline

Object intersection.

Definition at line 51 of file Intersection.h.

52  : intersection(sInter)
53  , object(sObject)
54  , pDirection(dir)
55  {}

Member Function Documentation

◆ operator<()

template<class T >
bool Trk::ObjectIntersection< T >::operator< ( const ObjectIntersection< T > &  oi) const
inline

smaller operator for ordering & sorting

Definition at line 58 of file Intersection.h.

58 { return (intersection < oi.intersection); }

Member Data Documentation

◆ intersection

template<class T >
Intersection Trk::ObjectIntersection< T >::intersection

Definition at line 46 of file Intersection.h.

◆ object

template<class T >
const T* Trk::ObjectIntersection< T >::object

Definition at line 47 of file Intersection.h.

◆ pDirection

template<class T >
PropDirection Trk::ObjectIntersection< T >::pDirection

Definition at line 48 of file Intersection.h.


The documentation for this class was generated from the following file:
Trk::ObjectIntersection::object
const T * object
Definition: Intersection.h:47
beamspotman.dir
string dir
Definition: beamspotman.py:623
Trk::ObjectIntersection::intersection
Intersection intersection
Definition: Intersection.h:46
Trk::ObjectIntersection::pDirection
PropDirection pDirection
Definition: Intersection.h:48