Created attachment 645 [details] macro for TestEm5 HI Vladimir, In the old Geant4 web pages, there is an exercice demonstrating the subCutoff mechanism : https://geant4.web.cern.ch/sites/geant4.web.cern.ch/files/geant4/collaboration/working_groups/electromagnetic/gallery/elossPlus/ElossPlus.html Recently, after a User Forum question, I have tried to redo the exercice. Result seems to at opposite of what we expect. I attach macro and picture.
Created attachment 646 [details] picture
Hi Michel, thanks for pointing to the problem. This feature was not used for a long time. After the 10.7 release will be out let us try to understand what is going wrong. Vladimir
Hello Michel, I have submitted MR 1555, which fix UI commands and add macro subcut.mac to TestEm5. For me sub-cut mechanism is working. It is useful when Opt0 EM physics is used with relatively high cut (like 1 mm), because it should more strong cuts in selected regions. Overall efficiency and advantage of the method is not clear. It is not confirmed by any application, that it is better than simply apply Opt4. The problem you had with your macro was in usage of "deactivation" UI command for msc and bremsstrahlung. In general, this contradicts to any fine tuning methods used in Geant4 EM. In macro added to TestEm5 these commands are not included. Vladimir
Created attachment 667 [details] past subcutoff feature
Hello Vladimir, I send the picture we got in the past
Created attachment 669 [details] plot : vertex position of secondaries take testem5-V10-07-02
Hi Michel, I believe in 10.7ref02 it is working somehow butit was decided to drop this option in the new release, so the fix will not be provide for the patch. Vladimir
the problem is not solved. But ok for wont fix !