Import Geant4 1.1.0 source tree
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4AntiNeutronAnnihilationAtRest.hh,v 1.1.10.1 1999/12/07 20:52:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4AntiProtonAnnihilationAtRest.hh,v 1.1.10.1 1999/12/07 20:52:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4DistributionGenerator.hh,v 1.1.8.1.2.1 1999/12/07 20:52:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4KaonMinusAbsorption.hh,v 1.1.10.1 1999/12/07 20:52:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4KaonMinusAbsorptionAtRest.hh,v 1.1.8.1.2.1 1999/12/07 20:52:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1997
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4MuonMinusCaptureAtRest.hh,v 1.1.10.1 1999/12/07 20:52:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronCaptureAtRest.hh,v 1.1.10.1 1999/12/07 20:52:33 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusAbsorptionAtRest.hh,v 1.1.10.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopAbsorption.hh,v 1.2.6.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopAl.hh,v 1.1.8.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopC.hh,v 1.1.8.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopCo.hh,v 1.1.8.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopCu.hh,v 1.1.8.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopLi.hh,v 1.1.8.1.2.1 1999/12/07 20:52:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopMaterial.hh,v 1.1.8.1.2.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopN.hh,v 1.1.8.1.2.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopO.hh,v 1.1.8.1.2.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopPb.hh,v 1.1.8.1.2.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopTa.hh,v 1.1.8.1.2.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PionMinusAbsorptionAtRest.hh,v 1.1.10.1 1999/12/07 20:52:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopDeexcitation.hh,v 1.2.8.1 1999/12/07 20:52:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopDeexcitationAlgorithm.hh,v 1.2.8.1 1999/12/07 20:52:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopDummyDeexcitation.hh,v 1.2.8.1 1999/12/07 20:52:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopTheoDeexcitation.hh,v 1.2.8.1 1999/12/07 20:52:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4AntiNeutronAnnihilationAtRest.cc,v 1.1.10.1 1999/12/07 20:52:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4AntiNeutronAnnihilationAtRest.cc,v 1.1.10.1.2.4 1999/12/15 11:43:38 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file --- Copyright CERN 1998
|
||||
@@ -54,7 +54,7 @@ G4AntiNeutronAnnihilationAtRest::G4AntiNeutronAnnihilationAtRest(const G4String&
|
||||
pdefAlpha(G4Alpha::Alpha())
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1];
|
||||
@@ -108,10 +108,10 @@ G4double G4AntiNeutronAnnihilationAtRest::AtRestGetPhysicalInteractionLength(
|
||||
|
||||
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
|
||||
G4cout << "G4AntiNeutronAnnihilationAtRestProcess::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;
|
||||
@@ -169,7 +169,7 @@ G4VParticleChange* G4AntiNeutronAnnihilationAtRest::AtRestDoIt(
|
||||
}
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "G4AntiNeutronAnnihilationAtRest::AtRestDoIt is invoked " <<endl;
|
||||
G4cout << "G4AntiNeutronAnnihilationAtRest::AtRestDoIt is invoked " <<G4endl;
|
||||
}
|
||||
|
||||
G4ParticleMomentum momentum;
|
||||
@@ -269,7 +269,7 @@ void G4AntiNeutronAnnihilationAtRest::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
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4AntiProtonAnnihilationAtRest.cc,v 1.1.10.1 1999/12/07 20:52:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4AntiProtonAnnihilationAtRest.cc,v 1.1.10.1.2.4 1999/12/15 11:43:38 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file --- Copyright CERN 1998
|
||||
@@ -54,7 +54,7 @@ G4AntiProtonAnnihilationAtRest::G4AntiProtonAnnihilationAtRest(const G4String& p
|
||||
pdefAlpha(G4Alpha::Alpha())
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1];
|
||||
@@ -108,10 +108,10 @@ G4double G4AntiProtonAnnihilationAtRest::AtRestGetPhysicalInteractionLength(
|
||||
|
||||
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
|
||||
G4cout << "G4AntiProtonAnnihilationAtRestProcess::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;
|
||||
@@ -169,7 +169,7 @@ G4VParticleChange* G4AntiProtonAnnihilationAtRest::AtRestDoIt(
|
||||
}
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "G4AntiProtonAnnihilationAtRest::AtRestDoIt is invoked " <<endl;
|
||||
G4cout << "G4AntiProtonAnnihilationAtRest::AtRestDoIt is invoked " <<G4endl;
|
||||
}
|
||||
|
||||
G4ParticleMomentum momentum;
|
||||
@@ -266,7 +266,7 @@ void G4AntiProtonAnnihilationAtRest::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
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4DistributionGenerator.cc,v 1.2.6.1.2.1 1999/12/07 20:52:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4DistributionGenerator.cc,v 1.2.6.1.2.1.2.1 1999/12/08 17:35:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
@@ -40,7 +40,7 @@ G4DistributionGenerator::G4DistributionGenerator(G4RWTValOrderedVector<G4double>
|
||||
// Check boundaries: must be size(x) = size(values) + 1
|
||||
if (x.entries() != (values.entries() + 1))
|
||||
{ G4cout << " Inconsistent parameters in G4DistributionGenerator "
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
assert (x.entries() == (values.entries() + 1));
|
||||
|
||||
@@ -61,11 +61,11 @@ G4DistributionGenerator::G4DistributionGenerator(G4RWTValOrderedVector<G4double>
|
||||
/*
|
||||
for (i=0; i<values.entries(); i++)
|
||||
{ G4cout << values[i] << " " ; }
|
||||
G4cout << " Integral = " << tot << endl;
|
||||
G4cout << " Integral = " << tot << G4endl;
|
||||
for (i=0; i<_cumProb.entries(); i++)
|
||||
{
|
||||
G4cout << "Variable " << _x[i]
|
||||
<< " --- cumProb = " << _cumProb[i] << endl;
|
||||
<< " --- cumProb = " << _cumProb[i] << G4endl;
|
||||
}
|
||||
*/
|
||||
// End of debugging
|
||||
@@ -101,7 +101,7 @@ G4double G4DistributionGenerator::Generate(G4double ranflat)
|
||||
|
||||
// Deugging
|
||||
/*
|
||||
G4cout << "Random = " << ranflat << " Generated " << xRandom << endl;
|
||||
G4cout << "Random = " << ranflat << " Generated " << xRandom << G4endl;
|
||||
*/
|
||||
// Endo of Debugging
|
||||
|
||||
@@ -113,7 +113,7 @@ G4double G4DistributionGenerator::Generate(G4double ranflat)
|
||||
G4cout << "Bin " << bin << " "
|
||||
<< _cumProb.entries() << " "
|
||||
<< _x.entries()
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
*/
|
||||
// End of debugging
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4KaonMinusAbsorption.cc,v 1.1.10.1 1999/12/07 20:52:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4KaonMinusAbsorption.cc,v 1.1.10.1.2.4 1999/12/15 11:43:39 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file --- Copyright CERN 1998
|
||||
@@ -52,7 +52,7 @@ G4KaonMinusAbsorption::G4KaonMinusAbsorption(const G4String& processName)
|
||||
pdefAlpha(G4Alpha::Alpha())
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1];
|
||||
@@ -106,10 +106,10 @@ G4double G4KaonMinusAbsorption::AtRestGetPhysicalInteractionLength(
|
||||
|
||||
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
|
||||
G4cout << "G4KaonMinusAbsorptionProcess::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;
|
||||
@@ -167,7 +167,7 @@ G4VParticleChange* G4KaonMinusAbsorption::AtRestDoIt(
|
||||
}
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "G4KaonMinusAbsorption::AtRestDoIt is invoked " <<endl;
|
||||
G4cout << "G4KaonMinusAbsorption::AtRestDoIt is invoked " <<G4endl;
|
||||
}
|
||||
|
||||
G4ParticleMomentum momentum;
|
||||
@@ -264,7 +264,7 @@ void G4KaonMinusAbsorption::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
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ G4KaonMinusAbsorptionAtRest::G4KaonMinusAbsorptionAtRest(const G4String& process
|
||||
: G4VRestProcess (processName)
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
// see Cohn et al, PLB27(1968) 527;
|
||||
@@ -85,7 +85,7 @@ G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
|
||||
|
||||
if (!IsApplicable(*(stoppedHadron->GetDefinition())))
|
||||
{
|
||||
G4cerr <<"G4KaonMinusAbsorptionAtRest:ERROR, particle must be a Kaon!" <<endl;
|
||||
G4cerr <<"G4KaonMinusAbsorptionAtRest:ERROR, particle must be a Kaon!" <<G4endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
|
||||
delete thePion;
|
||||
if (verboseLevel > 1)
|
||||
G4cout << "G4KaonMinusAbsorption::AtRestDoIt: Pion absorbed in Nucleus"
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -148,7 +148,7 @@ G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
|
||||
|
||||
if (verboseLevel > 1)
|
||||
G4cout << "G4KaonMinusAbsorption::AtRestDoIt: SigmaLambdaConversion Done"
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -201,7 +201,7 @@ G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
|
||||
<< Z
|
||||
<< ", "
|
||||
<< newZ
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
if (energyDeposit < 0.)
|
||||
@@ -375,7 +375,7 @@ G4DynamicParticleVector* G4KaonMinusAbsorptionAtRest::KaonNucleonReaction()
|
||||
<< "G4KaonMinusAbsorption::KaonNucleonReaction: "
|
||||
<< aNucleon.GetDefinition()->GetParticleName()
|
||||
<< " is not a good nucleon - check G4Nucleus::ReturnTargetParticle()!"
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -421,7 +421,7 @@ G4DynamicParticleVector* G4KaonMinusAbsorptionAtRest::KaonNucleonReaction()
|
||||
<< "G4KaonMinusAbsorption::KaonNucleonReaction: Number of primaries = "
|
||||
<< products->entries()
|
||||
<< ": " <<producedMesonDef->GetParticleName()
|
||||
<< ", " <<producedBaryonDef->GetParticleName() << endl;
|
||||
<< ", " <<producedBaryonDef->GetParticleName() << G4endl;
|
||||
}
|
||||
|
||||
return products;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4MuonMinusCaptureAtRest.cc,v 1.1.10.1 1999/12/07 20:52:38 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4MuonMinusCaptureAtRest.cc,v 1.1.10.1.2.4 1999/12/15 11:43:39 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file --- Copyright CERN 1998
|
||||
@@ -117,7 +117,7 @@ G4MuonMinusCaptureAtRest::G4MuonMinusCaptureAtRest(const G4String& processName)
|
||||
pdefFragm[5] = G4Alpha::Alpha();
|
||||
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
Fragments = new G4GHEKinematicsVector [MXFRAG];
|
||||
@@ -189,10 +189,10 @@ G4double G4MuonMinusCaptureAtRest::AtRestGetPhysicalInteractionLength(
|
||||
|
||||
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
|
||||
G4cout << "G4MuonMinusCaptureAtRestProcess::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;
|
||||
@@ -221,7 +221,7 @@ G4VParticleChange* G4MuonMinusCaptureAtRest::AtRestDoIt(
|
||||
G4double globalTime = track.GetGlobalTime()/s;
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "G4MuonMinusCaptureAtRest::AtRestDoIt is invoked " <<endl;
|
||||
G4cout << "G4MuonMinusCaptureAtRest::AtRestDoIt is invoked " <<G4endl;
|
||||
}
|
||||
|
||||
G4ParticleMomentum momentum;
|
||||
@@ -532,7 +532,7 @@ G4double G4MuonMinusCaptureAtRest::CalculateIsotopicMass(G4double a,
|
||||
a * 8.367 - z * .783 + ev + es + ec + eex + cam2[iz0 - 1] + cam3[n - 1];
|
||||
ret_val = (ret_val + a * O16OLD) * O16RAT - a * ( C12NEW - ADJUST );
|
||||
d__1 = ret_val, d__2 = z * exhydr + (a - z) * exneut;
|
||||
ret_val = min(d__1,d__2);
|
||||
ret_val = G4std::min(d__1,d__2);
|
||||
return ret_val;
|
||||
|
||||
} // CalculateIsotopicMass
|
||||
@@ -617,12 +617,12 @@ void G4MuonMinusCaptureAtRest::EvaporationDeexcitation()
|
||||
ipar = 2;
|
||||
}
|
||||
}
|
||||
delpai = min(eexdum,delta);
|
||||
delpai = G4std::min(eexdum,delta);
|
||||
rnucl = residualNuclearMasses[atMassResidNucl - 1] * R0NUCL;
|
||||
ainerm = massResidNucl * .24 * rnucl * rnucl;
|
||||
roten0 = 0.5 * PLABRC * PLABRC / ainerm;
|
||||
d__1 = delta, d__2 = roten0 * 2.;
|
||||
enmin = max(d__1,d__2);
|
||||
enmin = G4std::max(d__1,d__2);
|
||||
rnmass = massResidNucl + excitEnResidNucl;
|
||||
umo = rnmass;
|
||||
gamcm = totEnResidNucl / rnmass;
|
||||
@@ -661,7 +661,7 @@ void G4MuonMinusCaptureAtRest::EvaporationDeexcitation()
|
||||
}
|
||||
lexpn = (lmult << 1) + 1;
|
||||
ddlexp = (G4double) lexpn;
|
||||
xdismx = min(ddlexp,hhh);
|
||||
xdismx = G4std::min(ddlexp,hhh);
|
||||
if (xdismx > EXPMAX) {
|
||||
dismx = 0.;
|
||||
} else {
|
||||
@@ -712,8 +712,8 @@ void G4MuonMinusCaptureAtRest::EvaporationDeexcitation()
|
||||
umo = rnmass;
|
||||
} while (excitEnResidNucl > enmin);
|
||||
if (nSecPart >= MXSECS) {
|
||||
G4cout << " **** Finuc overflow in EvaporationDeexcitation, program stopped ****" << endl;
|
||||
G4cout << "STOP" << endl;
|
||||
G4cout << " **** Finuc overflow in EvaporationDeexcitation, program stopped ****" << G4endl;
|
||||
G4cout << "STOP" << G4endl;
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
@@ -811,12 +811,12 @@ void G4MuonMinusCaptureAtRest::EvaporationDeexcitation()
|
||||
echck -= kinEnResidNucl;
|
||||
if (abs(echck) > echck0 * 1e-7) {
|
||||
G4cout << " **** No energy conservation in EvaporationDeexcitation ****"
|
||||
<< " " << echck << endl;
|
||||
<< " " << echck << G4endl;
|
||||
}
|
||||
excitEnResidNucl = 0.;
|
||||
if (nSecPart > MXSECS) {
|
||||
G4cout << " **** Finuc overflow in EvaporationDeexcitation, program stopped ****" << endl;
|
||||
G4cout << "STOP" << endl;
|
||||
G4cout << " **** Finuc overflow in EvaporationDeexcitation, program stopped ****" << G4endl;
|
||||
G4cout << "STOP" << G4endl;
|
||||
exit(1);
|
||||
}
|
||||
recoilEnResidNucl = kinEnResidNucl;
|
||||
@@ -849,8 +849,8 @@ void G4MuonMinusCaptureAtRest::FermiMotion(G4int pidx)
|
||||
frndm[0] = G4UniformRand();
|
||||
frndm[1] = G4UniformRand();
|
||||
frndm[2] = G4UniformRand();
|
||||
r__1 = max(frndm[0],frndm[1]);
|
||||
p2 = max(r__1,frndm[2]);
|
||||
r__1 = G4std::max(frndm[0],frndm[1]);
|
||||
p2 = G4std::max(r__1,frndm[2]);
|
||||
if (atMassTarget <= 1) {
|
||||
ferm = 0.;
|
||||
}
|
||||
@@ -1390,7 +1390,7 @@ L1000:
|
||||
// Check for starting data inconsistencies
|
||||
if (ja - jz < 0) {
|
||||
G4cout << " Dres: cascade residual nucleus has mass no. less than Z!!"
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
return;
|
||||
} else if (ja <= 6 || jz <= 2) {
|
||||
//
|
||||
@@ -1418,7 +1418,7 @@ L1000:
|
||||
if (deltu <= 0.) {
|
||||
if (deltu < umo * -2.0 * ANGLGB) {
|
||||
G4cout << " *** Dres: insufficient Umo for a nucleon couple"
|
||||
<< " " << umo << " " << zmass[jemiss - 1] * 2. << endl;
|
||||
<< " " << umo << " " << zmass[jemiss - 1] * 2. << G4endl;
|
||||
}
|
||||
umo = (umo + deltu) * ( 1.0 + ANGLGB );
|
||||
}
|
||||
@@ -1445,15 +1445,15 @@ L1000:
|
||||
} else {
|
||||
// Energy too low to split the deuteron, return
|
||||
G4cout << " **Dres: energy too low to split a deuteron! M2,M3"
|
||||
<< " " << m2 << " " << m3 << endl;
|
||||
<< " " << m2 << " " << m3 << G4endl;
|
||||
return;
|
||||
}
|
||||
case 4:
|
||||
// Triton:
|
||||
d__1 = 0., d__2 = *u + bnmass[2] - bnmass[3];
|
||||
deuneu = max(d__1,d__2);
|
||||
deuneu = G4std::max(d__1,d__2);
|
||||
d__1 = 0., d__2 = *u - bnmass[3];
|
||||
prnene = max(d__1,d__2);
|
||||
prnene = G4std::max(d__1,d__2);
|
||||
qnorm = deuneu + prnene;
|
||||
// If we cannot split then return
|
||||
if (qnorm <= 0.) {
|
||||
@@ -1495,9 +1495,9 @@ L1000:
|
||||
case 5:
|
||||
// 3-He:
|
||||
d__1 = 0., d__2 = *u + bnmass[2] - bnmass[4];
|
||||
deupro = max(d__1,d__2);
|
||||
deupro = G4std::max(d__1,d__2);
|
||||
d__1 = 0., d__2 = *u - bnmass[4];
|
||||
prprne = max(d__1,d__2);
|
||||
prprne = G4std::max(d__1,d__2);
|
||||
qnorm = deupro + prprne;
|
||||
// If we cannot split then return
|
||||
if (qnorm <= 0.) {
|
||||
@@ -1540,11 +1540,11 @@ L1000:
|
||||
// Alpha:
|
||||
//
|
||||
d__1 = 0., d__2 = *u + bnmass[2] * 2. - bnmass[5];
|
||||
deudeu = max(d__1,d__2);
|
||||
deudeu = G4std::max(d__1,d__2);
|
||||
d__1 = 0., d__2 = *u + bnmass[3] - bnmass[5];
|
||||
protri = max(d__1,d__2);
|
||||
protri = G4std::max(d__1,d__2);
|
||||
d__1 = 0., d__2 = *u + bnmass[4] - bnmass[5];
|
||||
ueu3he = max(d__1,d__2);
|
||||
ueu3he = G4std::max(d__1,d__2);
|
||||
qnorm = deudeu + protri + ueu3he;
|
||||
// If we cannot split then return
|
||||
if (qnorm <= 0.) {
|
||||
@@ -1598,7 +1598,7 @@ L1000:
|
||||
ddjja = (G4double) jja;
|
||||
ddjjz = (G4double) jjz;
|
||||
d__1 = *u + energ0 - GetIsotopicMass(ddjja, ddjjz) - exmass[k - 1];
|
||||
q[k] = max(d__1,0.) + q[k - 1];
|
||||
q[k] = G4std::max(d__1,0.) + q[k - 1];
|
||||
}
|
||||
// If no emission channel is open then return
|
||||
if (q[6] <= 0.) {
|
||||
@@ -1629,7 +1629,7 @@ L1000:
|
||||
goto L2300;
|
||||
}
|
||||
}
|
||||
G4cout << " **** error in Dres, few nucleon treatment ****" << endl;
|
||||
G4cout << " **** error in Dres, few nucleon treatment ****" << G4endl;
|
||||
return;
|
||||
// Loop to compute the residual excitation energy
|
||||
L2300:
|
||||
@@ -1820,13 +1820,13 @@ L2600:
|
||||
ExcitationEnergyLevel(iaa, izz, &eex1st, &eex2nd, &corr);
|
||||
eex1st *= 1e3;
|
||||
eex2nd *= 1e3;
|
||||
corr = max(corr,0.) * 1e3;
|
||||
corr = G4std::max(corr,0.) * 1e3;
|
||||
if (nn == 4 && izz == 4) {
|
||||
if (*u - thresh[j - 1] - 6.1 > 0.) {
|
||||
corr = 6.;
|
||||
} else {
|
||||
tmpvar = *u - thresh[j - 1] - .1;
|
||||
corr = max(0.,tmpvar);
|
||||
corr = G4std::max(0.,tmpvar);
|
||||
}
|
||||
}
|
||||
if (NINT(pairCorrFlag) == 1) {
|
||||
@@ -1846,9 +1846,9 @@ L2600:
|
||||
}
|
||||
n1 = 1;
|
||||
d__1 =
|
||||
max(s[0],s[1]), d__1 = max(d__1,s[2]), d__1 =
|
||||
max(d__1,s[3]), d__1 = max(d__1,s[4]);
|
||||
ses = max(d__1,s[5]);
|
||||
G4std::max(s[0],s[1]), d__1 = G4std::max(d__1,s[2]), d__1 =
|
||||
G4std::max(d__1,s[3]), d__1 = G4std::max(d__1,s[4]);
|
||||
ses = G4std::max(d__1,s[5]);
|
||||
for (j = 1; j <= 6; ++j) {
|
||||
js = (G4int) (sos[j - 1] + 1.);
|
||||
fjs = (G4double) js;
|
||||
@@ -1856,12 +1856,12 @@ L2600:
|
||||
if (s[j - 1] > 0.) {
|
||||
mm = ja - ia[j - 1];
|
||||
d__3 = EXPMIN, d__4 = s[j - 1] - ses;
|
||||
d__1 = EXPMAX, d__2 = max(d__3,d__4);
|
||||
expsas = min(d__1,d__2);
|
||||
d__1 = EXPMAX, d__2 = G4std::max(d__3,d__4);
|
||||
expsas = G4std::min(d__1,d__2);
|
||||
sas = exp(expsas);
|
||||
d__3 = EXPMIN, d__4 = -s[j - 1];
|
||||
d__1 = EXPMAX, d__2 = max(d__3,d__4);
|
||||
expsus = min(d__1,d__2);
|
||||
d__1 = EXPMAX, d__2 = G4std::max(d__3,d__4);
|
||||
expsus = G4std::min(d__1,d__2);
|
||||
sus = exp(expsus);
|
||||
d__1 = s[j - 1];
|
||||
d__2 = s[j - 1];
|
||||
@@ -1881,7 +1881,7 @@ L2600:
|
||||
r[j - 1] = ccoul[j - 1] * (d__1 * d__1) * eye1[j - 1] * sas;
|
||||
}
|
||||
d__1 = 0., d__2 = r[j - 1];
|
||||
r[j - 1] = max(d__1,d__2);
|
||||
r[j - 1] = G4std::max(d__1,d__2);
|
||||
sigma += r[j - 1];
|
||||
}
|
||||
}
|
||||
@@ -2196,7 +2196,7 @@ G4double G4MuonMinusCaptureAtRest::GetIsotopicMass(G4double a, G4double z)
|
||||
if (ka0 != 1) {
|
||||
if (n < 0) {
|
||||
G4cout << " Stopped in energy: mass number =< atomic number !!"
|
||||
<< " " << ka0 << " " << kz0 << endl;
|
||||
<< " " << ka0 << " " << kz0 << G4endl;
|
||||
}
|
||||
} else {
|
||||
ret_val = isotopicData[2][0];
|
||||
@@ -3474,7 +3474,7 @@ void G4MuonMinusCaptureAtRest::DoMuCapture()
|
||||
amntar2 = massProton;
|
||||
break;
|
||||
default:
|
||||
G4cout << "? This cannot happen!" << endl;
|
||||
G4cout << "? This cannot happen!" << G4endl;
|
||||
exit(1);
|
||||
}
|
||||
} else {
|
||||
@@ -3524,10 +3524,10 @@ void G4MuonMinusCaptureAtRest::DoMuCapture()
|
||||
}
|
||||
}
|
||||
i__1 = nSecPart, i__2 = MXGKIN - nGkine;
|
||||
nstak1 = min(i__1,i__2);
|
||||
nstak1 = G4std::min(i__1,i__2);
|
||||
if (nSecPart > nstak1) {
|
||||
G4cout << " **** FLUFIN: Stack overflow, "
|
||||
<< nSecPart - nstak1 << " particles lost" << endl;
|
||||
<< nSecPart - nstak1 << " particles lost" << G4endl;
|
||||
}
|
||||
// == Put neutrino on the stack IF DESIRED.
|
||||
++nGkine;
|
||||
@@ -3544,10 +3544,10 @@ void G4MuonMinusCaptureAtRest::DoMuCapture()
|
||||
Gkin[nGkine - 1].SetTOF( tDelay );
|
||||
}
|
||||
i__1 = nallFragm, i__2 = MXGKIN - nGkine;
|
||||
nstak2 = min(i__1,i__2);
|
||||
nstak2 = G4std::min(i__1,i__2);
|
||||
if (nallFragm > nstak2) {
|
||||
G4cout << " **** FLUFIN: Stack overflow, "
|
||||
<< nallFragm - nstak2 << " heavy particles lost" << endl;
|
||||
<< nallFragm - nstak2 << " heavy particles lost" << G4endl;
|
||||
}
|
||||
i__1 = nstak2;
|
||||
for (k = 1; k <= i__1; ++k) {
|
||||
@@ -3586,7 +3586,7 @@ void G4MuonMinusCaptureAtRest::MuEvaporation()
|
||||
// The initial excitation energy, mass and charge of the nucleus are
|
||||
// put into Ex, Apr, Zpr (common Hetc5)
|
||||
d__1 = excitEnResidNucl * 1000;
|
||||
iniExcitEnEvapNucl = max(d__1,ANGLGB);
|
||||
iniExcitEnEvapNucl = G4std::max(d__1,ANGLGB);
|
||||
atMassEvapNucl = atMassCurrent;
|
||||
chargeEvapNucl = chargeCurrent;
|
||||
// Ammres is the atomic mass of the residual nucleus
|
||||
@@ -3655,7 +3655,7 @@ void G4MuonMinusCaptureAtRest::MuEvaporation()
|
||||
GetIsotopicMass(atMassCurrent, chargeCurrent) * .001;
|
||||
excitEnResidNucl = finExcitEnEvapNucl * .001;
|
||||
d__1 = recoilEnEvapNucl * .001;
|
||||
recoilEnResidNucl = max(d__1,0.);
|
||||
recoilEnResidNucl = G4std::max(d__1,0.);
|
||||
totMomResidNucl =
|
||||
sqrt(recoilEnResidNucl *
|
||||
(recoilEnResidNucl + (massResidNucl + excitEnResidNucl) * 2.));
|
||||
@@ -3669,7 +3669,7 @@ void G4MuonMinusCaptureAtRest::MuEvaporation()
|
||||
if ((d__1 = etevap - eotest, abs(d__1)) / eotest > .05) {
|
||||
G4cout << " Evevap: failure in energy conservation!!"
|
||||
<< " " << etevap << " " << eotest << " " << etevap - eotest
|
||||
<< " " << totEnResidNucl << endl;
|
||||
<< " " << totEnResidNucl << G4endl;
|
||||
}
|
||||
// Check if the deexcitation module have to be called
|
||||
EvaporationDeexcitation();
|
||||
@@ -3713,11 +3713,11 @@ G4double G4MuonMinusCaptureAtRest::NuclearBindingEnergy(G4double a1,
|
||||
n1 = ka1 - kz1;
|
||||
n2 = ka2 - kz2;
|
||||
if (n1 <= 0) {
|
||||
G4cout << "STOP - 105" << endl;
|
||||
G4cout << "STOP - 105" << G4endl;
|
||||
exit(1);
|
||||
}
|
||||
if (n2 <= 0) {
|
||||
G4cout << "STOP - 106" << endl;
|
||||
G4cout << "STOP - 106" << G4endl;
|
||||
exit(1);
|
||||
}
|
||||
izz1 = NINT(isotopicData[0][ka1 - 1]);
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronCaptureAtRest.cc,v 1.1.10.1 1999/12/07 20:52:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4NeutronCaptureAtRest.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
|
||||
@@ -45,7 +45,7 @@ G4NeutronCaptureAtRest::G4NeutronCaptureAtRest(const G4String& processName)
|
||||
pdefNeutron(G4Neutron::Neutron())
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
}
|
||||
|
||||
pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1];
|
||||
@@ -99,10 +99,10 @@ G4double G4NeutronCaptureAtRest::AtRestGetPhysicalInteractionLength(
|
||||
|
||||
if ((currentInteractionLength <0.0) || (verboseLevel>2)){
|
||||
G4cout << "G4NeutronCaptureAtRestProcess::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;
|
||||
@@ -160,7 +160,7 @@ G4VParticleChange* G4NeutronCaptureAtRest::AtRestDoIt(
|
||||
}
|
||||
|
||||
if (verboseLevel>1) {
|
||||
G4cout << "G4NeutronCaptureAtRest::AtRestDoIt is invoked " <<endl;
|
||||
G4cout << "G4NeutronCaptureAtRest::AtRestDoIt is invoked " <<G4endl;
|
||||
}
|
||||
|
||||
G4ParticleMomentum momentum;
|
||||
@@ -257,7 +257,7 @@ void G4NeutronCaptureAtRest::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
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusAbsorptionAtRest.cc,v 1.3.8.1 1999/12/07 20:52:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PiMinusAbsorptionAtRest.cc,v 1.3.8.1.2.1 1999/12/08 17:35:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
@@ -60,7 +60,7 @@ G4PiMinusAbsorptionAtRest::G4PiMinusAbsorptionAtRest(const G4String& processName
|
||||
_indexDeexcitation = 0;
|
||||
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << GetProcessName() << " is created "<< endl; }
|
||||
{ G4cout << GetProcessName() << " is created "<< G4endl; }
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ G4VParticleChange* G4PiMinusAbsorptionAtRest::AtRestDoIt(const G4Track& track, c
|
||||
{
|
||||
G4cerr
|
||||
<< "G4PiMinusAbsorptionAtRest: ERROR, particle must be a pion minus!"
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ G4VParticleChange* G4PiMinusAbsorptionAtRest::AtRestDoIt(const G4Track& track, c
|
||||
G4double pionEnergy = stoppedHadron->GetTotalEnergy();
|
||||
G4double excitation = pionEnergy - stopAbsorption.Energy();
|
||||
if (excitation < 0.) G4Exception("G4PiMinusAbsorptionAtRest::AtRestDoIt -- excitation energy < 0");
|
||||
if (verboseLevel>0) { G4cout << " excitation " << excitation << endl; }
|
||||
if (verboseLevel>0) { G4cout << " excitation " << excitation << G4endl; }
|
||||
|
||||
G4StopDeexcitationAlgorithm* nucleusAlgorithm = LoadNucleusAlgorithm();
|
||||
G4StopDeexcitation stopDeexcitation(nucleusAlgorithm);
|
||||
@@ -144,7 +144,7 @@ G4VParticleChange* G4PiMinusAbsorptionAtRest::AtRestDoIt(const G4Track& track, c
|
||||
{
|
||||
G4cout << "nAbsorptionProducts = " << nAbsorptionProducts
|
||||
<< " nFragmentationProducts = " << nFragmentationProducts
|
||||
<< endl;
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
// Deal with ParticleChange final state
|
||||
@@ -182,7 +182,7 @@ G4PiMinusStopMaterial* G4PiMinusAbsorptionAtRest::LoadAlgorithm(int Z)
|
||||
{
|
||||
if (verboseLevel>0)
|
||||
{
|
||||
G4cout << "Load material algorithm " << Z << endl;
|
||||
G4cout << "Load material algorithm " << Z << G4endl;
|
||||
}
|
||||
|
||||
G4int index = 3;
|
||||
@@ -199,39 +199,39 @@ G4PiMinusStopMaterial* G4PiMinusAbsorptionAtRest::LoadAlgorithm(int Z)
|
||||
{
|
||||
case 3:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Li algorithm " << endl; }
|
||||
{ G4cout << " =================== Load Li algorithm " << G4endl; }
|
||||
return new G4PiMinusStopLi();
|
||||
case 6:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load C algorithm " << endl; }
|
||||
{ G4cout << " =================== Load C algorithm " << G4endl; }
|
||||
return new G4PiMinusStopC();
|
||||
case 7:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load N algorithm " << endl; }
|
||||
{ G4cout << " =================== Load N algorithm " << G4endl; }
|
||||
return new G4PiMinusStopN();
|
||||
case 8:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load O algorithm " << endl; }
|
||||
{ G4cout << " =================== Load O algorithm " << G4endl; }
|
||||
return new G4PiMinusStopO();
|
||||
case 13:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Al algorithm " << endl; }
|
||||
{ G4cout << " =================== Load Al algorithm " << G4endl; }
|
||||
return new G4PiMinusStopAl();
|
||||
case 27:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Cu algorithm " << endl; }
|
||||
{ G4cout << " =================== Load Cu algorithm " << G4endl; }
|
||||
return new G4PiMinusStopCu();
|
||||
case 29:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Co algorithm " << endl; }
|
||||
{ G4cout << " =================== Load Co algorithm " << G4endl; }
|
||||
return new G4PiMinusStopCo();
|
||||
case 73:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Ta algorithm " << endl; }
|
||||
{ G4cout << " =================== Load Ta algorithm " << G4endl; }
|
||||
return new G4PiMinusStopTa();
|
||||
default:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load default material algorithm " << endl; }
|
||||
{ G4cout << " =================== Load default material algorithm " << G4endl; }
|
||||
return new G4PiMinusStopC();
|
||||
}
|
||||
}
|
||||
@@ -243,15 +243,15 @@ G4StopDeexcitationAlgorithm* G4PiMinusAbsorptionAtRest::LoadNucleusAlgorithm()
|
||||
{
|
||||
case 0:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Theo deexcitation " << endl; }
|
||||
{ G4cout << " =================== Load Theo deexcitation " << G4endl; }
|
||||
return new G4StopTheoDeexcitation();
|
||||
case 1:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load Dummy deexcitation " << endl; }
|
||||
{ G4cout << " =================== Load Dummy deexcitation " << G4endl; }
|
||||
return new G4StopDummyDeexcitation();
|
||||
default:
|
||||
if (verboseLevel>0)
|
||||
{ G4cout << " =================== Load default deexcitation " << endl; }
|
||||
{ G4cout << " =================== Load default deexcitation " << G4endl; }
|
||||
return new G4StopTheoDeexcitation();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopAbsorption.cc,v 1.3.6.1.2.1 1999/12/07 20:52:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PiMinusStopAbsorption.cc,v 1.3.6.1.2.1.2.2 1999/12/09 16:58:27 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
@@ -190,10 +190,10 @@ G4double G4PiMinusStopAbsorption::Energy()
|
||||
|
||||
if (_level > 0)
|
||||
{
|
||||
cout << "E products " << productEnergy
|
||||
G4std::cout << "E products " << productEnergy
|
||||
<< " Binding " << productBinding << " " << temp << " "
|
||||
<< " Tnucleus " << tNucleus
|
||||
<< " energy = " << energy << endl;
|
||||
<< " energy = " << energy << G4endl;
|
||||
}
|
||||
|
||||
return energy;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopAl.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopC.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopCo.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopCu.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopLi.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopMaterial.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PiMinusStopMaterial.cc,v 1.1.8.1.2.1.2.1 1999/12/08 17:35:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
@@ -143,9 +143,9 @@ G4RWTPtrOrderedVector<G4LorentzVector>* G4PiMinusStopMaterial::P4Vector(const G4
|
||||
|
||||
// ---- Debug
|
||||
// G4cout << " ---- binding = " << binding << ", nucleus mass = " << massNucleus
|
||||
// << ", p nucleus = " << pNucleus << endl;
|
||||
// << ", p nucleus = " << pNucleus << G4endl;
|
||||
// G4cout << "eKin1,2 " << eKin1 << " " << eKin2 << " eRecoil " << eRecoil
|
||||
// << " availableE " << availableE << endl;
|
||||
// << " availableE " << availableE << G4endl;
|
||||
// ----
|
||||
|
||||
} while ((eKin1 + eKin2 + eRecoil) > availableE);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopN.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopO.cc,v 1.1.8.1.2.1 1999/12/07 20:52:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopPb.cc,v 1.1.8.1.2.1 1999/12/07 20:52:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PiMinusStopTa.cc,v 1.1.8.1.2.1 1999/12/07 20:52:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopDeexcitation.cc,v 1.2.6.1.2.1 1999/12/07 20:52:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopDummyDeexcitation.cc,v 1.2.6.1.2.1 1999/12/07 20:52:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4StopTheoDeexcitation.cc,v 1.2.6.1.2.1 1999/12/07 20:52:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4StopTheoDeexcitation.cc,v 1.2.6.1.2.1.2.1 1999/12/08 17:35:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class file --- Copyright CERN 1998
|
||||
@@ -80,10 +80,10 @@ G4ReactionProductVector* G4StopTheoDeexcitation::BreakUp(G4double A, G4double Z,
|
||||
// theExcitedNucleus.SetMomentum(initialMomentum);
|
||||
|
||||
// G4cout << "Theo input " << A << " " << Z << " "
|
||||
// << pMag << " " << atomicMass << endl
|
||||
// << "Theo - " << excitation << " " << initialMomentum.mag() << endl
|
||||
// << pMag << " " << atomicMass << G4endl
|
||||
// << "Theo - " << excitation << " " << initialMomentum.mag() << G4endl
|
||||
// << "Fragment - " << theExcitedNucleus.GetExcitationEnergy() << " "
|
||||
// << theExcitedNucleus.GetMomentum().mag() << endl;
|
||||
// << theExcitedNucleus.GetMomentum().mag() << G4endl;
|
||||
|
||||
return theHandler.BreakItUp(theExcitedNucleus);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user