public void setUp() throws Exception {
det = new PhiZDetector(getDetectorPosition(), 100);
resultsFile = createTempFile("h5");
MonteCarloSS mcss = getMonteCarloSS();
XRayTransport3 charac = getCharacteristicTransport(mcss);
XRayTransport3 bremss = getBremmstrahlungTransport(mcss);
XRayTransport3 characFluo =
getCharacteristicFluoTransport(mcss, charac);
XRayTransport3 bremssFluo =
getBremmstrahlungFluoTransport(mcss, bremss);
det.setup(mcss, charac, bremss, characFluo, bremssFluo);
mcss.runTrajectory();
}