Import Geant4 6.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:41:53 +02:00
parent 4aea781e80
commit 96686e0c8f
6560 changed files with 153347 additions and 238155 deletions
@@ -76,7 +76,12 @@ G4AntiNeutronAnnihilationAtRest::G4AntiNeutronAnnihilationAtRest(const G4String&
// destructor
G4AntiNeutronAnnihilationAtRest::~G4AntiNeutronAnnihilationAtRest(){;}
G4AntiNeutronAnnihilationAtRest::~G4AntiNeutronAnnihilationAtRest()
{
delete [] pv;
delete [] eve;
delete [] gkin;
}
// methods.............................................................................
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4AntiProtonAnnihilationAtRest.cc,v 1.8 2003/06/16 17:11:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file --- Copyright CERN 1998
@@ -79,7 +77,12 @@ G4AntiProtonAnnihilationAtRest::G4AntiProtonAnnihilationAtRest(const G4String& p
// destructor
G4AntiProtonAnnihilationAtRest::~G4AntiProtonAnnihilationAtRest(){;}
G4AntiProtonAnnihilationAtRest::~G4AntiProtonAnnihilationAtRest()
{
delete [] pv;
delete [] eve;
delete [] gkin;
}
// methods.............................................................................
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4DistributionGenerator.cc,v 1.10 2003/06/16 17:11:59 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4KaonMinusAbsorption.cc,v 1.8 2003/06/16 17:12:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file --- Copyright CERN 1998
@@ -77,7 +75,12 @@ G4KaonMinusAbsorption::G4KaonMinusAbsorption(const G4String& processName)
// destructor
G4KaonMinusAbsorption::~G4KaonMinusAbsorption(){;}
G4KaonMinusAbsorption::~G4KaonMinusAbsorption()
{
delete [] pv;
delete [] eve;
delete [] gkin;
}
// methods.............................................................................
@@ -219,8 +219,10 @@ G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt
}
if (energyDeposit < 0.)
G4Exception("G4KaonMinusAbsorptionAtRest::AtRestDoIt -- excitation energy < 0");
{
G4Exception("G4KaonMinusAbsorptionAtRest", "007", FatalException,
"AtRestDoIt -- excitation energy < 0");
}
delete nucleus;
G4ReactionProductVector* fragmentationProducts = stopDeexcitation.DoBreakUp(newA,newZ,energyDeposit,pNucleus);
@@ -3434,6 +3434,25 @@ void G4MuonMinusCaptureAtRest::DoMuCapture()
302, 303, 303, 304, 304
};
//V.Ivanchenko
static G4double zeff[100] = {
1.,1.98,2.95,3.89,4.8,5.72,6.61,7.49,8.32,9.12,9.95,10.69,11.48,12.22,
12.91,13.64,14.24,14.89,15.53,16.15,16.75,17.38,18.04,18.49,
19.06,19.59,20.1,20.66,21.12,21.61,22.02,22.43,22.84,23.24,
23.65,24.06,24.47,24.85,25.23,25.61,25.99,26.37,26.69,27.,
27.32,27.63,27.95,28.2,28.42,28.64,28.79,29.03,29.27,29.51,
29.75,29.99,30.2,30.36,30.53,30.69,30.85,31.01,31.18,31.34,
31.48,31.62,31.76,31.9,32.05,32.19,32.33,32.47,32.61,32.76,
32.94,33.11,33.29,33.46,33.64,33.81,34.21,34.18,34.,34.1,
34.21,34.31,34.42,34.52,34.63,34.73,34.84,34.94,35.04,35.15,
35.25,35.36,35.46,35.57,35.67,35.78 };
chargeTarget = G4int(targetCharge);
G4int idxx = chargeTarget-1;
if(idxx>99) idxx=99;
G4double q = zeff[idxx];
zeff2 = q*q;
// =======
// === this routine interfaces to FLUKA routines to evaporate
// === nucleons following muon capture
@@ -3448,7 +3467,6 @@ void G4MuonMinusCaptureAtRest::DoMuCapture()
txi = cfe * pols;
tyi = sfe * pols;
tzi = polc;
chargeTarget = G4int(targetCharge);
// Choice of the mass number of the target nucleus: use the input
rndm[0] = G4UniformRand();
rndm[1] = G4UniformRand();
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4NeutronCaptureAtRest.cc,v 1.8 2003/06/16 17:12:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file --- Copyright CERN 1998
@@ -70,7 +68,12 @@ G4NeutronCaptureAtRest::G4NeutronCaptureAtRest(const G4String& processName)
// destructor
G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest(){;}
G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest()
{
delete [] pv;
delete [] eve;
delete [] gkin;
}
// methods.............................................................................
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusAbsorptionAtRest.cc,v 1.12 2003/05/30 10:50:53 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -134,7 +132,11 @@ 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 (excitation < 0.)
{
G4Exception("G4PiMinusAbsorptionAtRest", "007", FatalException,
"AtRestDoIt -- excitation energy < 0");
}
if (verboseLevel>0) { G4cout << " excitation " << excitation << G4endl; }
G4StopDeexcitationAlgorithm* nucleusAlgorithm = LoadNucleusAlgorithm();
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopAbsorption.cc,v 1.13 2003/06/16 17:12:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopAl.cc,v 1.9 2003/06/16 17:12:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopC.cc,v 1.9 2003/06/16 17:12:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopCo.cc,v 1.9 2003/06/16 17:12:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopCu.cc,v 1.9 2003/06/16 17:12:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopLi.cc,v 1.9 2003/06/16 17:12:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopMaterial.cc,v 1.11 2003/06/16 17:12:10 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopN.cc,v 1.9 2003/06/16 17:12:11 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopO.cc,v 1.9 2003/06/16 17:12:12 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopPb.cc,v 1.9 2003/06/16 17:12:13 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PiMinusStopTa.cc,v 1.9 2003/06/16 17:12:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4PionMinusAbsorptionAtRest.cc,v 1.9 2003/06/16 17:12:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file --- Copyright CERN 1998
@@ -72,7 +70,12 @@ G4PionMinusAbsorptionAtRest::G4PionMinusAbsorptionAtRest(const G4String& process
// destructor
G4PionMinusAbsorptionAtRest::~G4PionMinusAbsorptionAtRest(){;}
G4PionMinusAbsorptionAtRest::~G4PionMinusAbsorptionAtRest()
{
delete [] pv;
delete [] eve;
delete [] gkin;
}
// methods.............................................................................
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4StopDeexcitation.cc,v 1.9 2003/06/16 17:12:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4StopDummyDeexcitation.cc,v 1.9 2003/05/30 10:50:53 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998
@@ -21,8 +21,6 @@
// ********************************************************************
//
//
// $Id: G4StopTheoDeexcitation.cc,v 1.9 2002/12/12 19:18:39 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// -------------------------------------------------------------------
// GEANT 4 class file --- Copyright CERN 1998