All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface hep.analysis.NTupleEventData

public interface NTupleEventData
extends EventData
An implementation of this interface is used to provide data for one event from a simple NTuple with named columns. A variety of methods allow access to particular fields for the event that this object represents. Throw an EventDataException if an inappropriate call to one of these methods is made.

See Also:
EventDataException

Method Index

 o findColumn(String)
Returns the integer index for the column specified by name.
 o getBoolean(int)
Returns a boolean value for the field specified by the parameter column.
 o getBoolean(String)
Returns a boolean value for the field specified by the parameter name. Deprecated.
 o getDate(int)
Returns a Date object for the field specified by the parameter column.
 o getDate(String)
Returns a Date object for the field specified by the parameter name. Deprecated.
 o getDouble(int)
Returns a double value for the field specified by the parameter column.
 o getDouble(String)
Returns a double value for the field specified by the parameter name. Deprecated.
 o getInt(int)
Returns an int value for the field specified by the parameter column.
 o getInt(String)
Returns an int value for the field specified by the parameter name. Deprecated.
 o getObject(int)
Returns an Object for the field specified by the parameter column.
 o getObject(String)
Returns an Object for the field specified by the parameter name. Deprecated.
 o getString(int)
Returns a String object for the field specified by the parameter column.
 o getString(String)
Returns a String object for the field specified by the parameter name. Deprecated.

Methods

 o getDouble
 public abstract double getDouble(String name)
Note: getDouble() is deprecated. getDouble(int) less expensive and recommended

Returns a double value for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getDouble
 o getInt
 public abstract int getInt(String name)
Note: getInt() is deprecated. getInt(int) less expensive and recommended

Returns an int value for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getInt
 o getDate
 public abstract Date getDate(String name)
Note: getDate() is deprecated. getDate(int) less expensive and recommended

Returns a Date object for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getDate
 o getBoolean
 public abstract boolean getBoolean(String name)
Note: getBoolean() is deprecated. getBoolean(int) less expensive and recommended

Returns a boolean value for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getBoolean
 o getString
 public abstract String getString(String name)
Note: getString() is deprecated. getString(int) less expensive and recommended

Returns a String object for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getString
 o getObject
 public abstract Object getObject(String name)
Note: getObject() is deprecated. getObject(int) less expensive and recommended

Returns an Object for the field specified by the parameter name.

Parameters:
name - the name of the field to access
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
getObject
 o getDouble
 public abstract double getDouble(int column)
Returns a double value for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o getInt
 public abstract int getInt(int column)
Returns an int value for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o getDate
 public abstract Date getDate(int column)
Returns a Date object for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o getBoolean
 public abstract boolean getBoolean(int column)
Returns a boolean value for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o getString
 public abstract String getString(int column)
Returns a String object for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o getObject
 public abstract Object getObject(int column)
Returns an Object for the field specified by the parameter column.

Parameters:
column - the integer index for the data column, as returned from findColumn(String)
Throws: EventDataException
if an inappropriate call to this method is made
See Also:
findColumn
 o findColumn
 public abstract int findColumn(String name)
Returns the integer index for the column specified by name. Use the return value for the argument to the methods of the form
    XXX getXXX(int column)
 


All Packages  Class Hierarchy  This Package  Previous  Next  Index