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

java.lang.Object
  extended by fi.jyu.phys.grain.sort.detector.GrainDetector
      extended by fi.jyu.phys.grain.sort.detector.GrainDetectorGermaniumArray
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
GrainDetectorFocalPlaneArray, GrainDetectorJuroGamArray, GrainDetectorPreJ2CArray, GrainDetectorPreJ2PArray

public class GrainDetectorGermaniumArray
extends GrainDetector

Describes a generic germanium detector array .

Author:
pajura

Field Summary
 int fold
          Number of raw hits (same as ges.size()).
 java.util.ArrayList<GrainDetectorGermanium> ges
          Container for GrainGermaniumDetector objects.
 
Fields inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
fail, piledup, time, valid, vetoed
 
Constructor Summary
GrainDetectorGermaniumArray()
          Creates a new instance of GrainDetectorGermaniumArray
GrainDetectorGermaniumArray(int offset)
          Creates a new instance of GrainDetectorGermaniumArray
 
Method Summary
 void dopplerCorrect(double beta)
          Apply the correction for doppler shift for each detector in the ges list.
 void dopplerCorrect180(double beta)
          Apply the correction for doppler shift for each detector in the ges list in reverge geometry.
 
Methods inherited from class fi.jyu.phys.grain.sort.detector.GrainDetector
clone, contains, feed, invalidate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ges

public java.util.ArrayList<GrainDetectorGermanium> ges
Container for GrainGermaniumDetector objects.


fold

public int fold
Number of raw hits (same as ges.size()).

Constructor Detail

GrainDetectorGermaniumArray

public GrainDetectorGermaniumArray()
Creates a new instance of GrainDetectorGermaniumArray


GrainDetectorGermaniumArray

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

Parameters:
offset - Offset into the TDR ADR address space
Method Detail

dopplerCorrect

public void dopplerCorrect(double beta)
Apply the correction for doppler shift for each detector in the ges list.

Parameters:
beta - Value of v/c for the reaction.

dopplerCorrect180

public void dopplerCorrect180(double beta)
Apply the correction for doppler shift for each detector in the ges list in reverge geometry.

Parameters:
beta - Value of v/c for the reaction.