Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
+5 -5
View File
@@ -424,13 +424,13 @@ void G4ParticleChange::DumpInfo() const
G4int oldprc = G4cout.precision(3);
G4cout << " Mass (GeV) : " << std::setw(20) << theMassChange / GeV
G4cout << " Mass (GeV) : " << std::setw(20) << theMassChange / GeV
<< G4endl;
G4cout << " Charge (eplus) : " << std::setw(20)
G4cout << " Charge (eplus) : " << std::setw(20)
<< theChargeChange / eplus << G4endl;
G4cout << " MagneticMoment : " << std::setw(20)
G4cout << " MagneticMoment : " << std::setw(20)
<< theMagneticMomentChange << G4endl;
G4cout << " : = " << std::setw(20)
G4cout << " = : " << std::setw(20)
<< theMagneticMomentChange
* 2. * theMassChange / c_squared / eplus / hbar_Planck
<< "*[e hbar]/[2 m]" << G4endl;
@@ -452,7 +452,7 @@ void G4ParticleChange::DumpInfo() const
<< theMomentumDirectionChange.z() << G4endl;
G4cout << " Kinetic Energy (MeV): " << std::setw(20)
<< theEnergyChange / MeV << G4endl;
G4cout << " Velocity (/c): " << std::setw(20)
G4cout << " Velocity (/c) : " << std::setw(20)
<< theVelocityChange / c_light << G4endl;
G4cout << " Polarization - x : " << std::setw(20)
<< thePolarizationChange.x() << G4endl;
+5
View File
@@ -92,6 +92,11 @@ G4Track& G4Track::operator=(const G4Track& right)
fWeight = right.fWeight;
fStepLength = right.fStepLength;
// additional fields required for geometrical splitting
fpTouchable = right.fpTouchable;
fpNextTouchable = right.fpNextTouchable;
fpOriginTouchable = right.fpOriginTouchable;
// Track ID (and Parent ID) is not copied and set to zero for new track
fTrackID = 0;
fParentID = 0;
+9 -9
View File
@@ -237,21 +237,21 @@ void G4VParticleChange::DumpInfo() const
G4cout << " G4ParticleChange Information " << std::setw(20) << G4endl;
G4cout << " -----------------------------------------------" << G4endl;
G4cout << " # of 2ndaries : " << std::setw(20)
G4cout << " # of secondaries : " << std::setw(20)
<< theNumberOfSecondaries << G4endl;
if(theNumberOfSecondaries > 0)
if (theNumberOfSecondaries > 0)
{
G4cout << " Pointer to 2ndaries : " << std::setw(20)
G4cout << " Pointer to 2ndaries : " << std::setw(20)
<< GetSecondary(0) << G4endl;
G4cout << " (Showed only 1st one)" << G4endl;
G4cout << " (Showed only 1st one)" << G4endl;
}
G4cout << " -----------------------------------------------" << G4endl;
G4cout << " Energy Deposit (MeV): " << std::setw(20)
<< theLocalEnergyDeposit / MeV << G4endl;
G4cout << " Non-ionizing Energy Deposit (MeV): " << std::setw(20)
G4cout << " Non-ionizing Energy Deposit (MeV): " << std::setw(11)
<< theNonIonizingEnergyDeposit / MeV << G4endl;
G4cout << " Track Status : " << std::setw(20);
@@ -280,17 +280,17 @@ void G4VParticleChange::DumpInfo() const
G4cout << " PostponeToNextEvent";
}
G4cout << G4endl;
G4cout << " True Path Length (mm) : " << std::setw(20)
G4cout << " True Path Length (mm) : " << std::setw(18)
<< theTrueStepLength / mm << G4endl;
G4cout << " Stepping Control : " << std::setw(20)
G4cout << " Stepping Control : " << std::setw(20)
<< theSteppingControlFlag << G4endl;
if(theFirstStepInVolume)
{
G4cout << " First Step In the voulme : " << G4endl;
G4cout << " First step in volume" << G4endl;
}
if(theLastStepInVolume)
{
G4cout << " Last Step In the voulme : " << G4endl;
G4cout << " Last step in volume" << G4endl;
}
G4cout.precision(olprc);
}