FreeHEP API
Version current

hep.aida.ref.tuple
Class Evaluator

java.lang.Object
  extended byhep.aida.ref.tuple.Evaluator
All Implemented Interfaces:
hep.aida.IEvaluator

public class Evaluator
extends Object
implements hep.aida.IEvaluator

Author:
The FreeHEP team @ SLAC
Source Code:
Evaluator.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.