fi.jyu.phys.grain.sort.detector
Class GrainDetectorTAC

java.lang.Object
  extended by fi.jyu.phys.grain.sort.detector.GrainDetector
      extended by fi.jyu.phys.grain.sort.detector.GrainDetectorTAC
All Implemented Interfaces:
java.lang.Cloneable

public class GrainDetectorTAC
extends GrainDetector

Describes a Time-to-Amplitude-Converter.

Author:
pajura

Field Summary
 double t
          The ADC reading i.e the TAC time difference.
 
Fields inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
fail, piledup, time, valid, vetoed
 
Constructor Summary
GrainDetectorTAC(int offset)
          Creates a new instance of GrainDetectorTAC
 
Method Summary
 void feed(GrainGreatDatum data)
          Add data into the detector list.
 void invalidate()
          Invalidates the TAC.
 
Methods inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
clone, contains
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t

public double t
The ADC reading i.e the TAC time difference.

Constructor Detail

GrainDetectorTAC

public GrainDetectorTAC(int offset)
Creates a new instance of GrainDetectorTAC

Parameters:
offset - Offset into the ADC address space.
Method Detail

invalidate

public void invalidate()
Invalidates the TAC.

Overrides:
invalidate in class GrainDetector

feed

public void feed(GrainGreatDatum data)
Add data into the detector list.

Overrides:
feed in class GrainDetector
Parameters:
data - Parsed TDR ADC data.