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

GreaterDetectorE Class Reference

#include <TDetector.h>

List of all members.


Detailed Description

Maximum detector-energy predicate class.

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

Author:
JEP.
Version:
1.0.
Date:
October 2004.

Definition at line 217 of file TDetector.h.

Public Member Functions

Bool_t operator() (TDetector *, TDetector *) const


Member Function Documentation

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

Determines which detector has the largest energy.

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

Definition at line 222 of file TDetector.h.

References TDetector::GetMaxEnergy().

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