Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

TrackFunctor::orderByZ< T > Class Template Reference

#include <TrackFunctor.h>

List of all members.

Public Member Functions

 orderByZ (int order=+1)
bool operator() (const T *t1, const T *t2) const

Private Attributes

int m_order

template<class T>
class TrackFunctor::orderByZ< T >


Constructor & Destructor Documentation

template<class T>
TrackFunctor::orderByZ< T >::orderByZ int  order = +1  )  [inline, explicit]
 

Definition at line 65 of file TrackFunctor.h.

References TrackFunctor::orderByZ< T >::m_order.

00065 :m_order(order) {}


Member Function Documentation

template<class T>
bool TrackFunctor::orderByZ< T >::operator() const T *  t1,
const T *  t2
const [inline]
 

Definition at line 66 of file TrackFunctor.h.

References TrackFunctor::orderByZ< T >::m_order.

00068     {
00069       return (m_order)*t1->z() > (m_order)*t2->z();
00070     }


Member Data Documentation

template<class T>
int TrackFunctor::orderByZ< T >::m_order [private]
 

Definition at line 63 of file TrackFunctor.h.

Referenced by TrackFunctor::orderByZ< T >::operator()(), and TrackFunctor::orderByZ< T >::orderByZ().


The documentation for this class was generated from the following file:
Generated on Thu May 12 12:28:09 2005 for New Track Event Model by doxygen 1.4.1