[How to make physics list for atomic deexcitation]

Hello.
I am trying to make physics list whci has atomic deexcitation process.
Thus, I have added some C++ code as follows below.

// Deexcitation
G4VAtomDeexcitation* de = new G4UAtomicDeexcitation();
de->SetFluo(true);
de->SetAuger(true);
de->SetPIXE(true);
de->SetAugerCascade(true);
//SetDeexcitationIgnoreCut(true);//
G4LossTableManager::Instance()->SetAtomDeexcitation(de);

My question is about how to add the functionality of “SetDeexcitationIgnoreCut” in order to disable usage of production threshold for fluorescence and Auger electron production.

Of course, the G4 UI command like “/process/em/deexcitationIgnoreCut true” is easier way to do it, but, I would like to make C++ code for the application to other tool.
Could you share your knowledge or give some advice ?

Thank you for your reading.

Hello,

in recent Geant4 releases atomic de-excitation may be configured via UI commands for any reference Physics Lists. See $G4INSTALL/examples/extended/electromagnetic/TestEm5 there are fluo.mac and pixe.mac macro files with such configurations.

VI

Most of all, thank you for your response.
However, my question was about how to make physics list file using C++, not using macro commands.
And, a few days ago, I aleady succeeded in embodying the code using “G4EmParameters” class.^^

Thank you for your reading.^^

Hello,
Sorry for the delay with comment.

you need access G4EmParameters::Instance() and use set methods:
SetFluo(true);
SetAuger(true);
SetDeexcitationIgnoreCut(true)
Note, that these calls should be done after EM physics constructor is instantiated and before run is initialized.

VI