Import Geant4 3.1.0 source tree
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4BosonConstructor.hh,v 1.2 1999/12/15 14:50:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ChargedGeantino.hh,v 1.3 1999/12/15 14:50:52 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: G4Gamma.hh,v 1.3 1999/12/15 14:50:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// $Id: G4Gamma.hh,v 1.4 2001/03/12 05:49:03 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -106,6 +106,8 @@ class G4Gamma : public G4VBoson
|
||||
static G4double* GetCutsInEnergy() {return theGammaKineticEnergyCuts;};
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy );
|
||||
};
|
||||
|
||||
inline void G4Gamma::SetCuts(G4double aCut)
|
||||
@@ -113,9 +115,17 @@ inline void G4Gamma::SetCuts(G4double aCut)
|
||||
CalcEnergyCuts(aCut);
|
||||
theGammaLengthCut = theCutInMaxInteractionLength;
|
||||
theGammaKineticEnergyCuts = theKineticEnergyCuts;
|
||||
|
||||
}
|
||||
|
||||
inline void G4Gamma::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theGammaLengthCut = theCutInMaxInteractionLength;
|
||||
theGammaKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
|
||||
inline G4Gamma* G4Gamma::Gamma()
|
||||
{ return &theGamma; }
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Geantino.hh,v 1.3 1999/12/15 14:50:52 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: G4OpticalPhoton.hh,v 1.3 1999/12/15 14:50:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// $Id: G4OpticalPhoton.hh,v 1.4 2001/03/12 05:49:03 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -66,9 +66,21 @@ class G4OpticalPhoton: public G4VBoson
|
||||
static G4double* GetCutsInEnergy() {return theOpticalPhotonKineticEnergyCuts;}
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy );
|
||||
};
|
||||
|
||||
inline void G4OpticalPhoton::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theOpticalPhotonLengthCut = theCutInMaxInteractionLength;
|
||||
theOpticalPhotonKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
inline G4OpticalPhoton* G4OpticalPhoton::OpticalPhoton()
|
||||
{ return &theOpticalPhoton; }
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VBoson.hh,v 1.2 1999/12/15 14:50:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user