Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
+4 -3
View File
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: B3bRun.cc 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file B3bRun.cc
/// \brief Implementation of the B3bRun class
@@ -46,7 +45,8 @@ B3bRun::B3bRun()
fCollID_patient(-1),
fPrintModulo(10000),
fGoodEvents(0),
fSumDose(0.)
fSumDose(0.),
fStatDose()
{ }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -109,6 +109,7 @@ void B3bRun::RecordEvent(const G4Event* event)
dose = *(itr->second);
}
fSumDose += dose;
fStatDose += dose;
G4Run::RecordEvent(event);
}
@@ -120,7 +121,7 @@ void B3bRun::Merge(const G4Run* aRun)
const B3bRun* localRun = static_cast<const B3bRun*>(aRun);
fGoodEvents += localRun->fGoodEvents;
fSumDose += localRun->fSumDose;
fStatDose += localRun->fStatDose;
G4Run::Merge(aRun);
}