Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

xrHasPeakInRangeKE Class Reference

The rule to return status if the spectrum has a peak is in KE range. More...

#include <XRXPS.H>

Inheritance diagram for xrHasPeakInRangeKE:

Inheritance graph
[legend]
Collaboration diagram for xrHasPeakInRangeKE:

Collaboration graph
[legend]

Public Member Functions

 xrHasPeakInRangeKE (xpAgent *MyAgent, float Low, float High)
xpRuleGeneric Fire (void)

Protected Attributes

float KELow
float KEHigh

Detailed Description

The rule to return status if the spectrum has a peak is in KE range.

The condition is:

at least one peak is within the given KE range


Constructor & Destructor Documentation

xrHasPeakInRangeKE::xrHasPeakInRangeKE xpAgent MyAgent,
float  Low,
float  High
 

The default constructor


Member Function Documentation

xpRuleGeneric xrHasPeakInRangeKE::Fire void   )  [virtual]
 

Returns:
the status if the spectrum has peak in the given range

Reimplemented from xpRuleGeneric.


Field Documentation

float xrHasPeakInRangeKE::KEHigh [protected]
 

the high KE of the region

float xrHasPeakInRangeKE::KELow [protected]
 

the low KE of the region


The documentation for this class was generated from the following files:
Generated on Tue Dec 23 10:24:55 2003 for xps4xps by doxygen 1.3.5