fi.jyu.phys.grain.sort
Class GrainPreJ2Sorter

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

public abstract class GrainPreJ2Sorter
extends GrainBaseSorter

A skeleton sorter class for the Great+PreJuroGam2 data. 15 Phase1s instrumented using TDR ADCs 12 Clovers instrumented using TNT2s

Author:
pajura

Field Summary
 GrainPreJ2Event 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
GrainPreJ2Sorter()
           
 
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 GrainPreJ2Event event
The current event (i.e the last read from the store).

Constructor Detail

GrainPreJ2Sorter

public GrainPreJ2Sorter()
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