FreeHEP API
Version v1.2.2

hep.aida.ref.tuple
Class TupleFactory

java.lang.Object
  |
  +--hep.aida.ref.tuple.TupleFactory
All Implemented Interfaces:
hep.aida.ITupleFactory

public class TupleFactory
extends Object
implements hep.aida.ITupleFactory

Author:
The FreeHEP Team @ SLAC.

Constructor Summary
TupleFactory(hep.aida.ITree tree)
           
 
Method Summary
 hep.aida.ITuple create(String path, String title, String columns)
           
 hep.aida.ITuple create(String path, String title, String[] columnName, Class[] columnType)
           
 hep.aida.ITuple create(String path, String title, String[] columnName, Class[] columnType, String options)
          Create an NTuple
 hep.aida.ITuple create(String path, String title, String columns, String options)
          Create an NTuple
 hep.aida.ITuple createChained(String path, String title, hep.aida.ITuple[] set)
          Create a logical chain of ITuples.
 hep.aida.ITuple createChained(String path, String title, String[] setName)
           
 hep.aida.IEvaluator createEvaluator(String expression)
          Create IEvaluator.
 hep.aida.IFilter createFilter(String expression)
          Create IFilter.
 hep.aida.IFilter createFilter(String expression, int rowsToProcess)
           
 hep.aida.IFilter createFilter(String expression, int rowsToProcess, int startingRow)
           
 hep.aida.ITuple createFiltered(String path, hep.aida.ITuple tuple, hep.aida.IFilter filter)
           
 hep.aida.ITuple createFiltered(String path, hep.aida.ITuple tuple, hep.aida.IFilter filter, String[] columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleFactory

public TupleFactory(hep.aida.ITree tree)
Method Detail

create

public hep.aida.ITuple create(String path,
                              String title,
                              String[] columnName,
                              Class[] columnType,
                              String options)
Create an NTuple

Specified by:
create in interface hep.aida.ITupleFactory
Parameters:
path - The persistency path of the n-tuple
title - The title of the n-tuple
columnName - The names of the columns
columnType - The types of the columns
options - NTuple options (currently undefined)

create

public hep.aida.ITuple create(String path,
                              String title,
                              String[] columnName,
                              Class[] columnType)
Specified by:
create in interface hep.aida.ITupleFactory

create

public hep.aida.ITuple create(String path,
                              String title,
                              String columns,
                              String options)
Create an NTuple

Specified by:
create in interface hep.aida.ITupleFactory
Parameters:
path - The persistency path of the n-tuple
title - The title of the n-tuple
columns - The names and types of the columns e.g. "float px, py, pz, float energy, int charge"
options - NTuple options (currently undefined)

create

public hep.aida.ITuple create(String path,
                              String title,
                              String columns)
Specified by:
create in interface hep.aida.ITupleFactory

createChained

public hep.aida.ITuple createChained(String path,
                                     String title,
                                     hep.aida.ITuple[] set)
Create a logical chain of ITuples. All ITuples in the set must have the same structure. Chained ITuple can not be filled.

Specified by:
createChained in interface hep.aida.ITupleFactory
Parameters:
title - The title of the new n-tuple
set - The array of ITuples to chain

createChained

public hep.aida.ITuple createChained(String path,
                                     String title,
                                     String[] setName)
Specified by:
createChained in interface hep.aida.ITupleFactory

createFiltered

public hep.aida.ITuple createFiltered(String path,
                                      hep.aida.ITuple tuple,
                                      hep.aida.IFilter filter)
Specified by:
createFiltered in interface hep.aida.ITupleFactory

createFiltered

public hep.aida.ITuple createFiltered(String path,
                                      hep.aida.ITuple tuple,
                                      hep.aida.IFilter filter,
                                      String[] columns)
Specified by:
createFiltered in interface hep.aida.ITupleFactory

createFilter

public hep.aida.IFilter createFilter(String expression)
Create IFilter.

Specified by:
createFilter in interface hep.aida.ITupleFactory

createFilter

public hep.aida.IFilter createFilter(String expression,
                                     int rowsToProcess,
                                     int startingRow)
Specified by:
createFilter in interface hep.aida.ITupleFactory

createFilter

public hep.aida.IFilter createFilter(String expression,
                                     int rowsToProcess)
Specified by:
createFilter in interface hep.aida.ITupleFactory

createEvaluator

public hep.aida.IEvaluator createEvaluator(String expression)
Create IEvaluator.

Specified by:
createEvaluator in interface hep.aida.ITupleFactory

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.