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

SortAttribute::DescendingPT 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 descending pT.

Definition at line 189 of file FunctionObjects.h.


Member Function Documentation

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

Definition at line 192 of file FunctionObjects.h.

00193       { return( a->pT() > b->pT() ) ; }

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

Definition at line 195 of file FunctionObjects.h.

00196       { 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