Problem 1011

Summary: most getters in example code are incorrect
Product: Documentation Reporter: Brian Fisher <bmfisher>
Component: Application Developers GuideAssignee: Katsuya.Amako
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: 9.1   
Hardware: All   
OS: All   
URL: http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch08s05.html

Description Brian Fisher 2008-05-15 19:31:39 CEST
most of the getters in example code on the documentation page:

http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch08s05.html

are incorrect.  Perhaps they are from an older version.  For example,

G4HCofThisEvent * HCE = evt->get_HCofThisEvent();

should actually be

G4HCofThisEvent * HCE = evt->GetHCofThisEvent();

There are several problems like this on this page.
Comment 1 Katsuya.Amako 2008-05-16 04:36:15 CEST
Thank you for your report.

Correction to the problems you pointed out will be included
in the next version of G4 documents. The new version will be
open to public in accordance with the next Geant4 code release.

Regards,
Katsuya Amako
Comment 2 Gabriele Cosmo 2009-06-02 14:37:34 CEST
Corrected text is now online.