Energy split drawing implemented;
Debugging output still present, energy split hard coded
This commit is contained in:
@@ -31,6 +31,7 @@ class DynamicDensityField : public DensityField {
|
||||
|
||||
double density(const Coordinate& position);
|
||||
double density(const Coordinate& position, double energy_eV);
|
||||
double density(const Coordinate& position, double energy_split, bool above);
|
||||
|
||||
bool changedPositionBin(const Coordinate& old_position,
|
||||
const Coordinate& new_position) const;
|
||||
@@ -48,6 +49,11 @@ class DynamicDensityField : public DensityField {
|
||||
|
||||
// return the particle number stored in the density of this object
|
||||
double particleNumber();
|
||||
// return the particle number stored for energies higher than E_thresh
|
||||
// (above = true) or for energies below (above = false)
|
||||
// The energy bin, in which E_thresh is located, will be included in the
|
||||
// 'above=true' case (and excluded in the other case)
|
||||
double particleNumber(double E_thresh, bool above);
|
||||
|
||||
// returns true if the old pitch angle and the new pitch angle are in different bins
|
||||
// of the pitch angle binning
|
||||
@@ -59,9 +65,10 @@ class DynamicDensityField : public DensityField {
|
||||
blitz::Array<long int, 5> deletedParticlesArray() const;
|
||||
blitz::Array<double, 3> binVolumeArray() const;
|
||||
|
||||
blitz::Array<double, 3> densityArray(double energy_split, bool above);
|
||||
|
||||
// return an array of the density values at the Coordinate position (only energy
|
||||
// direction left); over and underflow bin are removed
|
||||
// (might not be good, since then the underflow particles are lost...)
|
||||
// direction left); overbin is removed
|
||||
blitz::Array<double, 1> sliceSpectrumArray(const Coordinate& position) const;
|
||||
|
||||
// return an array of the time in bin at the Coordinate position and the energy
|
||||
|
||||
Reference in New Issue
Block a user