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

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

public class GrainDetectorDSSD
extends GrainDetector

Describes the Great DSSD detector

Author:
pajura

Field Summary
 int count
          Total number of raw hits.
 double e
          The highest gainmatched energy deposited in vertical strips.
 double oe
          The highest non-gainmatched energy deposited in vertical strips.
 java.util.ArrayList<GrainDetectorStrip> strips
          ArrayList of all GrainDetectorStrip objects.
 int x
          Vertical strip with the highest energy deposition.
 int xcount
          Number of raw hits in the vertical strips.
 double xe
          The highest gainmatched energy deposited in vertical strips.
 boolean xfail
           
 double xo
          The highest non-gainmatched energy deposited in vertical strips.
 boolean xpiledup
           
 java.util.ArrayList<GrainDetectorStrip> xstrips
          ArrayList of GrainDetectorStrip objects along x-cooordinate.
 int y
          Horizontal strip with the highest energy deposition.
 int ycount
          Number of raw hits in the horizontal strips.
 double ye
          The highest gainmatched energy deposited in horizontal strips.
 boolean yfail
           
 double yo
          The highest non-gainmatched energy deposited in horizontal strips.
 boolean ypiledup
           
 java.util.ArrayList<GrainDetectorStrip> ystrips
          ArrayList of GrainDetectorStrip objects along y-cooordinate.
 
Fields inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
fail, piledup, time, valid, vetoed
 
Constructor Summary
GrainDetectorDSSD(int offset)
          Creates a new instance of GrainDetectorDSSD.
 
Method Summary
 void feed(GrainGreatDatum data)
          Add data into the detector list.
 void invalidate()
          Invalidates the 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

count

public int count
Total number of raw hits.


xcount

public int xcount
Number of raw hits in the vertical strips.


ycount

public int ycount
Number of raw hits in the horizontal strips.


x

public int x
Vertical strip with the highest energy deposition.


y

public int y
Horizontal strip with the highest energy deposition.


e

public double e
The highest gainmatched energy deposited in vertical strips.


xe

public double xe
The highest gainmatched energy deposited in vertical strips.


ye

public double ye
The highest gainmatched energy deposited in horizontal strips.


oe

public double oe
The highest non-gainmatched energy deposited in vertical strips.


yo

public double yo
The highest non-gainmatched energy deposited in horizontal strips.


xo

public double xo
The highest non-gainmatched energy deposited in vertical strips.


strips

public java.util.ArrayList<GrainDetectorStrip> strips
ArrayList of all GrainDetectorStrip objects.


xstrips

public java.util.ArrayList<GrainDetectorStrip> xstrips
ArrayList of GrainDetectorStrip objects along x-cooordinate.


ystrips

public java.util.ArrayList<GrainDetectorStrip> ystrips
ArrayList of GrainDetectorStrip objects along y-cooordinate.


xpiledup

public boolean xpiledup

ypiledup

public boolean ypiledup

xfail

public boolean xfail

yfail

public boolean yfail
Constructor Detail

GrainDetectorDSSD

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

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

invalidate

public void invalidate()
Invalidates the 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.