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