Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Alpha.hh,v 1.4.2.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Alpha.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Alpha : public G4VIon
{
private:
static G4Alpha theAlpha;
static G4double theAlphaLengthCut;
static G4double* theAlphaKineticEnergyCuts;
public:
G4Alpha(
@@ -73,29 +71,7 @@ class G4Alpha : public G4VIon
virtual ~G4Alpha();
static G4Alpha* AlphaDefinition();
static G4Alpha* Alpha(){return &theAlpha;}
static G4double GetCuts() {return theAlphaLengthCut;}
static G4double* GetCutsInEnergy() {return theAlphaKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Alpha* Alpha();
};
inline void G4Alpha::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAlphaLengthCut = theCutInMaxInteractionLength;
theAlphaKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Alpha::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAlphaLengthCut = theCutInMaxInteractionLength;
theAlphaKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Deuteron.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Deuteron.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Deuteron : public G4VIon
{
private:
static G4Deuteron theDeuteron;
static G4double theDeuteronLengthCut;
static G4double* theDeuteronKineticEnergyCuts;
public:
G4Deuteron(
@@ -73,31 +71,9 @@ class G4Deuteron : public G4VIon
virtual ~G4Deuteron();
static G4Deuteron* DeuteronDefinition();
static G4Deuteron* Deuteron(){return &theDeuteron;}
static G4double GetCuts() {return theDeuteronLengthCut;}
static G4double* GetCutsInEnergy() {return theDeuteronKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Deuteron* Deuteron();
};
inline void G4Deuteron::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theDeuteronLengthCut = theCutInMaxInteractionLength;
theDeuteronKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Deuteron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theDeuteronLengthCut = theCutInMaxInteractionLength;
theDeuteronKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4GenericIon.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4GenericIon.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -52,8 +52,6 @@ class G4GenericIon : public G4VIon
{
private:
static G4GenericIon theGenericIon;
static G4double theGenericIonLengthCut;
static G4double* theGenericIonKineticEnergyCuts;
public:
G4GenericIon(
@@ -70,29 +68,7 @@ class G4GenericIon : public G4VIon
virtual ~G4GenericIon();
static G4GenericIon* GenericIonDefinition();
static G4GenericIon* GenericIon(){return &theGenericIon;}
static G4double GetCuts() {return theGenericIonLengthCut;}
static G4double* GetCutsInEnergy() {return theGenericIonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4GenericIon* GenericIon();
};
inline void G4GenericIon::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theGenericIonLengthCut = theCutInMaxInteractionLength;
theGenericIonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4GenericIon::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theGenericIonLengthCut = theCutInMaxInteractionLength;
theGenericIonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
+4 -25
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4He3.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4He3.hh,v 1.7 2001/10/16 08:16:06 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -51,8 +51,6 @@ class G4He3 : public G4VIon
{
private:
static G4He3 theHe3;
static G4double theHe3LengthCut;
static G4double* theHe3KineticEnergyCuts;
public:
G4He3(
@@ -69,28 +67,9 @@ class G4He3 : public G4VIon
virtual ~G4He3();
static G4He3* He3Definition();
static G4He3* He3() {return &theHe3;}
static G4double GetCuts() {return theHe3LengthCut;}
static G4double* GetCutsInEnergy() {return theHe3KineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4He3* He3();
};
inline void G4He3::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theHe3LengthCut = theCutInMaxInteractionLength;
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4He3::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theHe3LengthCut = theCutInMaxInteractionLength;
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonConstructor.hh,v 1.2.4.1 2001/06/28 19:10:48 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IonConstructor.hh,v 1.3 2001/07/11 10:01:43 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Triton.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Triton.hh,v 1.7 2001/10/16 08:16:06 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Triton : public G4VIon
{
private:
static G4Triton theTriton;
static G4double theTritonLengthCut;
static G4double* theTritonKineticEnergyCuts;
public:
G4Triton(
@@ -74,31 +72,9 @@ class G4Triton : public G4VIon
virtual ~G4Triton();
static G4Triton* TritonDefinition();
static G4Triton* Triton() {return &theTriton;}
static G4double GetCuts() {return theTritonLengthCut;}
static G4double* GetCutsInEnergy() {return theTritonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Triton* Triton();
};
inline void G4Triton::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theTritonLengthCut = theCutInMaxInteractionLength;
theTritonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Triton::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theTritonLengthCut = theCutInMaxInteractionLength;
theTritonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VIon.hh,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VIon.hh,v 1.4 2001/07/11 10:01:44 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------