Problem 1358

Summary: Example 5.4. Registration of the Cerenkov process in PhysicsList
Product: Documentation Reporter: gum
Component: Application Developers GuideAssignee: Michael Kelsey <kelsey>
Status: RESOLVED FIXED    
Severity: normal CC: asai
Priority: P5    
Version: 9.5   
Hardware: All   
OS: All   

Description gum 2012-09-21 22:03:39 CEST
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!
Comment 1 asai 2012-09-24 22:31:04 CEST
DocBook XML source text is fixed. Conversion to HTML will take place at the next release.