XRayTransport3 bremssFluo) throws EPQException {
Collection<XRayTransition> transitions = findAllXRayTransitions(mcss);
if (charac == null)
throw new NullPointerException("charact == null");
accumCharac = new XRayAccumulator3(transitions, "characteristic");
charac.addXRayListener(accumCharac);
if (characFluo != null) {
accumCharacFluo =
new XRayAccumulator3(transitions,
"characteristic fluorescence");
characFluo.addXRayListener(accumCharacFluo);
}
if (bremssFluo != null) {
accumBremssFluo =
new XRayAccumulator3(transitions,
"Bremmstrahlung fluorescence");
bremssFluo.addXRayListener(accumBremssFluo);
}
}