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
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4AntiNeutrinoE.hh,v 1.3 1999/12/15 14:51:07 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4AntiNeutrinoMu.hh,v 1.3 1999/12/15 14:51:07 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4AntiNeutrinoTau.hh,v 1.3 1999/12/15 14:51:07 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
+13 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Electron.hh,v 1.3 1999/12/15 14:51:07 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Electron.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -77,6 +77,9 @@ class G4Electron : public G4VLepton
static G4double* GetCutsInEnergy() {return theElectronKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4Electron::SetCuts(G4double aCut)
@@ -87,6 +90,14 @@ inline void G4Electron::SetCuts(G4double aCut)
}
inline void G4Electron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theElectronLengthCut = theCutInMaxInteractionLength;
theElectronKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4Electron* G4Electron::Electron()
{ return &theElectron; }
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LeptonConstructor.hh,v 1.2 1999/12/15 14:51:08 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: G4MuonMinus.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4MuonMinus.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -65,16 +65,27 @@ class G4MuonMinus : public G4VLepton
static G4double* GetCutsInEnergy() {return theMuonMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4MuonMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theMuonMinusLengthCut = theCutInMaxInteractionLength;
theMuonMinusKineticEnergyCuts = theKineticEnergyCuts;
theMuonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4MuonMinus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theMuonMinusLengthCut = theCutInMaxInteractionLength;
theMuonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4MuonMinus* G4MuonMinus::MuonMinus()
{ return &theMuonMinus; }
+14 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4MuonPlus.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4MuonPlus.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -66,14 +66,24 @@ class G4MuonPlus : public G4VLepton
static G4double* GetCutsInEnergy() {return theMuonPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4MuonPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theMuonPlusLengthCut = theCutInMaxInteractionLength;
theMuonPlusKineticEnergyCuts = theKineticEnergyCuts;
theMuonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4MuonPlus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theMuonPlusLengthCut = theCutInMaxInteractionLength;
theMuonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4MuonPlus* G4MuonPlus::MuonPlus()
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NeutrinoE.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NeutrinoMu.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NeutrinoTau.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
+14 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Positron.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Positron.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -89,6 +89,8 @@ class G4Positron : public G4VLepton
static G4double* GetCutsInEnergy() {return thePositronKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4Positron::SetCuts(G4double aCut)
@@ -97,8 +99,18 @@ inline void G4Positron::SetCuts(G4double aCut)
thePositronLengthCut = theCutInMaxInteractionLength;
thePositronKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Positron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
thePositronLengthCut = theCutInMaxInteractionLength;
thePositronKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4Positron* G4Positron::Positron()
{ return &thePositron; }
#endif
+14 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TauMinus.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4TauMinus.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -66,16 +66,26 @@ class G4TauMinus : public G4VLepton
static G4double* GetCutsInEnergy() {return theTauMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4TauMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theTauMinusLengthCut = theCutInMaxInteractionLength;
theTauMinusKineticEnergyCuts = theKineticEnergyCuts;
theTauMinusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4TauMinus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theTauMinusLengthCut = theCutInMaxInteractionLength;
theTauMinusKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4TauMinus* G4TauMinus::TauMinus()
{ return &theTauMinus; }
#endif
+13 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TauPlus.hh,v 1.3 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4TauPlus.hh,v 1.4 2001/03/12 05:47:38 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------
@@ -67,6 +67,8 @@ class G4TauPlus : public G4VLepton
static G4double* GetCutsInEnergy() {return theTauPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4TauPlus::SetCuts(G4double aCut)
@@ -76,6 +78,15 @@ inline void G4TauPlus::SetCuts(G4double aCut)
theTauPlusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4TauPlus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theTauPlusLengthCut = theCutInMaxInteractionLength;
theTauPlusKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4TauPlus* G4TauPlus::TauPlus()
{ return &theTauPlus; }
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VLepton.hh,v 1.2 1999/12/15 14:51:08 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// ------------------------------------------------------------