Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Alpha.hh,v 1.3 1999/12/15 14:51:01 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Alpha.hh,v 1.4 2001/03/12 05:45:42 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -64,6 +64,8 @@ class G4Alpha : public G4VIon
static G4double* GetCutsInEnergy() {return theAlphaKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4Alpha::SetCuts(G4double aCut)
@@ -74,4 +76,12 @@ inline void G4Alpha::SetCuts(G4double aCut)
}
inline void G4Alpha::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAlphaLengthCut = theCutInMaxInteractionLength;
theAlphaKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Deuteron.hh,v 1.3 1999/12/15 14:51:01 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Deuteron.hh,v 1.4 2001/03/12 05:45:43 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -64,6 +64,8 @@ class G4Deuteron : public G4VIon
static G4double* GetCutsInEnergy() {return theDeuteronKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4Deuteron::SetCuts(G4double aCut)
@@ -74,6 +76,14 @@ inline void G4Deuteron::SetCuts(G4double aCut)
}
inline void G4Deuteron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theDeuteronLengthCut = theCutInMaxInteractionLength;
theDeuteronKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4GenericIon.hh,v 1.3 1999/12/15 14:51:01 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4GenericIon.hh,v 1.4 2001/03/12 05:45:43 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -61,6 +61,8 @@ class G4GenericIon : public G4VIon
static G4double* GetCutsInEnergy() {return theGenericIonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4GenericIon::SetCuts(G4double aCut)
@@ -71,4 +73,12 @@ inline void G4GenericIon::SetCuts(G4double aCut)
}
inline void G4GenericIon::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theGenericIonLengthCut = theCutInMaxInteractionLength;
theGenericIonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
+11 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4He3.hh,v 1.3 1999/12/15 14:51:01 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4He3.hh,v 1.4 2001/03/12 05:45:43 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -60,6 +60,8 @@ class G4He3 : public G4VIon
static G4double* GetCutsInEnergy() {return theHe3KineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4He3::SetCuts(G4double aCut)
@@ -69,6 +71,12 @@ inline void G4He3::SetCuts(G4double aCut)
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4He3::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theHe3LengthCut = theCutInMaxInteractionLength;
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4IonConstructor.hh,v 1.2 1999/12/15 14:51:01 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// --------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Triton.hh,v 1.3 1999/12/15 14:51:02 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Triton.hh,v 1.4 2001/03/12 05:45:43 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -65,6 +65,8 @@ class G4Triton : public G4VIon
static G4double* GetCutsInEnergy() {return theTritonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4Triton::SetCuts(G4double aCut)
@@ -75,4 +77,14 @@ inline void G4Triton::SetCuts(G4double aCut)
}
inline void G4Triton::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theTritonLengthCut = theCutInMaxInteractionLength;
theTritonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VIon.hh,v 1.3 2000/02/25 07:37:15 kurasige Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------