Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
@@ -80,8 +80,8 @@ G4BatemanParameters::SetParameters(G4int aZ, G4int anA, G4double anE, G4int aG,
A = anA;
E = anE;
generation = aG;
Acoeffs = theCoeffs;
taus = theTaus;
Acoeffs = std::move(theCoeffs);
taus = std::move(theTaus);
}
@@ -29,8 +29,8 @@
////////////////////////////////////////////////////////////////////////////////
//
G4UIcmdWithNucleusLimits::G4UIcmdWithNucleusLimits
(const char * theCommandPath,G4UImessenger * theMessenger)
:G4UIcommand(theCommandPath,theMessenger)
(const char * theCommandPath, G4UImessenger * theMessenger)
: G4UIcommand(theCommandPath, theMessenger)
{
G4UIparameter * intParamAMin = new G4UIparameter('i');
SetParameter(intParamAMin);
@@ -51,7 +51,7 @@ G4UIcmdWithNucleusLimits::~G4UIcmdWithNucleusLimits()
////////////////////////////////////////////////////////////////////////////////
//
G4NucleusLimits G4UIcmdWithNucleusLimits::
GetNewNucleusLimitsValue(G4String paramString)
GetNewNucleusLimitsValue(const G4String& paramString)
{
G4int aMin;
G4int aMax;
@@ -108,9 +108,3 @@ void G4UIcmdWithNucleusLimits::SetDefaultValue(G4NucleusLimits defLimits)
G4UIparameter * theParamZMax = GetParameter(3);
theParamZMax->SetDefaultValue(defLimits.GetZMax());
}