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

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

public class GrainDetectorPin
extends GrainDetector

Describes a single pin-diode in the Great pin subsystem.

Author:
pajura

Field Summary
 double e
          The gainmatched readout of the ADC.
 int number
          Position number of this detector in the array (0-27).
 double oe
          The raw readout of the ADC.
 
Fields inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
fail, piledup, time, valid, vetoed
 
Constructor Summary
GrainDetectorPin(int offset)
          Creates a new instance of GrainDetectorPin.
GrainDetectorPin(int offset, GrainGreatDatum data)
          Creates a new instance of GrainDetectorPin.
 
Method Summary
 void feed(GrainGreatDatum data)
          Add data into the detector list.
 void invalidate()
          Invalidates this detector.
 
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

e

public double e
The gainmatched readout of the ADC.


number

public int number
Position number of this detector in the array (0-27).


oe

public double oe
The raw readout of the ADC.

Constructor Detail

GrainDetectorPin

public GrainDetectorPin(int offset)
Creates a new instance of GrainDetectorPin.

Parameters:
offset - Offset into the ADC address space.

GrainDetectorPin

public GrainDetectorPin(int offset,
                        GrainGreatDatum data)
Creates a new instance of GrainDetectorPin.

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

invalidate

public void invalidate()
Invalidates this detector.

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.