cz.muni.fi.xmravec.bc.prodes
Class Batch

java.lang.Object
  extended by cz.muni.fi.xmravec.bc.prodes.Batch

public class Batch
extends java.lang.Object

Batch class contains logic for launching the aplication in batch mode


Constructor Summary
Batch(int quantity, int pressure, double precision, double energy, int filling, java.lang.String range, java.lang.String output)
          Batch constructor for one monoenergetic neutron emission
Batch(int quantity, int pressure, double precision, java.util.List<java.lang.Double> series, int filling, java.lang.String range, java.lang.String output)
          Batch constructor for series of monoenergetic neutron emissions
 
Method Summary
 void processOnce()
          Method for processing one monoenergetic neutron emission
 void processSeries()
          Method for processing series of monoenergetic neutron emissions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Batch

public Batch(int quantity,
             int pressure,
             double precision,
             java.util.List<java.lang.Double> series,
             int filling,
             java.lang.String range,
             java.lang.String output)
Batch constructor for series of monoenergetic neutron emissions

Parameters:
quantity - number of simulated neutrons
pressure - pressure inside the detector (in atm)
precision - width of bin of responce function (MeV)
series - list containing 3 values for neutron energy range, initial energy, final energy and size of a step (MeV)
filling - filling of detector, 0 is empty, 1 is hydrogen
range - text file containing proton range table
output - Directory for output files

Batch

public Batch(int quantity,
             int pressure,
             double precision,
             double energy,
             int filling,
             java.lang.String range,
             java.lang.String output)
Batch constructor for one monoenergetic neutron emission

Parameters:
quantity - umber of simulated neutrons
pressure - pressure inside the detector (in atm)
precision - width of bin of responce function (MeV)
energy - energy of one neutron in one neutron beam
filling - filling of detector, 0 is empty, 1 is hydrogen
range - text file containing proton range table
output - Output file
Method Detail

processOnce

public void processOnce()
Method for processing one monoenergetic neutron emission


processSeries

public void processSeries()
Method for processing series of monoenergetic neutron emissions