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

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

public class GrainDetectorMWPC
extends GrainDetector

Describes the Grain Multi-Wire-Proportional-Counter i.e the gas detector.

Author:
pajura

Field Summary
 int count
          Number of ADC data items fed
 double de
          The energy deposited in the detector.
 double x1
          The "right" coordinate.
 double x2
          The "left" coordinate.
 double y1
          The "top" coordinate.
 double y2
          The "bottom" coordinate.
 
Fields inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
fail, piledup, time, valid, vetoed
 
Constructor Summary
GrainDetectorMWPC(int offset)
          Creates a new instance of GrainDetectorMWPC
 
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
Number of ADC data items fed


x1

public double x1
The "right" coordinate.


x2

public double x2
The "left" coordinate.


y1

public double y1
The "top" coordinate.


y2

public double y2
The "bottom" coordinate.


de

public double de
The energy deposited in the detector.

Constructor Detail

GrainDetectorMWPC

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

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.