org.freehep.jas.extension.tupleExplorer.jel
Class JELCut

java.lang.Object
  extended by org.freehep.jas.extension.tupleExplorer.cut.AbstractCut
      extended by org.freehep.jas.extension.tupleExplorer.jel.JELCut
All Implemented Interfaces:
Cut

public class JELCut
extends AbstractCut

Version:
$Id: JELCut.java 13893 2011-09-28 23:42:34Z tonyj $
Author:
tonyj

Field Summary
 
Fields inherited from class org.freehep.jas.extension.tupleExplorer.cut.AbstractCut
cutListeners
 
Fields inherited from interface org.freehep.jas.extension.tupleExplorer.cut.Cut
CUT_DISABLED, CUT_DISABLED_INVERTED, CUT_ENABLED, CUT_INVERTED
 
Constructor Summary
JELCut(String name, MutableTuple tuple, MutableTupleTree tupleTree, NTupleCompiledExpression ncexp, String expression)
           
 
Method Summary
 boolean accept(hep.aida.ref.tuple.FTupleCursor cursor)
          Apply the cut to the CutDataSet.
 String getExpression()
           
 org.freehep.jas.plugin.tree.FTreePath getLeadingPath()
           
 MutableTuple getNTuple()
           
 
Methods inherited from class org.freehep.jas.extension.tupleExplorer.cut.AbstractCut
addCutListener, fireCutChanged, getCutDataSet, getCutGUIListener, getCutListeners, getName, getState, invert, isEnabled, isInverted, removeCutListener, setCutDataSet, setDisabled, setName, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JELCut

public JELCut(String name,
              MutableTuple tuple,
              MutableTupleTree tupleTree,
              NTupleCompiledExpression ncexp,
              String expression)
Method Detail

getLeadingPath

public org.freehep.jas.plugin.tree.FTreePath getLeadingPath()

accept

public boolean accept(hep.aida.ref.tuple.FTupleCursor cursor)
Description copied from interface: Cut
Apply the cut to the CutDataSet.

Parameters:
cursor - the CutDataCursor to access the CutDataSet current value
Returns:
true<\code> if the current value of the CutDataSet is accepted by the cut false<\code> otherwise

getExpression

public String getExpression()

getNTuple

public MutableTuple getNTuple()


Copyright © 2013. All Rights Reserved.