Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Cut Class Reference

#include <Cut.h>

Inheritance diagram for Cut:

Analyze CutWithEthresh List of all members.

Public Types

enum  Comparison {
  LT, GT, EQ, NE,
  LE, GE
}

Public Methods

 Cut (const Tuple&t, std::string item_name, Comparison op, double c, std::string label="")
 Cut (const Tuple&t, std::string::const_iterator& it, std::string::iterator end)
 Cut (const Tuple&t, const std::string& expression )
virtual bool apply ()

Private Methods

void parse (const Tuple&t, std::string::const_iterator& it, std::string::const_iterator end)

Private Attributes

double m_cut
Comparison m_op

Member Enumeration Documentation

enum Cut::Comparison
 

Enumeration values:
LT  
GT  
EQ  
NE  
LE  
GE  

Definition at line 24 of file Cut.h.


Constructor & Destructor Documentation

Cut::Cut ( const Tuple & t,
std::string item_name,
Comparison op,
double cut,
std::string label = "" )
 

Definition at line 15 of file Cut.cxx.

Cut::Cut ( const Tuple & t,
std::string::const_iterator & it,
std::string::iterator end )
 

Definition at line 41 of file Cut.cxx.

Cut::Cut ( const Tuple & t,
const std::string & expression )
 

Definition at line 35 of file Cut.cxx.


Member Function Documentation

bool Cut::apply ( ) [virtual]
 

Reimplemented from Analyze.

Reimplemented in CutWithEthresh.

Definition at line 78 of file Cut.cxx.

Referenced by CutWithEthresh::apply().

void Cut::parse ( const Tuple & t,
std::string::const_iterator & it,
std::string::const_iterator end ) [private]
 

Definition at line 47 of file Cut.cxx.

Referenced by Cut().


Member Data Documentation

double Cut::m_cut [private]
 

Definition at line 41 of file Cut.h.

Comparison Cut::m_op [private]
 

Definition at line 42 of file Cut.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:40 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000