def __init__(self, elastic_scattering=(0.0, 0.0), cutoff_energy_inelastic=50.0, cutoff_energy_bremsstrahlung=50.0): """ Converter from base options to PENSHOWER options. During the conversion, the materials are converted to :class:`PenelopeMaterial`. For this, the specified elastic scattering and cutoff energies are used as the default values in the conversion. """ _Converter.__init__(self, elastic_scattering, cutoff_energy_inelastic, cutoff_energy_bremsstrahlung) self._expander = OptionsExpanderSingleDetector([TrajectoryDetector])
def __init__(self, elastic_scattering=(0.0, 0.0), cutoff_energy_inelastic=50.0, cutoff_energy_bremsstrahlung=50.0): """ Converter from base options to PENEPMA options. During the conversion, the materials are converted to :class:`PenelopeMaterial`. For this, the specified elastic scattering and cutoff energies are used as the default values in the conversion. """ _Converter.__init__(self, elastic_scattering, cutoff_energy_inelastic, cutoff_energy_bremsstrahlung) dets = [BackscatteredElectronEnergyDetector, PhotonDepthDetector] self._expander = OptionsExpanderSingleDetector(dets)