Problem 1358 - Example 5.4. Registration of the Cerenkov process in PhysicsList
Summary: Example 5.4. Registration of the Cerenkov process in PhysicsList
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Application Developers Guide (show other problems)
Version: 9.5
Hardware: All All
: P5 normal
Assignee: Michael Kelsey
URL:
Depends on:
Blocks:
 
Reported: 2012-09-21 22:03 CEST by gum
Modified: 2012-09-24 22:31 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.