|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.monte.MicronDetector
This class represents the geometry of a Micron LEDA-type detector, to use for deciding if an virtual vector will hit and which strip.
Constructor Summary | |
MicronDetector(double z0,
double theta)
It is assumed that the detector is centered about phi=90 degrees. |
Method Summary | |
static Direction |
changePhi(Direction dir)
Given a direction, returns a direction with modified phi so that associated direction is in the correct 72 degree window to possibly hit the detector(90-36 to 90+36, or 54 to 126). |
static int |
getDetector(Direction dir)
based on our convention of the bottom detector being det 4, detector numbers going down as one goes counter clockwise looking at the array from the target |
double |
getDistance()
Returns distance to detector in mm. |
double |
getIncidence()
Returns 1/cos(incidence angle). |
boolean |
getInterStrip()
|
int |
getStrip()
If interstrip is true, then the event was between the returned strip and the returned strip + 1. |
boolean |
isHit(Direction dir)
|
static void |
main(java.lang.String[] args)
|
double |
weight(double x)
Weighting for isotropic thetas in degrees. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MicronDetector(double z0, double theta)
z0
- in mmtheta
- in radiansMethod Detail |
public boolean isHit(Direction dir)
public int getStrip()
public double getIncidence()
public double getDistance()
public boolean getInterStrip()
public static Direction changePhi(Direction dir)
public static int getDetector(Direction dir)
public double weight(double x)
weight
in interface WeightingFunction
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |