Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoE.hh,v 1.3.4.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4AntiNeutrinoE.hh,v 1.8 2001/10/28 05:05:28 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4AntiNeutrinoE : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoE theAntiNeutrinoE;
|
||||
static G4double theAntiNeutrinoELengthCut;
|
||||
static G4double* theAntiNeutrinoEKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoE(
|
||||
@@ -75,11 +73,9 @@ class G4AntiNeutrinoE : public G4VLepton
|
||||
virtual ~G4AntiNeutrinoE(){}
|
||||
|
||||
static G4AntiNeutrinoE* AntiNeutrinoEDefinition();
|
||||
static G4AntiNeutrinoE* AntiNeutrinoE(){return &theAntiNeutrinoE;}
|
||||
static G4double GetCuts() {return theAntiNeutrinoELengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theAntiNeutrinoEKineticEnergyCuts;};
|
||||
static G4AntiNeutrinoE* AntiNeutrinoE();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoMu.hh,v 1.3.4.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4AntiNeutrinoMu.hh,v 1.8 2001/10/28 05:05:28 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4AntiNeutrinoMu : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoMu theAntiNeutrinoMu;
|
||||
static G4double theAntiNeutrinoMuLengthCut;
|
||||
static G4double* theAntiNeutrinoMuKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoMu(
|
||||
@@ -75,11 +73,9 @@ class G4AntiNeutrinoMu : public G4VLepton
|
||||
virtual ~G4AntiNeutrinoMu(){}
|
||||
|
||||
static G4AntiNeutrinoMu* AntiNeutrinoMuDefinition();
|
||||
static G4AntiNeutrinoMu* AntiNeutrinoMu() {return &theAntiNeutrinoMu;}
|
||||
static G4double GetCuts() {return theAntiNeutrinoMuLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theAntiNeutrinoMuKineticEnergyCuts;};
|
||||
static G4AntiNeutrinoMu* AntiNeutrinoMu();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoTau.hh,v 1.3.4.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4AntiNeutrinoTau.hh,v 1.8 2001/10/28 05:05:28 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -54,8 +54,6 @@ class G4AntiNeutrinoTau : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoTau theAntiNeutrinoTau;
|
||||
static G4double theAntiNeutrinoTauLengthCut;
|
||||
static G4double* theAntiNeutrinoTauKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoTau(
|
||||
@@ -74,11 +72,9 @@ class G4AntiNeutrinoTau : public G4VLepton
|
||||
virtual ~G4AntiNeutrinoTau(){}
|
||||
|
||||
static G4AntiNeutrinoTau* AntiNeutrinoTauDefinition();
|
||||
static G4AntiNeutrinoTau* AntiNeutrinoTau(){return &theAntiNeutrinoTau;}
|
||||
static G4double GetCuts() {return theAntiNeutrinoTauLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theAntiNeutrinoTauKineticEnergyCuts;};
|
||||
static G4AntiNeutrinoTau* AntiNeutrinoTau();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Electron.hh,v 1.4.2.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4Electron.hh,v 1.7 2001/10/16 08:16:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -56,8 +56,6 @@ class G4Electron : public G4VLepton
|
||||
friend class G4Positron;
|
||||
private:
|
||||
static G4Electron theElectron;
|
||||
static G4double theElectronLengthCut;
|
||||
static G4double* theElectronKineticEnergyCuts;
|
||||
|
||||
protected:
|
||||
G4double ComputeLoss(G4double AtomicNumber, G4double KineticEnergy) const;
|
||||
@@ -87,34 +85,9 @@ class G4Electron : public G4VLepton
|
||||
|
||||
static G4Electron* ElectronDefinition();
|
||||
static G4Electron* Electron();
|
||||
static G4double GetCuts() {return theElectronLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theElectronKineticEnergyCuts;};
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy );
|
||||
|
||||
};
|
||||
|
||||
inline void G4Electron::SetCuts(G4double aCut)
|
||||
{
|
||||
CalcEnergyCuts(aCut);
|
||||
theElectronLengthCut = theCutInMaxInteractionLength;
|
||||
theElectronKineticEnergyCuts = theKineticEnergyCuts;
|
||||
|
||||
}
|
||||
|
||||
inline void G4Electron::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theElectronLengthCut = theCutInMaxInteractionLength;
|
||||
theElectronKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
inline G4Electron* G4Electron::Electron()
|
||||
{ return &theElectron; }
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -126,3 +99,4 @@ inline G4Electron* G4Electron::Electron()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LeptonConstructor.hh,v 1.2.4.1 2001/06/28 19:10:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4LeptonConstructor.hh,v 1.3 2001/07/11 10:01:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonMinus.hh,v 1.4.2.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4MuonMinus.hh,v 1.7 2001/10/16 08:16:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4MuonMinus : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4MuonMinus theMuonMinus;
|
||||
static G4double theMuonMinusLengthCut;
|
||||
static G4double* theMuonMinusKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4MuonMinus(
|
||||
@@ -75,33 +73,9 @@ class G4MuonMinus : public G4VLepton
|
||||
|
||||
static G4MuonMinus* MuonMinusDefinition();
|
||||
static G4MuonMinus* MuonMinus();
|
||||
static G4double GetCuts() {return theMuonMinusLengthCut;}
|
||||
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;
|
||||
}
|
||||
|
||||
inline void G4MuonMinus::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theMuonMinusLengthCut = theCutInMaxInteractionLength;
|
||||
theMuonMinusKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
|
||||
inline G4MuonMinus* G4MuonMinus::MuonMinus()
|
||||
{ return &theMuonMinus; }
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonPlus.hh,v 1.4.2.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4MuonPlus.hh,v 1.7 2001/10/16 08:16:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4MuonPlus : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4MuonPlus theMuonPlus;
|
||||
static G4double theMuonPlusLengthCut;
|
||||
static G4double* theMuonPlusKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4MuonPlus(
|
||||
@@ -76,32 +74,9 @@ class G4MuonPlus : public G4VLepton
|
||||
|
||||
static G4MuonPlus* MuonPlusDefinition();
|
||||
static G4MuonPlus* MuonPlus();
|
||||
static G4double GetCuts() {return theMuonPlusLengthCut;}
|
||||
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;
|
||||
}
|
||||
|
||||
inline void G4MuonPlus::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theMuonPlusLengthCut = theCutInMaxInteractionLength;
|
||||
theMuonPlusKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
inline G4MuonPlus* G4MuonPlus::MuonPlus()
|
||||
{ return &theMuonPlus; }
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoE.hh,v 1.3.4.2 2001/06/28 20:19:06 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4NeutrinoE.hh,v 1.8 2001/10/28 05:05:29 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4NeutrinoE : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoE theNeutrinoE;
|
||||
static G4double theNeutrinoELengthCut;
|
||||
static G4double* theNeutrinoEKineticEnergyCuts;
|
||||
|
||||
private:
|
||||
G4NeutrinoE(
|
||||
@@ -75,11 +73,9 @@ class G4NeutrinoE : public G4VLepton
|
||||
virtual ~G4NeutrinoE(){}
|
||||
|
||||
static G4NeutrinoE* NeutrinoEDefinition();
|
||||
static G4NeutrinoE* NeutrinoE(){return &theNeutrinoE;}
|
||||
static G4double GetCuts() {return theNeutrinoELengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theNeutrinoEKineticEnergyCuts;};
|
||||
static G4NeutrinoE* NeutrinoE();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoMu.hh,v 1.3.4.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4NeutrinoMu.hh,v 1.8 2001/10/28 05:05:29 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -54,8 +54,6 @@ class G4NeutrinoMu : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoMu theNeutrinoMu;
|
||||
static G4double theNeutrinoMuLengthCut;
|
||||
static G4double* theNeutrinoMuKineticEnergyCuts;
|
||||
|
||||
private:
|
||||
G4NeutrinoMu(
|
||||
@@ -74,11 +72,9 @@ class G4NeutrinoMu : public G4VLepton
|
||||
virtual ~G4NeutrinoMu(){}
|
||||
|
||||
static G4NeutrinoMu* NeutrinoMuDefinition();
|
||||
static G4NeutrinoMu* NeutrinoMu() {return &theNeutrinoMu;}
|
||||
static G4double GetCuts() {return theNeutrinoMuLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theNeutrinoMuKineticEnergyCuts;};
|
||||
static G4NeutrinoMu* NeutrinoMu();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoTau.hh,v 1.3.4.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4NeutrinoTau.hh,v 1.8 2001/10/28 05:05:29 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -53,8 +53,6 @@ class G4NeutrinoTau : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoTau theNeutrinoTau;
|
||||
static G4double theNeutrinoTauLengthCut;
|
||||
static G4double* theNeutrinoTauKineticEnergyCuts;
|
||||
|
||||
private:
|
||||
G4NeutrinoTau(
|
||||
@@ -73,11 +71,9 @@ class G4NeutrinoTau : public G4VLepton
|
||||
virtual ~G4NeutrinoTau(){}
|
||||
|
||||
static G4NeutrinoTau* NeutrinoTauDefinition();
|
||||
static G4NeutrinoTau* NeutrinoTau() {return &theNeutrinoTau;}
|
||||
static G4double GetCuts() {return theNeutrinoTauLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theNeutrinoTauKineticEnergyCuts;};
|
||||
static G4NeutrinoTau* NeutrinoTau();
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Positron.hh,v 1.4.2.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4Positron.hh,v 1.7 2001/10/16 08:16:16 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -59,9 +59,7 @@ class G4Positron : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4Positron thePositron;
|
||||
static G4double thePositronLengthCut;
|
||||
static G4double* thePositronKineticEnergyCuts;
|
||||
|
||||
|
||||
protected:
|
||||
G4double ComputeLoss(G4double AtomicNumber, G4double KineticEnergy) const;
|
||||
|
||||
@@ -99,31 +97,8 @@ class G4Positron : public G4VLepton
|
||||
|
||||
static G4Positron* PositronDefinition();
|
||||
static G4Positron* Positron();
|
||||
static G4double GetCuts() {return thePositronLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return thePositronKineticEnergyCuts;};
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy );
|
||||
};
|
||||
|
||||
inline void G4Positron::SetCuts(G4double aCut)
|
||||
{
|
||||
CalcEnergyCuts(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
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauMinus.hh,v 1.4.2.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4TauMinus.hh,v 1.7 2001/10/16 08:16:16 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -55,8 +55,6 @@ class G4TauMinus : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4TauMinus theTauMinus;
|
||||
static G4double theTauMinusLengthCut;
|
||||
static G4double* theTauMinusKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4TauMinus(
|
||||
@@ -76,32 +74,10 @@ class G4TauMinus : public G4VLepton
|
||||
|
||||
static G4TauMinus* TauMinusDefinition();
|
||||
static G4TauMinus* TauMinus();
|
||||
static G4double GetCuts() {return theTauMinusLengthCut;}
|
||||
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;
|
||||
}
|
||||
|
||||
inline void G4TauMinus::RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy )
|
||||
{
|
||||
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
|
||||
theTauMinusLengthCut = theCutInMaxInteractionLength;
|
||||
theTauMinusKineticEnergyCuts = theKineticEnergyCuts;
|
||||
}
|
||||
|
||||
|
||||
inline G4TauMinus* G4TauMinus::TauMinus()
|
||||
{ return &theTauMinus; }
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauPlus.hh,v 1.4.2.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4TauPlus.hh,v 1.7 2001/10/16 08:16:16 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -56,8 +56,6 @@ class G4TauPlus : public G4VLepton
|
||||
{
|
||||
private:
|
||||
static G4TauPlus theTauPlus;
|
||||
static G4double theTauPlusLengthCut;
|
||||
static G4double* theTauPlusKineticEnergyCuts;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4TauPlus(
|
||||
@@ -77,32 +75,9 @@ class G4TauPlus : public G4VLepton
|
||||
|
||||
static G4TauPlus* TauPlusDefinition();
|
||||
static G4TauPlus* TauPlus();
|
||||
static G4double GetCuts() {return theTauPlusLengthCut;}
|
||||
static G4double* GetCutsInEnergy() {return theTauPlusKineticEnergyCuts;};
|
||||
|
||||
virtual void SetCuts(G4double aCut);
|
||||
virtual void RestoreCuts(G4double cutInLength,
|
||||
const G4double* cutInEnergy );
|
||||
};
|
||||
|
||||
inline void G4TauPlus::SetCuts(G4double aCut)
|
||||
{
|
||||
CalcEnergyCuts(aCut);
|
||||
theTauPlusLengthCut = theCutInMaxInteractionLength;
|
||||
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; }
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VLepton.hh,v 1.2.4.2 2001/06/28 20:19:07 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VLepton.hh,v 1.3 2001/07/11 10:01:53 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user