Import Geant4 11.0.2 source tree

This commit is contained in:
Gabriele Cosmo
2022-05-25 15:50:57 +02:00
parent de4f28d823
commit b3bf75a2a1
341 changed files with 93127 additions and 39343 deletions
@@ -134,7 +134,6 @@ void XrayFluoEventAction::BeginOfEventAction(const G4Event* evt)
void XrayFluoEventAction::EndOfEventAction(const G4Event* evt)
{
if (detectorType) {
// extracted from hits, compute the total energy deposit (and total charged
@@ -143,7 +142,7 @@ void XrayFluoEventAction::EndOfEventAction(const G4Event* evt)
XrayFluoSensorHitsCollection* HPGeHC = 0;
G4int n_hit = 0;
G4double totEnergyDetect=0., totEnergy=0., energyD=0.;
G4double totEnergy=0., energyD=0.;
if (HCE) HPGeHC =
(XrayFluoSensorHitsCollection*)(HCE->GetHC(HPGeCollID));
@@ -158,7 +157,6 @@ void XrayFluoEventAction::EndOfEventAction(const G4Event* evt)
energyD = detectorType->ResponseFunction(totEnergy);
XrayFluoAnalysisManager* analysis = XrayFluoAnalysisManager::getInstance();
analysis->analyseEnergyDep(energyD);
totEnergyDetect += energyD;
}
}
}