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: G4OpticalPhoton.hh,v 1.4.2.2 2001/06/28 20:18:55 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4OpticalPhoton.hh,v 1.7 2001/10/16 08:15:41 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4OpticalPhoton: public G4VBoson
{
private:
static G4OpticalPhoton theOpticalPhoton;
static G4double theOpticalPhotonLengthCut;
static G4double* theOpticalPhotonKineticEnergyCuts;
private:
G4OpticalPhoton (
@@ -76,25 +74,8 @@ class G4OpticalPhoton: public G4VBoson
static G4OpticalPhoton* OpticalPhotonDefinition();
static G4OpticalPhoton* OpticalPhoton();
static G4double GetCuts() {return theOpticalPhotonLengthCut;}
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