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
@@ -173,6 +173,9 @@ void G4ScoreQuantityMessenger::QuantityCommands()
param = new G4UIparameter("unit", 's', true);
param->SetDefaultValue("percm2");
qCellFluxCmd->SetParameter(param);
param = new G4UIparameter("scoreweighted", 'b', true);
param->SetDefaultValue("false");
qCellFluxCmd->SetParameter(param);
//
qPassCellFluxCmd = new G4UIcommand("/score/quantity/passageCellFlux", this);
qPassCellFluxCmd->SetGuidance("Passage cell flux scorer");
@@ -633,6 +636,7 @@ void G4ScoreQuantityMessenger::SetNewValue(G4UIcommand* command,
ps = new G4PSCellFlux(token[0]);
}
ps->SetUnit(token[1]);
ps->ScoreWeighted(StoB(token[2]));
mesh->SetPrimitiveScorer(ps);
}
}