| Summary: | G4RadioactiveDecay::SetICM() is inefficient | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | michel.maire |
| Component: | processes/hadronic/models/radioactive_decay | Assignee: | dennis.herbert.wright |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | P4 | ||
| Version: | other | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
michel.maire
2022-09-24 16:58:23 CEST
The PhotonEvaporation code now handles the ICM flag; ICM is always turned on in radioactive decay and so the command invoking G4RadioactiveDecay::SetICM() has no effect. I will add a deprecation message to this method. I see that an inactivity message is already there in the messenger class: "Command not active; kept for backward compatibility." "Internal conversion is always turned on." Does this not appear when you invoke it? 1- the message appear in the description of the UI commands (help), not when you issue the command itself. 2- in rdecay01, I used directly the statement radioactiveDecay->SetICM(false); this call is silent. SetICM() now removed from G4RadioactiveDecay and messenger. |