SortAttribute::AscendingPT Class Reference

#include <FunctionObjects.h>

List of all members.

Public Member Functions

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 Fri Sep 21 13:21:01 2007 for AtlfastUtils by  doxygen 1.5.1