fi.jyu.phys.grain.sort
Class GrainEvent

java.lang.Object
  extended by fi.jyu.phys.grain.sort.GrainEvent
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
GrainTDREvent

public abstract class GrainEvent
extends java.lang.Object
implements java.lang.Cloneable

Author:
pajura

Field Summary
 int blocknumber
          Number of the block in the current file.
 int filenumber
          Number of the event file where the current event is from.
 java.util.Map<java.lang.String,java.lang.Object> store
          Container to store user data.
 
Constructor Summary
GrainEvent()
          Creates a new instance of GrainEvent
 
Method Summary
abstract  void build()
           
 java.lang.Object clone()
           
 void setPosition(int file, int block)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filenumber

public int filenumber
Number of the event file where the current event is from.


blocknumber

public int blocknumber
Number of the block in the current file.


store

public java.util.Map<java.lang.String,java.lang.Object> store
Container to store user data.

Constructor Detail

GrainEvent

public GrainEvent()
Creates a new instance of GrainEvent

Method Detail

setPosition

public void setPosition(int file,
                        int block)

build

public abstract void build()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object