|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.xmravec.bc.prodes.Physics
public class Physics
Class for simulation of neutrons history according to physical model
Constructor Summary | |
---|---|
Physics(RangeTable range,
Filling filling)
Constructor setting the proton range table and filling |
Method Summary | |
---|---|
double[] |
generate(int quantity,
double energy,
int pressure)
Generate one beam of monoenergetic neutrons |
org.jfree.data.statistics.HistogramDataset |
generateOnce(int quantity,
double energy,
int pressure,
double precision)
Generate one monoenergetic neutron beam |
int |
getCount()
Number of (first) interactions |
int |
getCurrent()
Current progress of simulation |
org.jfree.data.statistics.HistogramDataset |
getResults()
Returns results |
boolean |
isDone()
Status of simulation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Physics(RangeTable range, Filling filling)
range
- filling
- Method Detail |
---|
public org.jfree.data.statistics.HistogramDataset generateOnce(int quantity, double energy, int pressure, double precision)
quantity
- number of neutronsenergy
- energy of one neutron in series (MeV)pressure
- pressure inside the detector (atm)precision
- width of bin of response function (MeV)
public double[] generate(int quantity, double energy, int pressure)
quantity
- number of neutronsenergy
- energy of one neutron (MeV)pressure
- pressure pressure inside the detector (atm)
public int getCurrent()
public boolean isDone()
public org.jfree.data.statistics.HistogramDataset getResults()
public int getCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |