FreeHEP API
Version v1.2.2

hep.aida.ref.tuple
Class Evaluator

java.lang.Object
  |
  +--hep.aida.ref.tuple.Evaluator
All Implemented Interfaces:
hep.aida.IEvaluator

public class Evaluator
extends Object
implements hep.aida.IEvaluator

Author:
The FreeHEP team @ SLAC

Field Summary
protected  hep.aida.ITuple tuple
           
 
Constructor Summary
Evaluator(String expression)
          Default contructor.
 
Method Summary
 double evaluateDouble()
           
 String expression()
           
 void initialize(hep.aida.ITuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tuple

protected hep.aida.ITuple tuple
Constructor Detail

Evaluator

public Evaluator(String expression)
Default contructor.

Parameters:
expression - The expression to evaluate on the tuple.
Method Detail

expression

public String expression()
Specified by:
expression in interface hep.aida.IEvaluator

initialize

public void initialize(hep.aida.ITuple tuple)
Specified by:
initialize in interface hep.aida.IEvaluator

evaluateDouble

public double evaluateDouble()
Specified by:
evaluateDouble in interface hep.aida.IEvaluator

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.