Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id$
// $Id: B4cCalorimeterSD.cc 75215 2013-10-29 16:07:06Z gcosmo $
//
/// \file B4cCalorimeterSD.cc
/// \brief Implementation of the B4cCalorimeterSD class
@@ -99,8 +99,10 @@ G4bool B4cCalorimeterSD::ProcessHits(G4Step* step,
// Get hit accounting data for this cell
B4cCalorHit* hit = (*fHitsCollection)[layerNumber];
if ( ! hit ) {
G4cerr << "Cannot access hit " << layerNumber << G4endl;
exit(1);
G4ExceptionDescription msg;
msg << "Cannot access hit " << layerNumber;
G4Exception("B4cCalorimeterSD::ProcessHits()",
"MyCode0004", FatalException, msg);
}
// Get hit for total accounting