fi.jyu.phys.grain.sort
Class GrainJuroGamSorter

java.lang.Object
  extended by fi.jyu.phys.grain.sort.GrainBaseSorter
      extended by fi.jyu.phys.grain.sort.GrainJuroGamSorter
All Implemented Interfaces:
java.lang.Runnable

public abstract class GrainJuroGamSorter
extends GrainBaseSorter

A skeleton sorter class for the Great+JuroGam data.

Author:
pajura

Field Summary
 GrainJuroGamEvent event
          The current event (i.e the last read from the store).
 
Fields inherited from class fi.jyu.phys.grain.sort.GrainBaseSorter
hfactory, tfactory, tree
 
Constructor Summary
GrainJuroGamSorter()
           
 
Method Summary
 void run()
          Reads a new event from EventStore and dispatches a process call.
 
Methods inherited from class fi.jyu.phys.grain.sort.GrainBaseSorter
finalise, initialise, process, setSave, setUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

public GrainJuroGamEvent event
The current event (i.e the last read from the store).

Constructor Detail

GrainJuroGamSorter

public GrainJuroGamSorter()
Method Detail

run

public void run()
Reads a new event from EventStore and dispatches a process call. Stops, calls finelise, stores spectra and exits when EventStore runs dry. Should not be called explicitly.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class GrainBaseSorter