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];
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,