Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PionMinusAbsorptionAtRest.cc,v 1.1.10.1 1999/12/07 20:52:41 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4PionMinusAbsorptionAtRest.cc,v 1.1.10.1.2.4 1999/12/15 11:43:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file --- Copyright CERN 1998
@@ -47,7 +47,7 @@ G4PionMinusAbsorptionAtRest::G4PionMinusAbsorptionAtRest(const G4String& process
pdefAlpha(G4Alpha::Alpha())
{
if (verboseLevel>0) {
G4cout << GetProcessName() << " is created "<< endl;
G4cout << GetProcessName() << " is created "<< G4endl;
}
pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1];
@@ -101,10 +101,10 @@ G4double G4PionMinusAbsorptionAtRest::AtRestGetPhysicalInteractionLength(
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
G4cout << "G4PionMinusAbsorptionAtRestProcess::AtRestGetPhysicalInteractionLength ";
G4cout << "[ " << GetProcessName() << "]" <<endl;
G4cout << "[ " << GetProcessName() << "]" <<G4endl;
track.GetDynamicParticle()->DumpInfo();
G4cout << " in Material " << track.GetMaterial()->GetName() <<endl;
G4cout << "MeanLifeTime = " << currentInteractionLength/ns << "[ns]" <<endl;
G4cout << " in Material " << track.GetMaterial()->GetName() <<G4endl;
G4cout << "MeanLifeTime = " << currentInteractionLength/ns << "[ns]" <<G4endl;
}
return theNumberOfInteractionLengthLeft * currentInteractionLength;
@@ -162,7 +162,7 @@ G4VParticleChange* G4PionMinusAbsorptionAtRest::AtRestDoIt(
}
if (verboseLevel>1) {
G4cout << "G4PionMinusAbsorptionAtRest::AtRestDoIt is invoked " <<endl;
G4cout << "G4PionMinusAbsorptionAtRest::AtRestDoIt is invoked " <<G4endl;
}
G4ParticleMomentum momentum;
@@ -259,7 +259,7 @@ void G4PionMinusAbsorptionAtRest::GenerateSecondaries()
}
// --- LIMIT THE VALUE OF NGKINE IN CASE OF OVERFLOW ---
ngkine = G4int(min(ngkine,G4int(MAX_SECONDARIES)));
ngkine = G4int(G4std::min(ngkine,G4int(MAX_SECONDARIES)));
} // GenerateSecondaries