Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -78,8 +78,10 @@ G4bool G4PSCellFlux::ProcessHits(G4Step* aStep, G4TouchableHistory*)
G4int idx = ((G4TouchableHistory*) (aStep->GetPreStepPoint()->GetTouchable()))
->GetReplicaNumber(indexDepth);
G4double cubicVolume = ComputeVolume(aStep, idx);
G4double CellFlux = stepLength / cubicVolume;
if (scoreWeighted) {
CellFlux *= fScoreWeightCalculator(aStep);
}
if(weighted)
CellFlux *= aStep->GetPreStepPoint()->GetWeight();
G4int index = GetIndex(aStep);