|
FreeHEP API Version 3.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A factory for creating ITuples.
| Method Summary | |
ITuple |
create(String path,
String title,
String columns)
Creates an NTuple |
ITuple |
create(String path,
String title,
String[] columnNames,
Class[] columnType)
Creates an NTuple |
ITuple |
create(String path,
String title,
String[] columnNames,
Class[] columnType,
String options)
Creates an NTuple |
ITuple |
create(String path,
String title,
String columns,
String options)
Creates an NTuple |
ITuple |
createChained(String path,
String title,
ITuple[] set)
Creates a logical chain of ITuples. |
ITuple |
createChained(String path,
String title,
String[] set)
Creates a logical chain of ITuples. |
IEvaluator |
createEvaluator(String expression)
Create IEvaluator object given its expression. |
IFilter |
createFilter(String expression)
Creates IFilter object given a string defining of the "cut" expression. |
IFilter |
createFilter(String expression,
int rowsToProcess)
Creates a filter object given a string defining the "cut" expression. |
IFilter |
createFilter(String expression,
int rowsToProcess,
int startingRow)
Creates a filter object given a string defining the "cut" expression. |
ITuple |
createFiltered(String path,
ITuple tuple,
IFilter filter)
Creates a new reduced tuple (less rows) from an existing one by applying a filter. |
ITuple |
createFiltered(String path,
ITuple tuple,
IFilter filter,
String[] columns)
Creates a new reduced tuple (less rows) from an existing one by applying a filter. |
| Method Detail |
public ITuple create(String path,
String title,
String[] columnNames,
Class[] columnType)
throws IllegalArgumentException
path - The path of the created ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the n-tuplecolumnNames - The names of the columnscolumnType - The types of the columns
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple create(String path,
String title,
String[] columnNames,
Class[] columnType,
String options)
throws IllegalArgumentException
path - The path of the created ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the n-tuplecolumnNames - The names of the columnscolumnType - The types of the columnsoptions - NTuple options (currently undefined)
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple create(String path,
String title,
String columns)
throws IllegalArgumentException
path - The path of the created ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the n-tuplecolumns - The names and types of the columns e.g. "float px, py, pz, float energy, int charge"
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple create(String path,
String title,
String columns,
String options)
throws IllegalArgumentException
path - The path of the created ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the n-tuplecolumns - The names and types of the columns e.g. "float px, py, pz, float energy, int charge"options - NTuple options (currently undefined)
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple createChained(String path,
String title,
ITuple[] set)
throws IllegalArgumentException
path - The path of the chained ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the new n-tupleset - The array of ITuples to chain
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple createChained(String path,
String title,
String[] set)
throws IllegalArgumentException
path - The path of the chained ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.title - The title of the new n-tupleset - The array of the names of the ITuples to chain
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple createFiltered(String path,
ITuple tuple,
IFilter filter)
throws IllegalArgumentException
path - The path of the filtered ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.tuple - Original n-tuplefilter - IFilter to be used
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.
public ITuple createFiltered(String path,
ITuple tuple,
IFilter filter,
String[] columns)
throws IllegalArgumentException
path - The path of the filtered ITuple. The path can either be a relative or full path.
("/folder1/folder2/dataName" and "../folder/dataName" are valid paths).
All the directories in the path must exist. The characther `/` cannot be used
in names; it is only used to delimit directories within paths.tuple - Original n-tuplefilter - IFilter to be usedcolumns - Names of columns to for a new n-tuple
IllegalArgumentException - if a directory in the path does not exist, or the path is illegal.public IFilter createFilter(String expression)
expression - String defining of the "cut" expression.
public IFilter createFilter(String expression,
int rowsToProcess)
expression - String defining of the "cut" expression.rowsToProcess - How many rows to process
public IFilter createFilter(String expression,
int rowsToProcess,
int startingRow)
expression - String defining of the "cut" expression.rowsToProcess - How many rows to processstartingRow - Row number where to startpublic IEvaluator createEvaluator(String expression)
expression - String defining of the evaluator expression.
|
FreeHEP API Version 3.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||