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
+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()