Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GreaterHitE Class Reference

#include <THit.h>

List of all members.


Detailed Description

Maximum hit-energy predicate class.

This class is a predicate class for determining whether which THit has the highest energy value. It is used with the STL containers (they sort in descending order).

Author:
JEP.
Version:
1.0.
Date:
November 2005.

Definition at line 119 of file THit.h.

Public Member Functions

Bool_t operator() (const THit &, const THit &) const


Member Function Documentation

Bool_t operator() const THit a,
const THit b
const [inline]
 

Determines which hit has the largest energy.

Parameters:
[in] a Hit to be compared to.
[in] b The hit to compare with a.
Returns:
True if a has more energy than b.

Definition at line 124 of file THit.h.

References THit::GetEnergy().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Mon Jan 8 11:54:33 2007 for DragonRoot by  doxygen 1.3.9.1