Problem 1714

Summary: Error in Example B4c file geant4_10_01/examples/basic/B4/B4c/src/B4cEventAction.cc on line 121
Product: Examples/Basic and Novice Reporter: Philipp Goecke <pgoecke>
Component: B4Assignee: Ivana Hrivnacova <ivana>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P5    
Version: 10.1   
Hardware: PC   
OS: Linux   

Description Philipp Goecke 2015-02-16 13:56:09 CET
file geant4_10_01/examples/basic/B4/B4c/src/B4cEventAction.cc on line 121:
B4cCalorHit* gapHit = (*gapHC)[absoHC->entries()-1];

and it sould be:
B4cCalorHit* gapHit = (*gapHC)[gapHC->entries()-1];
Comment 1 Ivana Hrivnacova 2015-02-18 15:36:20 CET
Hello,

Thank you for reporting the problem; it has been fixed in the development version. 
Note that it did not affect the results, as the number of entries for the "gap" hit collection is equal to those of "abso" hit collection.

Best regards,