Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SortAttribute::AscendingPT Class Reference

STL generic algorithm function object. More...

#include <FunctionObjects.h>

List of all members.


Public Methods

bool operator() (const Atlfast::IKinematic *a, const Atlfast::IKinematic *b) const
bool operator() (const Atlfast::IKinematic &a, const Atlfast::IKinematic &b) const

Detailed Description

STL generic algorithm function object.

Used to sort a container of IKinematic objects or pointers by ascending pT.

Definition at line 174 of file FunctionObjects.h.


Member Function Documentation

bool SortAttribute::AscendingPT::operator() const Atlfast::IKinematic *    a,
const Atlfast::IKinematic *    b
const [inline]
 

Definition at line 177 of file FunctionObjects.h.

00178       { return( a->pT() < b->pT() ) ; }

bool SortAttribute::AscendingPT::operator() const Atlfast::IKinematic &    a,
const Atlfast::IKinematic &    b
const [inline]
 

Definition at line 180 of file FunctionObjects.h.

00181       { return( a.pT() < b.pT() ) ; }

The documentation for this class was generated from the following file:
Generated on Wed Jan 15 11:00:37 2003 for AtlfastUtils by doxygen1.3-rc1