XRayTransition xrt = xrtransport.getTransition();
if (xrt != null) {
double[] pos = xrtransport.getInitialPos();
HistogramDouble3D emittedDistribution =
emittedDistributions.get(xrt);
if (emittedDistribution == null) {
emittedDistribution = createEmptyDistribution();
emittedDistributions.put(xrt, emittedDistribution);
}
emittedDistribution.add(pos[0], pos[1], pos[2],
xrtransport.getIntensity());
HistogramDouble3D generatedDistribution =
generatedDistributions.get(xrt);
if (generatedDistribution == null) {
generatedDistribution = createEmptyDistribution();
generatedDistributions.put(xrt, generatedDistribution);
}
generatedDistribution.add(pos[0], pos[1], pos[2],
xrtransport.getGenerated());
}
}
}
break;