| Summary: | Example 5.4. Registration of the Cerenkov process in PhysicsList | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | gum |
| Component: | Application Developers Guide | Assignee: | Michael Kelsey <kelsey> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | asai |
| Priority: | P5 | ||
| Version: | 9.5 | ||
| Hardware: | All | ||
| OS: | All | ||
DocBook XML source text is fixed. Conversion to HTML will take place at the next release. |
I changed the interface for G4Cerenkov back between 9.1 and 9.2 (2009). The G4Cerenkov process must now be attached as: pmanager->AddProcess(theCerenkovProcess); pmanager->SetProcessOrdering(theCerenkovProcess,idxPostStep); For years now people's log-file/screen are getting messages informing them of this change; e.g. the program writes: NOTE: this is now a G4VProcess! Required change in UserPhysicsList: change: pmanager->AddContinuousProcess(theCerenkovProcess); to: pmanager->AddProcess(theCerenkovProcess); pmanager->SetProcessOrdering(theCerenkovProcess,idxPostStep); And what is in the Application Developers Guide Example 5.4. Registration of the Cerenkov process in PhysicsList? Still to old information!