Class EventTree

java.lang.Object
org.jlab.groot.tree.Tree
org.jlab.clas.physics.EventTree
All Implemented Interfaces:
org.jlab.groot.tree.ITree, org.jlab.groot.tree.TreeProvider

public class EventTree extends org.jlab.groot.tree.Tree implements org.jlab.groot.tree.TreeProvider
Author:
gavalian
  • Constructor Details

    • EventTree

      public EventTree()
  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface org.jlab.groot.tree.ITree
      Overrides:
      reset in class org.jlab.groot.tree.Tree
    • getEntries

      public int getEntries()
      Specified by:
      getEntries in interface org.jlab.groot.tree.ITree
      Overrides:
      getEntries in class org.jlab.groot.tree.Tree
    • readEntry

      public int readEntry(int entry)
      Specified by:
      readEntry in interface org.jlab.groot.tree.ITree
      Overrides:
      readEntry in class org.jlab.groot.tree.Tree
    • readNext

      public boolean readNext()
      Specified by:
      readNext in interface org.jlab.groot.tree.ITree
      Overrides:
      readNext in class org.jlab.groot.tree.Tree
    • setSource

      public void setSource(String filename)
      Specified by:
      setSource in interface org.jlab.groot.tree.TreeProvider
    • addBranch

      public void addBranch(String name, String filter)
    • addBranchWithFilter

      public void addBranchWithFilter(String name, String filter, String genFilter)
    • addLeaf

      public void addLeaf(String branch, String name, String expression, String... properties)
    • initTree

      public void initTree()
    • processEvent

      public void processEvent(org.jlab.io.base.DataEvent event)
    • tree

      public org.jlab.groot.tree.Tree tree()
      Specified by:
      tree in interface org.jlab.groot.tree.TreeProvider
    • getTreeModel

      public TreeModel getTreeModel()
      Specified by:
      getTreeModel in interface org.jlab.groot.tree.TreeProvider
    • getDynamicTree

      public org.jlab.groot.tree.DynamicTree getDynamicTree()
      Overrides:
      getDynamicTree in class org.jlab.groot.tree.Tree
    • actionTreeNode

      public List<org.jlab.groot.data.DataVector> actionTreeNode(TreePath[] path, int limit)
      Specified by:
      actionTreeNode in interface org.jlab.groot.tree.TreeProvider
    • treeConfigure

      public JDialog treeConfigure()
      Specified by:
      treeConfigure in interface org.jlab.groot.tree.TreeProvider
    • openFile

      public void openFile()
    • main

      public static void main(String[] args)