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: G4AntiLambda.hh,v 1.4.4.2 2001/06/28 20:18:56 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiLambda.hh,v 1.9 2001/10/28 05:06:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiLambda : public G4VBaryon
{
private:
static G4AntiLambda theAntiLambda;
static G4double theAntiLambdaLengthCut;
static G4double* theAntiLambdaKineticEnergyCuts;
private:
G4AntiLambda(
@@ -73,11 +71,9 @@ class G4AntiLambda : public G4VBaryon
virtual ~G4AntiLambda(){}
static G4AntiLambda* AntiLambdaDefinition();
static G4AntiLambda* AntiLambda(){return &theAntiLambda;}
static G4double GetCuts() {return theAntiLambdaLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiLambdaKineticEnergyCuts;};
static G4AntiLambda* AntiLambda();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiLambdacPlus.hh,v 1.4.4.2 2001/06/28 20:18:56 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiLambdacPlus.hh,v 1.6 2001/10/15 10:09:24 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiLambdacPlus : public G4VBaryon
{
private:
static G4AntiLambdacPlus theAntiLambdacPlus;
static G4double theAntiLambdacPlusLengthCut;
static G4double* theAntiLambdacPlusKineticEnergyCuts;
private:
G4AntiLambdacPlus(
@@ -75,17 +73,6 @@ class G4AntiLambdacPlus : public G4VBaryon
static G4AntiLambdacPlus* AntiLambdacPlusDefinition();
static G4AntiLambdacPlus* AntiLambdacPlus();
static G4double GetCuts() {return theAntiLambdacPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiLambdacPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4AntiLambdacPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiLambdacPlusLengthCut = theCutInMaxInteractionLength;
theAntiLambdacPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiNeutron.hh,v 1.5.2.2 2001/06/28 20:18:56 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiNeutron.hh,v 1.10 2001/10/28 05:06:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// ----------------------------------------------------------------
// Each class inheriting from G4VBaryon
@@ -55,8 +54,6 @@ class G4AntiNeutron : public G4VBaryon
{
private:
static G4AntiNeutron theAntiNeutron;
static G4double theAntiNeutronLengthCut;
static G4double* theAntiNeutronKineticEnergyCuts;
private: // constructors are hide as private
G4AntiNeutron(
@@ -75,21 +72,9 @@ class G4AntiNeutron : public G4VBaryon
virtual ~G4AntiNeutron(){}
static G4AntiNeutron* AntiNeutronDefinition();
static G4AntiNeutron* AntiNeutron(){return &theAntiNeutron;}
static G4double GetCuts() {return theAntiNeutronLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiNeutronKineticEnergyCuts;};
static G4AntiNeutron* AntiNeutron();
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
virtual void CalcEnergyCuts( const G4Material* );
};
inline
void G4AntiNeutron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAntiNeutronLengthCut = theCutInMaxInteractionLength;
theAntiNeutronKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiOmegaMinus.hh,v 1.4.4.2 2001/06/28 20:18:56 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiOmegaMinus.hh,v 1.7 2001/10/16 08:15:45 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiOmegaMinus : public G4VBaryon
{
private:
static G4AntiOmegaMinus theAntiOmegaMinus;
static G4double theAntiOmegaMinusLengthCut;
static G4double* theAntiOmegaMinusKineticEnergyCuts;
private:
G4AntiOmegaMinus(
@@ -73,20 +71,8 @@ class G4AntiOmegaMinus : public G4VBaryon
virtual ~G4AntiOmegaMinus(){}
static G4AntiOmegaMinus* AntiOmegaMinusDefinition();
static G4AntiOmegaMinus* AntiOmegaMinus() {return &theAntiOmegaMinus;}
static G4double GetCuts() {return theAntiOmegaMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiOmegaMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4AntiOmegaMinus* AntiOmegaMinus();
};
inline void G4AntiOmegaMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiOmegaMinusLengthCut = theCutInMaxInteractionLength;
theAntiOmegaMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiOmegacZero.hh,v 1.4.4.2 2001/06/28 20:18:56 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiOmegacZero.hh,v 1.8 2001/10/28 05:06:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiOmegacZero : public G4VBaryon
{
private:
static G4AntiOmegacZero theAntiOmegacZero;
static G4double theAntiOmegacZeroLengthCut;
static G4double* theAntiOmegacZeroKineticEnergyCuts;
private:
G4AntiOmegacZero(
@@ -75,10 +73,8 @@ class G4AntiOmegacZero : public G4VBaryon
static G4AntiOmegacZero* AntiOmegacZeroDefinition();
static G4AntiOmegacZero* AntiOmegacZero();
static G4double GetCuts() {return theAntiOmegacZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiOmegacZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiProton.hh,v 1.5.2.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiProton.hh,v 1.8 2001/10/16 08:15:46 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4AntiProton : public G4VBaryon
{
private:
static G4AntiProton theAntiProton;
static G4double theAntiProtonLengthCut;
static G4double* theAntiProtonKineticEnergyCuts;
private: // constructors are hide as private
@@ -77,32 +75,8 @@ class G4AntiProton : public G4VBaryon
static G4AntiProton* AntiProtonDefinition();
static G4AntiProton* AntiProton();
static G4double GetCuts() {return theAntiProtonLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiProtonKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
};
inline void G4AntiProton::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiProtonLengthCut = theCutInMaxInteractionLength;
theAntiProtonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4AntiProton::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAntiProtonLengthCut = theCutInMaxInteractionLength;
theAntiProtonKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4AntiProton* G4AntiProton::AntiProton()
{ return &theAntiProton; }
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaMinus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaMinus.hh,v 1.7 2001/10/16 08:15:46 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiSigmaMinus : public G4VBaryon
{
private:
static G4AntiSigmaMinus theAntiSigmaMinus;
static G4double theAntiSigmaMinusLengthCut;
static G4double* theAntiSigmaMinusKineticEnergyCuts;
private:
G4AntiSigmaMinus(
@@ -73,20 +71,9 @@ class G4AntiSigmaMinus : public G4VBaryon
virtual ~G4AntiSigmaMinus(){}
static G4AntiSigmaMinus* AntiSigmaMinusDefinition();
static G4AntiSigmaMinus* AntiSigmaMinus() {return &theAntiSigmaMinus;}
static G4double GetCuts() {return theAntiSigmaMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmaMinusKineticEnergyCuts;};
static G4AntiSigmaMinus* AntiSigmaMinus();
virtual void SetCuts(G4double aCut);
};
inline void G4AntiSigmaMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiSigmaMinusLengthCut = theCutInMaxInteractionLength;
theAntiSigmaMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaPlus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaPlus.hh,v 1.7 2001/10/16 08:15:47 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiSigmaPlus : public G4VBaryon
{
private:
static G4AntiSigmaPlus theAntiSigmaPlus;
static G4double theAntiSigmaPlusLengthCut;
static G4double* theAntiSigmaPlusKineticEnergyCuts;
private:
G4AntiSigmaPlus(
@@ -73,20 +71,8 @@ class G4AntiSigmaPlus : public G4VBaryon
virtual ~G4AntiSigmaPlus(){}
static G4AntiSigmaPlus* AntiSigmaPlusDefinition();
static G4AntiSigmaPlus* AntiSigmaPlus() {return &theAntiSigmaPlus;}
static G4double GetCuts() {return theAntiSigmaPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmaPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4AntiSigmaPlus* AntiSigmaPlus();
};
inline void G4AntiSigmaPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiSigmaPlusLengthCut = theCutInMaxInteractionLength;
theAntiSigmaPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaZero.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaZero.hh,v 1.9 2001/10/28 05:08:20 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiSigmaZero : public G4VBaryon
{
private:
static G4AntiSigmaZero theAntiSigmaZero;
static G4double theAntiSigmaZeroLengthCut;
static G4double* theAntiSigmaZeroKineticEnergyCuts;
private:
G4AntiSigmaZero(
@@ -73,11 +71,9 @@ class G4AntiSigmaZero : public G4VBaryon
virtual ~G4AntiSigmaZero(){}
static G4AntiSigmaZero* AntiSigmaZeroDefinition();
static G4AntiSigmaZero* AntiSigmaZero() {return &theAntiSigmaZero;}
static G4double GetCuts() {return theAntiSigmaZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmaZeroKineticEnergyCuts;};
static G4AntiSigmaZero* AntiSigmaZero();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacPlus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacPlus.hh,v 1.6 2001/10/15 10:09:25 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiSigmacPlus : public G4VBaryon
{
private:
static G4AntiSigmacPlus theAntiSigmacPlus;
static G4double theAntiSigmacPlusLengthCut;
static G4double* theAntiSigmacPlusKineticEnergyCuts;
private:
G4AntiSigmacPlus(
@@ -75,19 +73,7 @@ class G4AntiSigmacPlus : public G4VBaryon
static G4AntiSigmacPlus* AntiSigmacPlusDefinition();
static G4AntiSigmacPlus* AntiSigmacPlus();
static G4double GetCuts() {return theAntiSigmacPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmacPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4AntiSigmacPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiSigmacPlusLengthCut = theCutInMaxInteractionLength;
theAntiSigmacPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacPlusPlus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacPlusPlus.hh,v 1.6 2001/10/15 10:09:26 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiSigmacPlusPlus : public G4VBaryon
{
private:
static G4AntiSigmacPlusPlus theAntiSigmacPlusPlus;
static G4double theAntiSigmacPlusPlusLengthCut;
static G4double* theAntiSigmacPlusPlusKineticEnergyCuts;
private:
G4AntiSigmacPlusPlus(
@@ -75,19 +73,7 @@ class G4AntiSigmacPlusPlus : public G4VBaryon
static G4AntiSigmacPlusPlus* AntiSigmacPlusPlusDefinition();
static G4AntiSigmacPlusPlus* AntiSigmacPlusPlus();
static G4double GetCuts() {return theAntiSigmacPlusPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmacPlusPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4AntiSigmacPlusPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiSigmacPlusPlusLengthCut = theCutInMaxInteractionLength;
theAntiSigmacPlusPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacZero.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacZero.hh,v 1.8 2001/10/28 05:08:20 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiSigmacZero : public G4VBaryon
{
private:
static G4AntiSigmacZero theAntiSigmacZero;
static G4double theAntiSigmacZeroLengthCut;
static G4double* theAntiSigmacZeroKineticEnergyCuts;
private:
G4AntiSigmacZero(
@@ -75,10 +73,8 @@ class G4AntiSigmacZero : public G4VBaryon
static G4AntiSigmacZero* AntiSigmacZeroDefinition();
static G4AntiSigmacZero* AntiSigmacZero();
static G4double GetCuts() {return theAntiSigmacZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiSigmacZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXiMinus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXiMinus.hh,v 1.7 2001/10/16 08:15:47 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiXiMinus : public G4VBaryon
{
private:
static G4AntiXiMinus theAntiXiMinus;
static G4double theAntiXiMinusLengthCut;
static G4double* theAntiXiMinusKineticEnergyCuts;
private:
G4AntiXiMinus(
@@ -73,20 +71,9 @@ class G4AntiXiMinus : public G4VBaryon
virtual ~G4AntiXiMinus(){}
static G4AntiXiMinus* AntiXiMinusDefinition();
static G4AntiXiMinus* AntiXiMinus(){return &theAntiXiMinus;}
static G4double GetCuts() {return theAntiXiMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiXiMinusKineticEnergyCuts;};
static G4AntiXiMinus* AntiXiMinus();
virtual void SetCuts(G4double aCut);
};
inline void G4AntiXiMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiXiMinusLengthCut = theCutInMaxInteractionLength;
theAntiXiMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXiZero.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXiZero.hh,v 1.9 2001/10/28 05:08:20 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiXiZero : public G4VBaryon
{
private:
static G4AntiXiZero theAntiXiZero;
static G4double theAntiXiZeroLengthCut;
static G4double* theAntiXiZeroKineticEnergyCuts;
private:
G4AntiXiZero(
@@ -73,11 +71,9 @@ class G4AntiXiZero : public G4VBaryon
virtual ~G4AntiXiZero(){}
static G4AntiXiZero* AntiXiZeroDefinition();
static G4AntiXiZero* AntiXiZero() {return &theAntiXiZero;}
static G4double GetCuts() {return theAntiXiZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiXiZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4AntiXiZero* AntiXiZero();
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXicPlus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXicPlus.hh,v 1.6 2001/10/15 10:09:26 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiXicPlus : public G4VBaryon
{
private:
static G4AntiXicPlus theAntiXicPlus;
static G4double theAntiXicPlusLengthCut;
static G4double* theAntiXicPlusKineticEnergyCuts;
private:
G4AntiXicPlus(
@@ -75,19 +73,7 @@ class G4AntiXicPlus : public G4VBaryon
static G4AntiXicPlus* AntiXicPlusDefinition();
static G4AntiXicPlus* AntiXicPlus();
static G4double GetCuts() {return theAntiXicPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiXicPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4AntiXicPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAntiXicPlusLengthCut = theCutInMaxInteractionLength;
theAntiXicPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXicZero.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXicZero.hh,v 1.8 2001/10/28 05:08:20 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4AntiXicZero : public G4VBaryon
{
private:
static G4AntiXicZero theAntiXicZero;
static G4double theAntiXicZeroLengthCut;
static G4double* theAntiXicZeroKineticEnergyCuts;
private:
G4AntiXicZero(
@@ -75,10 +73,8 @@ class G4AntiXicZero : public G4VBaryon
static G4AntiXicZero* AntiXicZeroDefinition();
static G4AntiXicZero* AntiXicZero();
static G4double GetCuts() {return theAntiXicZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiXicZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BaryonConstructor.hh,v 1.2.4.1 2001/06/28 19:10:39 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BaryonConstructor.hh,v 1.3 2001/07/11 10:01:35 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Lambda.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Lambda.hh,v 1.9 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4Lambda : public G4VBaryon
{
private:
static G4Lambda theLambda;
static G4double theLambdaLengthCut;
static G4double* theLambdaKineticEnergyCuts;
private:
G4Lambda(
@@ -73,11 +71,10 @@ class G4Lambda : public G4VBaryon
virtual ~G4Lambda(){}
static G4Lambda* LambdaDefinition();
static G4Lambda* Lambda(){return &theLambda;}
static G4double GetCuts() {return theLambdaLengthCut;}
static G4double* GetCutsInEnergy() {return theLambdaKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4Lambda* Lambda();
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4LambdacPlus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4LambdacPlus.hh,v 1.6 2001/10/15 10:09:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4LambdacPlus : public G4VBaryon
{
private:
static G4LambdacPlus theLambdacPlus;
static G4double theLambdacPlusLengthCut;
static G4double* theLambdacPlusKineticEnergyCuts;
private:
G4LambdacPlus(
@@ -75,18 +73,6 @@ class G4LambdacPlus : public G4VBaryon
static G4LambdacPlus* LambdacPlusDefinition();
static G4LambdacPlus* LambdacPlus();
static G4double GetCuts() {return theLambdacPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theLambdacPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4LambdacPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theLambdacPlusLengthCut = theCutInMaxInteractionLength;
theLambdacPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Neutron.hh,v 1.6.2.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Neutron.hh,v 1.11 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
//----------------------------------------------------------------
// Each class inheriting from G4VBaryon
@@ -55,8 +54,6 @@ class G4Neutron : public G4VBaryon
{
private:
static G4Neutron theNeutron;
static G4double theNeutronLengthCut;
static G4double* theNeutronKineticEnergyCuts;
private:
G4Neutron(
@@ -75,13 +72,7 @@ class G4Neutron : public G4VBaryon
virtual ~G4Neutron(){}
static G4Neutron* NeutronDefinition();
static G4Neutron* Neutron(){return &theNeutron;}
static G4double GetCuts() {return theNeutronLengthCut;}
static G4double* GetCutsInEnergy() {return theNeutronKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Neutron* Neutron();
public: //With Description
G4int GetAtomicNumber() const;
@@ -91,6 +82,8 @@ class G4Neutron : public G4VBaryon
void SetExcitationEnergy(G4double ){}
// These two methods are dummy because all particles derived from
// G4Neutron is "groud state" nuclei
virtual void CalcEnergyCuts( const G4Material* );
};
inline
@@ -105,13 +98,4 @@ inline
return 1;
}
inline
void G4Neutron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theNeutronLengthCut = theCutInMaxInteractionLength;
theNeutronKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OmegaMinus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4OmegaMinus.hh,v 1.7 2001/10/16 08:15:49 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4OmegaMinus : public G4VBaryon
{
private:
static G4OmegaMinus theOmegaMinus;
static G4double theOmegaMinusLengthCut;
static G4double* theOmegaMinusKineticEnergyCuts;
private:
G4OmegaMinus(
@@ -73,20 +71,8 @@ class G4OmegaMinus : public G4VBaryon
virtual ~G4OmegaMinus(){}
static G4OmegaMinus* OmegaMinusDefinition();
static G4OmegaMinus* OmegaMinus() {return &theOmegaMinus;}
static G4double GetCuts() {return theOmegaMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theOmegaMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4OmegaMinus* OmegaMinus();
};
inline void G4OmegaMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theOmegaMinusLengthCut = theCutInMaxInteractionLength;
theOmegaMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OmegacZero.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4OmegacZero.hh,v 1.8 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4OmegacZero : public G4VBaryon
{
private:
static G4OmegacZero theOmegacZero;
static G4double theOmegacZeroLengthCut;
static G4double* theOmegacZeroKineticEnergyCuts;
private:
G4OmegacZero(
@@ -75,10 +73,8 @@ class G4OmegacZero : public G4VBaryon
static G4OmegacZero* OmegacZeroDefinition();
static G4OmegacZero* OmegacZero();
static G4double GetCuts() {return theOmegacZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theOmegacZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Proton.hh,v 1.6.2.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Proton.hh,v 1.9 2001/10/16 08:15:50 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Proton : public G4VBaryon
{
private:
static G4Proton theProton;
static G4double theProtonLengthCut;
static G4double* theProtonKineticEnergyCuts;
private:
G4Proton(
@@ -76,12 +74,6 @@ class G4Proton : public G4VBaryon
static G4Proton* ProtonDefinition();
static G4Proton* Proton();
static G4double GetCuts() {return theProtonLengthCut;}
static G4double* GetCutsInEnergy() {return theProtonKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
public: //With Description
G4int GetAtomicNumber() const;
@@ -94,23 +86,6 @@ class G4Proton : public G4VBaryon
};
inline void G4Proton::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theProtonLengthCut = theCutInMaxInteractionLength;
theProtonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Proton::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theProtonLengthCut = theCutInMaxInteractionLength;
theProtonKineticEnergyCuts = theKineticEnergyCuts;
}
inline G4Proton* G4Proton::Proton()
{ return &theProton; }
inline
G4int G4Proton::GetAtomicNumber() const
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaMinus.hh,v 1.4.4.2 2001/06/28 20:18:57 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaMinus.hh,v 1.7 2001/10/16 08:15:50 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4SigmaMinus : public G4VBaryon
{
private:
static G4SigmaMinus theSigmaMinus;
static G4double theSigmaMinusLengthCut;
static G4double* theSigmaMinusKineticEnergyCuts;
private:
G4SigmaMinus(
@@ -73,20 +71,8 @@ class G4SigmaMinus : public G4VBaryon
virtual ~G4SigmaMinus(){}
static G4SigmaMinus* SigmaMinusDefinition();
static G4SigmaMinus* SigmaMinus() {return &theSigmaMinus;}
static G4double GetCuts() {return theSigmaMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmaMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4SigmaMinus* SigmaMinus();
};
inline void G4SigmaMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theSigmaMinusLengthCut = theCutInMaxInteractionLength;
theSigmaMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaPlus.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaPlus.hh,v 1.7 2001/10/16 08:15:51 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4SigmaPlus : public G4VBaryon
{
private:
static G4SigmaPlus theSigmaPlus;
static G4double theSigmaPlusLengthCut;
static G4double* theSigmaPlusKineticEnergyCuts;
private:
G4SigmaPlus(
@@ -73,20 +71,8 @@ class G4SigmaPlus : public G4VBaryon
virtual ~G4SigmaPlus(){}
static G4SigmaPlus* SigmaPlusDefinition();
static G4SigmaPlus* SigmaPlus() {return &theSigmaPlus;}
static G4double GetCuts() {return theSigmaPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmaPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4SigmaPlus* SigmaPlus();
};
inline void G4SigmaPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theSigmaPlusLengthCut = theCutInMaxInteractionLength;
theSigmaPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaZero.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaZero.hh,v 1.9 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4SigmaZero : public G4VBaryon
{
private:
static G4SigmaZero theSigmaZero;
static G4double theSigmaZeroLengthCut;
static G4double* theSigmaZeroKineticEnergyCuts;
private:
G4SigmaZero(
@@ -73,11 +71,9 @@ class G4SigmaZero : public G4VBaryon
virtual ~G4SigmaZero(){}
static G4SigmaZero* SigmaZeroDefinition();
static G4SigmaZero* SigmaZero(){return &theSigmaZero;}
static G4double GetCuts() {return theSigmaZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmaZeroKineticEnergyCuts;};
static G4SigmaZero* SigmaZero();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacPlus.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacPlus.hh,v 1.6 2001/10/15 10:09:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4SigmacPlus : public G4VBaryon
{
private:
static G4SigmacPlus theSigmacPlus;
static G4double theSigmacPlusLengthCut;
static G4double* theSigmacPlusKineticEnergyCuts;
private:
G4SigmacPlus(
@@ -75,19 +73,7 @@ class G4SigmacPlus : public G4VBaryon
static G4SigmacPlus* SigmacPlusDefinition();
static G4SigmacPlus* SigmacPlus();
static G4double GetCuts() {return theSigmacPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmacPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4SigmacPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theSigmacPlusLengthCut = theCutInMaxInteractionLength;
theSigmacPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacPlusPlus.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacPlusPlus.hh,v 1.6 2001/10/15 10:09:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4SigmacPlusPlus : public G4VBaryon
{
private:
static G4SigmacPlusPlus theSigmacPlusPlus;
static G4double theSigmacPlusPlusLengthCut;
static G4double* theSigmacPlusPlusKineticEnergyCuts;
private:
G4SigmacPlusPlus(
@@ -75,19 +73,7 @@ class G4SigmacPlusPlus : public G4VBaryon
static G4SigmacPlusPlus* SigmacPlusPlusDefinition();
static G4SigmacPlusPlus* SigmacPlusPlus();
static G4double GetCuts() {return theSigmacPlusPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmacPlusPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4SigmacPlusPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theSigmacPlusPlusLengthCut = theCutInMaxInteractionLength;
theSigmacPlusPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacZero.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacZero.hh,v 1.8 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4SigmacZero : public G4VBaryon
{
private:
static G4SigmacZero theSigmacZero;
static G4double theSigmacZeroLengthCut;
static G4double* theSigmacZeroKineticEnergyCuts;
private:
G4SigmacZero(
@@ -75,10 +73,8 @@ class G4SigmacZero : public G4VBaryon
static G4SigmacZero* SigmacZeroDefinition();
static G4SigmacZero* SigmacZero();
static G4double GetCuts() {return theSigmacZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theSigmacZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VBaryon.hh,v 1.2.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VBaryon.hh,v 1.3 2001/07/11 10:01:37 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XiMinus.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XiMinus.hh,v 1.7 2001/10/16 08:15:51 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4XiMinus : public G4VBaryon
{
private:
static G4XiMinus theXiMinus;
static G4double theXiMinusLengthCut;
static G4double* theXiMinusKineticEnergyCuts;
private:
G4XiMinus(
@@ -73,20 +71,8 @@ class G4XiMinus : public G4VBaryon
virtual ~G4XiMinus(){}
static G4XiMinus* XiMinusDefinition();
static G4XiMinus* XiMinus() {return &theXiMinus;}
static G4double GetCuts() {return theXiMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theXiMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
static G4XiMinus* XiMinus();
};
inline void G4XiMinus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theXiMinusLengthCut = theCutInMaxInteractionLength;
theXiMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XiZero.hh,v 1.4.4.2 2001/06/28 20:18:58 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XiZero.hh,v 1.9 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4XiZero : public G4VBaryon
{
private:
static G4XiZero theXiZero;
static G4double theXiZeroLengthCut;
static G4double* theXiZeroKineticEnergyCuts;
private:
G4XiZero(
@@ -73,11 +71,9 @@ class G4XiZero : public G4VBaryon
virtual ~G4XiZero(){}
static G4XiZero* XiZeroDefinition();
static G4XiZero* XiZero() {return &theXiZero;}
static G4double GetCuts() {return theXiZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theXiZeroKineticEnergyCuts;};
static G4XiZero* XiZero();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XicPlus.hh,v 1.4.4.2 2001/06/28 20:18:59 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XicPlus.hh,v 1.6 2001/10/15 10:09:29 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4XicPlus : public G4VBaryon
{
private:
static G4XicPlus theXicPlus;
static G4double theXicPlusLengthCut;
static G4double* theXicPlusKineticEnergyCuts;
private:
G4XicPlus(
@@ -75,19 +73,6 @@ class G4XicPlus : public G4VBaryon
static G4XicPlus* XicPlusDefinition();
static G4XicPlus* XicPlus();
static G4double GetCuts() {return theXicPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theXicPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4XicPlus::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theXicPlusLengthCut = theCutInMaxInteractionLength;
theXicPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XicZero.hh,v 1.4.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XicZero.hh,v 1.8 2001/10/28 05:08:21 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4XicZero : public G4VBaryon
{
private:
static G4XicZero theXicZero;
static G4double theXicZeroLengthCut;
static G4double* theXicZeroKineticEnergyCuts;
private:
G4XicZero(
@@ -75,10 +73,8 @@ class G4XicZero : public G4VBaryon
static G4XicZero* XicZeroDefinition();
static G4XicZero* XicZero();
static G4double GetCuts() {return theXicZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theXicZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiLambda.cc,v 1.6.2.1 2001/06/28 19:10:42 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiLambda.cc,v 1.12 2001/10/28 05:08:22 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,34 +99,20 @@ G4AntiLambda G4AntiLambda::theAntiLambda(
);
G4AntiLambda* G4AntiLambda::AntiLambdaDefinition(){return &theAntiLambda;}
// initialization for static cut values
G4double G4AntiLambda::theAntiLambdaLengthCut = -1.0;
G4double* G4AntiLambda::theAntiLambdaKineticEnergyCuts = NULL;
G4AntiLambda* G4AntiLambda::AntiLambda(){return &theAntiLambda;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiLambda::SetCuts(G4double aCut)
void G4AntiLambda::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiLambdaLengthCut = theCutInMaxInteractionLength;
theAntiLambdaKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiLambdacPlus.cc,v 1.5.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiLambdacPlus.cc,v 1.7 2001/10/15 10:10:52 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,7 +85,4 @@ G4AntiLambdacPlus G4AntiLambdacPlus::theAntiLambdacPlus(
G4AntiLambdacPlus* G4AntiLambdacPlus::AntiLambdacPlusDefinition(){return &theAntiLambdacPlus;}
G4AntiLambdacPlus* G4AntiLambdacPlus::AntiLambdacPlus(){return &theAntiLambdacPlus;}
// initialization for static cut values
G4double G4AntiLambdacPlus::theAntiLambdacPlusLengthCut = -1.0;
G4double* G4AntiLambdacPlus::theAntiLambdacPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiNeutron.cc,v 1.5.2.1 2001/06/28 19:10:42 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiNeutron.cc,v 1.11 2001/10/28 05:08:22 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -77,33 +77,18 @@ G4AntiNeutron G4AntiNeutron::theAntiNeutron(
true, -1.0, NULL
);
G4AntiNeutron* G4AntiNeutron::AntiNeutronDefinition(){return &theAntiNeutron;}
// initialization for static cut values
G4double G4AntiNeutron::theAntiNeutronLengthCut = -1.0;
G4double* G4AntiNeutron::theAntiNeutronKineticEnergyCuts = NULL;
G4AntiNeutron* G4AntiNeutron::AntiNeutron(){return &theAntiNeutron;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiNeutron::SetCuts(G4double aCut)
void G4AntiNeutron::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiNeutronLengthCut = theCutInMaxInteractionLength;
theAntiNeutronKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiOmegaMinus.cc,v 1.5.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiOmegaMinus.cc,v 1.8 2001/10/16 08:15:55 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -101,6 +101,5 @@ G4AntiOmegaMinus G4AntiOmegaMinus::theAntiOmegaMinus(
);
G4AntiOmegaMinus* G4AntiOmegaMinus::AntiOmegaMinusDefinition(){return &theAntiOmegaMinus;}
// initialization for static cut values
G4double G4AntiOmegaMinus::theAntiOmegaMinusLengthCut = -1.0;
G4double* G4AntiOmegaMinus::theAntiOmegaMinusKineticEnergyCuts = NULL;
G4AntiOmegaMinus* G4AntiOmegaMinus::AntiOmegaMinus(){return &theAntiOmegaMinus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiOmegacZero.cc,v 1.6.2.1 2001/06/28 19:10:42 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiOmegacZero.cc,v 1.11 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,9 +85,6 @@ G4AntiOmegacZero G4AntiOmegacZero::theAntiOmegacZero(
G4AntiOmegacZero* G4AntiOmegacZero::AntiOmegacZeroDefinition(){return &theAntiOmegacZero;}
G4AntiOmegacZero* G4AntiOmegacZero::AntiOmegacZero(){return &theAntiOmegacZero;}
// initialization for static cut values
G4double G4AntiOmegacZero::theAntiOmegacZeroLengthCut = -1.0;
G4double* G4AntiOmegacZero::theAntiOmegacZeroKineticEnergyCuts = NULL;
// **********************************************************************
@@ -95,25 +92,12 @@ G4double* G4AntiOmegacZero::theAntiOmegacZeroKineticEnergyCuts = NULL;
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiOmegacZero::SetCuts(G4double aCut)
void G4AntiOmegacZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiOmegacZeroLengthCut = theCutInMaxInteractionLength;
theAntiOmegacZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiProton.cc,v 1.4.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiProton.cc,v 1.7 2001/10/16 08:15:56 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -79,9 +79,8 @@ G4AntiProton G4AntiProton::theAntiProton(
);
G4AntiProton* G4AntiProton::AntiProtonDefinition(){return &theAntiProton;}
// initialization for static cut values
G4double G4AntiProton::theAntiProtonLengthCut = -1.0;
G4double* G4AntiProton::theAntiProtonKineticEnergyCuts = NULL;
G4AntiProton* G4AntiProton::AntiProton(){return &theAntiProton;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaMinus.cc,v 1.5.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaMinus.cc,v 1.8 2001/10/16 08:15:56 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -76,7 +76,7 @@ G4AntiSigmaMinus::G4AntiSigmaMinus(
SetDecayTable(table);
}
};
// ......................................................................
// ... static member definitions ...
@@ -102,6 +102,7 @@ G4AntiSigmaMinus* G4AntiSigmaMinus::AntiSigmaMinusDefinition()
return &theAntiSigmaMinus;
}
// initialization for static cut values
G4double G4AntiSigmaMinus::theAntiSigmaMinusLengthCut = -1.0;
G4double* G4AntiSigmaMinus::theAntiSigmaMinusKineticEnergyCuts = NULL;
G4AntiSigmaMinus* G4AntiSigmaMinus::AntiSigmaMinus()
{
return &theAntiSigmaMinus;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaPlus.cc,v 1.5.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaPlus.cc,v 1.8 2001/10/16 08:15:56 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -103,9 +103,11 @@ G4AntiSigmaPlus* G4AntiSigmaPlus::AntiSigmaPlusDefinition()
return &theAntiSigmaPlus;
}
// initialization for static cut values
G4double G4AntiSigmaPlus::theAntiSigmaPlusLengthCut = -1.0;
G4double* G4AntiSigmaPlus::theAntiSigmaPlusKineticEnergyCuts = NULL;
G4AntiSigmaPlus* G4AntiSigmaPlus::AntiSigmaPlus()
{
return &theAntiSigmaPlus;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmaZero.cc,v 1.6.2.1 2001/06/28 19:10:43 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmaZero.cc,v 1.12 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,34 +99,22 @@ G4AntiSigmaZero* G4AntiSigmaZero::AntiSigmaZeroDefinition()
{
return &theAntiSigmaZero;
}
// initialization for static cut values
G4double G4AntiSigmaZero::theAntiSigmaZeroLengthCut = -1.0;
G4double* G4AntiSigmaZero::theAntiSigmaZeroKineticEnergyCuts = NULL;
G4AntiSigmaZero* G4AntiSigmaZero::AntiSigmaZero()
{
return &theAntiSigmaZero;
}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiSigmaZero::SetCuts(G4double aCut)
void G4AntiSigmaZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiSigmaZeroLengthCut = theCutInMaxInteractionLength;
theAntiSigmaZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacPlus.cc,v 1.4.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacPlus.cc,v 1.6 2001/10/15 10:10:54 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,7 +99,4 @@ G4AntiSigmacPlus G4AntiSigmacPlus::theAntiSigmacPlus(
G4AntiSigmacPlus* G4AntiSigmacPlus::AntiSigmacPlusDefinition(){return &theAntiSigmacPlus;}
G4AntiSigmacPlus* G4AntiSigmacPlus::AntiSigmacPlus(){return &theAntiSigmacPlus;}
// initialization for static cut values
G4double G4AntiSigmacPlus::theAntiSigmacPlusLengthCut = -1.0;
G4double* G4AntiSigmacPlus::theAntiSigmacPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacPlusPlus.cc,v 1.4.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacPlusPlus.cc,v 1.6 2001/10/15 10:10:54 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,9 +99,6 @@ G4AntiSigmacPlusPlus G4AntiSigmacPlusPlus::theAntiSigmacPlusPlus(
G4AntiSigmacPlusPlus* G4AntiSigmacPlusPlus::AntiSigmacPlusPlusDefinition(){return &theAntiSigmacPlusPlus;}
G4AntiSigmacPlusPlus* G4AntiSigmacPlusPlus::AntiSigmacPlusPlus(){return &theAntiSigmacPlusPlus;}
// initialization for static cut values
G4double G4AntiSigmacPlusPlus::theAntiSigmacPlusPlusLengthCut = -1.0;
G4double* G4AntiSigmacPlusPlus::theAntiSigmacPlusPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiSigmacZero.cc,v 1.5.2.1 2001/06/28 19:10:44 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiSigmacZero.cc,v 1.10 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,9 +99,6 @@ G4AntiSigmacZero G4AntiSigmacZero::theAntiSigmacZero(
G4AntiSigmacZero* G4AntiSigmacZero::AntiSigmacZeroDefinition(){return &theAntiSigmacZero;}
G4AntiSigmacZero* G4AntiSigmacZero::AntiSigmacZero(){return &theAntiSigmacZero;}
// initialization for static cut values
G4double G4AntiSigmacZero::theAntiSigmacZeroLengthCut = -1.0;
G4double* G4AntiSigmacZero::theAntiSigmacZeroKineticEnergyCuts = NULL;
// **********************************************************************
// **************************** SetCuts *********************************
@@ -109,26 +106,12 @@ G4double* G4AntiSigmacZero::theAntiSigmacZeroKineticEnergyCuts = NULL;
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiSigmacZero::SetCuts(G4double aCut)
void G4AntiSigmacZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiSigmacZeroLengthCut = theCutInMaxInteractionLength;
theAntiSigmacZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXiMinus.cc,v 1.5.4.2 2001/06/28 20:19:00 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXiMinus.cc,v 1.8 2001/10/16 08:15:57 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -101,6 +101,7 @@ G4AntiXiMinus* G4AntiXiMinus::AntiXiMinusDefinition()
return &theAntiXiMinus;
}
// initialization for static cut values
G4double G4AntiXiMinus::theAntiXiMinusLengthCut = -1.0;
G4double* G4AntiXiMinus::theAntiXiMinusKineticEnergyCuts = NULL;
G4AntiXiMinus* G4AntiXiMinus::AntiXiMinus()
{
return &theAntiXiMinus;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXiZero.cc,v 1.6.2.1 2001/06/28 19:10:44 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXiZero.cc,v 1.12 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -97,34 +97,18 @@ G4AntiXiZero G4AntiXiZero::theAntiXiZero(
);
G4AntiXiZero* G4AntiXiZero::AntiXiZeroDefinition(){return &theAntiXiZero;}
// initialization for static cut values
G4double G4AntiXiZero::theAntiXiZeroLengthCut = -1.0;
G4double* G4AntiXiZero::theAntiXiZeroKineticEnergyCuts = NULL;
G4AntiXiZero* G4AntiXiZero::AntiXiZero(){return &theAntiXiZero;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiXiZero::SetCuts(G4double aCut)
void G4AntiXiZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiXiZeroLengthCut = theCutInMaxInteractionLength;
theAntiXiZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXicPlus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXicPlus.cc,v 1.7 2001/10/15 10:10:54 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -86,6 +86,3 @@ G4AntiXicPlus G4AntiXicPlus::theAntiXicPlus(
G4AntiXicPlus* G4AntiXicPlus::AntiXicPlusDefinition(){return &theAntiXicPlus;}
G4AntiXicPlus* G4AntiXicPlus::AntiXicPlus(){return &theAntiXicPlus;}
// initialization for static cut values
G4double G4AntiXicPlus::theAntiXicPlusLengthCut = -1.0;
G4double* G4AntiXicPlus::theAntiXicPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiXicZero.cc,v 1.6.2.1 2001/06/28 19:10:44 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiXicZero.cc,v 1.11 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -86,34 +86,18 @@ G4AntiXicZero G4AntiXicZero::theAntiXicZero(
G4AntiXicZero* G4AntiXicZero::AntiXicZeroDefinition(){return &theAntiXicZero;}
G4AntiXicZero* G4AntiXicZero::AntiXicZero(){return &theAntiXicZero;}
// initialization for static cut values
G4double G4AntiXicZero::theAntiXicZeroLengthCut = -1.0;
G4double* G4AntiXicZero::theAntiXicZeroKineticEnergyCuts = NULL;
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4AntiXicZero::SetCuts(G4double aCut)
void G4AntiXicZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theAntiXicZeroLengthCut = theCutInMaxInteractionLength;
theAntiXicZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BaryonConstructor.cc,v 1.2.4.1 2001/06/28 19:10:44 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BaryonConstructor.cc,v 1.3 2001/07/11 10:01:40 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Lambda.cc,v 1.6.2.1 2001/06/28 19:10:44 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Lambda.cc,v 1.12 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,34 +99,20 @@ G4Lambda G4Lambda::theLambda(
);
G4Lambda* G4Lambda::LambdaDefinition(){return &theLambda;}
// initialization for static cut values
G4double G4Lambda::theLambdaLengthCut = -1.0;
G4double* G4Lambda::theLambdaKineticEnergyCuts = NULL;
G4Lambda* G4Lambda::Lambda() {return &theLambda;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4Lambda::SetCuts(G4double aCut)
void G4Lambda::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theLambdaLengthCut = theCutInMaxInteractionLength;
theLambdaKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4LambdacPlus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4LambdacPlus.cc,v 1.7 2001/10/15 10:10:55 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,7 +85,4 @@ G4LambdacPlus G4LambdacPlus::theLambdacPlus(
G4LambdacPlus* G4LambdacPlus::LambdacPlusDefinition(){return &theLambdacPlus;}
G4LambdacPlus* G4LambdacPlus::LambdacPlus(){return &theLambdacPlus;}
// initialization for static cut values
G4double G4LambdacPlus::theLambdacPlusLengthCut = -1.0;
G4double* G4LambdacPlus::theLambdacPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Neutron.cc,v 1.6.2.1 2001/06/28 19:10:45 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Neutron.cc,v 1.13 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -37,6 +37,8 @@
#include "g4std/iomanip"
#include "G4Neutron.hh"
#include "G4NeutronBetaDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### NEUTRON ###
@@ -57,6 +59,17 @@ G4Neutron::G4Neutron(
lepton,baryon,encoding,stable,lifetime,decaytable )
{
SetParticleSubType("nucleon");
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
// create a decay channel
G4VDecayChannel* mode = new G4NeutronBetaDecayChannel("neutron",1.00);
table->Insert(mode);
SetDecayTable(table);
}
// ......................................................................
@@ -79,35 +92,20 @@ G4Neutron G4Neutron::theNeutron(
);
G4Neutron* G4Neutron::NeutronDefinition(){return &theNeutron;}
// initialization for static cut values
G4double G4Neutron::theNeutronLengthCut = -1.0;
G4double* G4Neutron::theNeutronKineticEnergyCuts = NULL;
G4Neutron* G4Neutron::Neutron(){return &theNeutron;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4Neutron::SetCuts(G4double aCut)
void G4Neutron::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theNeutronLengthCut = theCutInMaxInteractionLength;
theNeutronKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OmegaMinus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4OmegaMinus.cc,v 1.8 2001/10/16 08:15:58 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -101,6 +101,5 @@ G4OmegaMinus G4OmegaMinus::theOmegaMinus(
);
G4OmegaMinus* G4OmegaMinus::OmegaMinusDefinition(){return &theOmegaMinus;}
// initialization for static cut values
G4double G4OmegaMinus::theOmegaMinusLengthCut = -1.0;
G4double* G4OmegaMinus::theOmegaMinusKineticEnergyCuts = NULL;
G4OmegaMinus* G4OmegaMinus::OmegaMinus(){return &theOmegaMinus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OmegacZero.cc,v 1.6.2.1 2001/06/28 19:10:45 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4OmegacZero.cc,v 1.11 2001/10/28 05:08:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,9 +85,6 @@ G4OmegacZero G4OmegacZero::theOmegacZero(
G4OmegacZero* G4OmegacZero::OmegacZeroDefinition(){return &theOmegacZero;}
G4OmegacZero* G4OmegacZero::OmegacZero(){return &theOmegacZero;}
// initialization for static cut values
G4double G4OmegacZero::theOmegacZeroLengthCut = -1.0;
G4double* G4OmegacZero::theOmegacZeroKineticEnergyCuts = NULL;
// **********************************************************************
@@ -95,25 +92,12 @@ G4double* G4OmegacZero::theOmegacZeroKineticEnergyCuts = NULL;
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4OmegacZero::SetCuts(G4double aCut)
void G4OmegacZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theOmegacZeroLengthCut = theCutInMaxInteractionLength;
theOmegacZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Proton.cc,v 1.4.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Proton.cc,v 1.7 2001/10/16 08:15:59 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -82,6 +82,8 @@ G4Proton G4Proton::theProton(
);
G4Proton* G4Proton::ProtonDefinition(){return &theProton;}
// initialization for static cut values
G4double G4Proton::theProtonLengthCut = -1.0;
G4double* G4Proton::theProtonKineticEnergyCuts = NULL;
G4Proton* G4Proton::Proton()
{
return &theProton;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaMinus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaMinus.cc,v 1.8 2001/10/16 08:15:59 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -97,6 +97,5 @@ G4SigmaMinus G4SigmaMinus::theSigmaMinus(
);
G4SigmaMinus* G4SigmaMinus::SigmaMinusDefinition(){return &theSigmaMinus;}
// initialization for static cut values
G4double G4SigmaMinus::theSigmaMinusLengthCut = -1.0;
G4double* G4SigmaMinus::theSigmaMinusKineticEnergyCuts = NULL;
G4SigmaMinus* G4SigmaMinus::SigmaMinus(){return &theSigmaMinus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaPlus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaPlus.cc,v 1.8 2001/10/16 08:16:00 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,6 +99,5 @@ G4SigmaPlus G4SigmaPlus::theSigmaPlus(
);
G4SigmaPlus* G4SigmaPlus::SigmaPlusDefinition(){return &theSigmaPlus;}
// initialization for static cut values
G4double G4SigmaPlus::theSigmaPlusLengthCut = -1.0;
G4double* G4SigmaPlus::theSigmaPlusKineticEnergyCuts = NULL;
G4SigmaPlus* G4SigmaPlus::SigmaPlus(){return &theSigmaPlus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmaZero.cc,v 1.6.2.1 2001/06/28 19:10:45 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmaZero.cc,v 1.12 2001/10/28 05:08:24 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -94,35 +94,20 @@ G4SigmaZero G4SigmaZero::theSigmaZero(
);
G4SigmaZero* G4SigmaZero::SigmaZeroDefinition(){return &theSigmaZero;}
// initialization for static cut values
G4double G4SigmaZero::theSigmaZeroLengthCut = -1.0;
G4double* G4SigmaZero::theSigmaZeroKineticEnergyCuts = NULL;
G4SigmaZero* G4SigmaZero::SigmaZero(){return &theSigmaZero;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4SigmaZero::SetCuts(G4double aCut)
void G4SigmaZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theSigmaZeroLengthCut = theCutInMaxInteractionLength;
theSigmaZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacPlus.cc,v 1.4.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacPlus.cc,v 1.6 2001/10/15 10:10:57 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,6 +99,3 @@ G4SigmacPlus G4SigmacPlus::theSigmacPlus(
G4SigmacPlus* G4SigmacPlus::SigmacPlusDefinition(){return &theSigmacPlus;}
G4SigmacPlus* G4SigmacPlus::SigmacPlus(){return &theSigmacPlus;}
// initialization for static cut values
G4double G4SigmacPlus::theSigmacPlusLengthCut = -1.0;
G4double* G4SigmacPlus::theSigmacPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacPlusPlus.cc,v 1.4.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacPlusPlus.cc,v 1.6 2001/10/15 10:10:57 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,6 +99,3 @@ G4SigmacPlusPlus G4SigmacPlusPlus::theSigmacPlusPlus(
G4SigmacPlusPlus* G4SigmacPlusPlus::SigmacPlusPlusDefinition(){return &theSigmacPlusPlus;}
G4SigmacPlusPlus* G4SigmacPlusPlus::SigmacPlusPlus(){return &theSigmacPlusPlus;}
// initialization for static cut values
G4double G4SigmacPlusPlus::theSigmacPlusPlusLengthCut = -1.0;
G4double* G4SigmacPlusPlus::theSigmacPlusPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SigmacZero.cc,v 1.5.2.1 2001/06/28 19:10:46 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4SigmacZero.cc,v 1.10 2001/10/28 05:08:24 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -99,36 +99,18 @@ G4SigmacZero G4SigmacZero::theSigmacZero(
G4SigmacZero* G4SigmacZero::SigmacZeroDefinition(){return &theSigmacZero;}
G4SigmacZero* G4SigmacZero::SigmacZero(){return &theSigmacZero;}
// initialization for static cut values
G4double G4SigmacZero::theSigmacZeroLengthCut = -1.0;
G4double* G4SigmacZero::theSigmacZeroKineticEnergyCuts = NULL;
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4SigmacZero::SetCuts(G4double aCut)
void G4SigmacZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theSigmacZeroLengthCut = theCutInMaxInteractionLength;
theSigmacZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VBaryon.cc,v 1.2.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VBaryon.cc,v 1.3 2001/07/11 10:01:42 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XiMinus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XiMinus.cc,v 1.8 2001/10/16 08:16:01 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -97,6 +97,5 @@ G4XiMinus G4XiMinus::theXiMinus(
);
G4XiMinus* G4XiMinus::XiMinusDefinition(){return &theXiMinus;}
// initialization for static cut values
G4double G4XiMinus::theXiMinusLengthCut = -1.0;
G4double* G4XiMinus::theXiMinusKineticEnergyCuts = NULL;
G4XiMinus* G4XiMinus::XiMinus(){return &theXiMinus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XiZero.cc,v 1.6.2.1 2001/06/28 19:10:46 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XiZero.cc,v 1.12 2001/10/28 05:08:24 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -97,34 +97,19 @@ G4XiZero G4XiZero::theXiZero(
);
G4XiZero* G4XiZero::XiZeroDefinition(){return &theXiZero;}
// initialization for static cut values
G4double G4XiZero::theXiZeroLengthCut = -1.0;
G4double* G4XiZero::theXiZeroKineticEnergyCuts = NULL;
G4XiZero* G4XiZero::XiZero(){return &theXiZero;}
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4XiZero::SetCuts(G4double aCut)
void G4XiZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theXiZeroLengthCut = theCutInMaxInteractionLength;
theXiZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XicPlus.cc,v 1.5.4.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XicPlus.cc,v 1.7 2001/10/15 10:10:58 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -86,6 +86,3 @@ G4XicPlus G4XicPlus::theXicPlus(
G4XicPlus* G4XicPlus::XicPlusDefinition(){return &theXicPlus;}
G4XicPlus* G4XicPlus::XicPlus(){return &theXicPlus;}
// initialization for static cut values
G4double G4XicPlus::theXicPlusLengthCut = -1.0;
G4double* G4XicPlus::theXicPlusKineticEnergyCuts = NULL;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4XicZero.cc,v 1.6.2.1 2001/06/28 19:10:47 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4XicZero.cc,v 1.11 2001/10/28 05:08:24 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -86,34 +86,18 @@ G4XicZero G4XicZero::theXicZero(
G4XicZero* G4XicZero::XicZeroDefinition(){return &theXicZero;}
G4XicZero* G4XicZero::XicZero(){return &theXicZero;}
// initialization for static cut values
G4double G4XicZero::theXicZeroLengthCut = -1.0;
G4double* G4XicZero::theXicZeroKineticEnergyCuts = NULL;
// **********************************************************************
// **************************** SetCuts *********************************
// **********************************************************************
// In this version Input Cut Value is meaning less
// theKineticEnergyCuts for all materials are set to LowestEnergy
void G4XicZero::SetCuts(G4double aCut)
void G4XicZero::CalcEnergyCuts( const G4Material* )
{
theCutInMaxInteractionLength = aCut;
const G4MaterialTable* materialTable = G4Material::GetMaterialTable();
// Create the vector of cuts in energy
// corresponding to the stopping range cut
if(theKineticEnergyCuts) delete [] theKineticEnergyCuts;
theKineticEnergyCuts = new G4double [materialTable->length()];
// Build range vector for every material, convert cut into energy-cut,
// fill theKineticEnergyCuts and delete the range vector
for (size_t J=0; J<materialTable->length(); J++)
{
theKineticEnergyCuts[J] = LowestEnergy;
}
theXicZeroLengthCut = theCutInMaxInteractionLength;
theXicZeroKineticEnergyCuts = theKineticEnergyCuts;
// Rebuild the physics tables for every process for this particle type
// Set Energy Cut values to lowest for all materials
SetEnergyCutValues(LowestEnergy);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Alpha.hh,v 1.4.2.2 2001/06/28 20:19:01 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Alpha.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Alpha : public G4VIon
{
private:
static G4Alpha theAlpha;
static G4double theAlphaLengthCut;
static G4double* theAlphaKineticEnergyCuts;
public:
G4Alpha(
@@ -73,29 +71,7 @@ class G4Alpha : public G4VIon
virtual ~G4Alpha();
static G4Alpha* AlphaDefinition();
static G4Alpha* Alpha(){return &theAlpha;}
static G4double GetCuts() {return theAlphaLengthCut;}
static G4double* GetCutsInEnergy() {return theAlphaKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Alpha* Alpha();
};
inline void G4Alpha::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theAlphaLengthCut = theCutInMaxInteractionLength;
theAlphaKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Alpha::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAlphaLengthCut = theCutInMaxInteractionLength;
theAlphaKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Deuteron.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Deuteron.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Deuteron : public G4VIon
{
private:
static G4Deuteron theDeuteron;
static G4double theDeuteronLengthCut;
static G4double* theDeuteronKineticEnergyCuts;
public:
G4Deuteron(
@@ -73,31 +71,9 @@ class G4Deuteron : public G4VIon
virtual ~G4Deuteron();
static G4Deuteron* DeuteronDefinition();
static G4Deuteron* Deuteron(){return &theDeuteron;}
static G4double GetCuts() {return theDeuteronLengthCut;}
static G4double* GetCutsInEnergy() {return theDeuteronKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Deuteron* Deuteron();
};
inline void G4Deuteron::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theDeuteronLengthCut = theCutInMaxInteractionLength;
theDeuteronKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Deuteron::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theDeuteronLengthCut = theCutInMaxInteractionLength;
theDeuteronKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4GenericIon.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4GenericIon.hh,v 1.7 2001/10/16 08:16:05 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -52,8 +52,6 @@ class G4GenericIon : public G4VIon
{
private:
static G4GenericIon theGenericIon;
static G4double theGenericIonLengthCut;
static G4double* theGenericIonKineticEnergyCuts;
public:
G4GenericIon(
@@ -70,29 +68,7 @@ class G4GenericIon : public G4VIon
virtual ~G4GenericIon();
static G4GenericIon* GenericIonDefinition();
static G4GenericIon* GenericIon(){return &theGenericIon;}
static G4double GetCuts() {return theGenericIonLengthCut;}
static G4double* GetCutsInEnergy() {return theGenericIonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4GenericIon* GenericIon();
};
inline void G4GenericIon::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theGenericIonLengthCut = theCutInMaxInteractionLength;
theGenericIonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4GenericIon::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theGenericIonLengthCut = theCutInMaxInteractionLength;
theGenericIonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
+4 -25
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4He3.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4He3.hh,v 1.7 2001/10/16 08:16:06 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -51,8 +51,6 @@ class G4He3 : public G4VIon
{
private:
static G4He3 theHe3;
static G4double theHe3LengthCut;
static G4double* theHe3KineticEnergyCuts;
public:
G4He3(
@@ -69,28 +67,9 @@ class G4He3 : public G4VIon
virtual ~G4He3();
static G4He3* He3Definition();
static G4He3* He3() {return &theHe3;}
static G4double GetCuts() {return theHe3LengthCut;}
static G4double* GetCutsInEnergy() {return theHe3KineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4He3* He3();
};
inline void G4He3::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theHe3LengthCut = theCutInMaxInteractionLength;
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4He3::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theHe3LengthCut = theCutInMaxInteractionLength;
theHe3KineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonConstructor.hh,v 1.2.4.1 2001/06/28 19:10:48 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IonConstructor.hh,v 1.3 2001/07/11 10:01:43 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Triton.hh,v 1.4.2.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Triton.hh,v 1.7 2001/10/16 08:16:06 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -55,8 +55,6 @@ class G4Triton : public G4VIon
{
private:
static G4Triton theTriton;
static G4double theTritonLengthCut;
static G4double* theTritonKineticEnergyCuts;
public:
G4Triton(
@@ -74,31 +72,9 @@ class G4Triton : public G4VIon
virtual ~G4Triton();
static G4Triton* TritonDefinition();
static G4Triton* Triton() {return &theTriton;}
static G4double GetCuts() {return theTritonLengthCut;}
static G4double* GetCutsInEnergy() {return theTritonKineticEnergyCuts;};
void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4Triton* Triton();
};
inline void G4Triton::SetCuts(G4double aCut)
{
CalcEnergyCuts(aCut);
theTritonLengthCut = theCutInMaxInteractionLength;
theTritonKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4Triton::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theTritonLengthCut = theCutInMaxInteractionLength;
theTritonKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VIon.hh,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VIon.hh,v 1.4 2001/07/11 10:01:44 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
+3 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Alpha.cc,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Alpha.cc,v 1.6 2001/10/16 08:16:07 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,6 +85,4 @@ G4Alpha G4Alpha::theAlpha(
);
G4Alpha* G4Alpha::AlphaDefinition(){return &theAlpha;}
// initialization for static cut values
G4double G4Alpha::theAlphaLengthCut;
G4double* G4Alpha::theAlphaKineticEnergyCuts;
G4Alpha* G4Alpha::Alpha(){return &theAlpha;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Deuteron.cc,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Deuteron.cc,v 1.6 2001/10/16 08:16:08 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,6 +85,4 @@ G4Deuteron G4Deuteron::theDeuteron(
);
G4Deuteron* G4Deuteron::DeuteronDefinition(){return &theDeuteron;}
// initialization for static cut values
G4double G4Deuteron::theDeuteronLengthCut;
G4double* G4Deuteron::theDeuteronKineticEnergyCuts;
G4Deuteron* G4Deuteron::Deuteron(){return &theDeuteron;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4GenericIon.cc,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4GenericIon.cc,v 1.6 2001/10/16 08:16:08 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -85,6 +85,4 @@ G4GenericIon G4GenericIon::theGenericIon(
);
G4GenericIon* G4GenericIon::GenericIonDefinition(){return &theGenericIon;}
// initialization for static cut values
G4double G4GenericIon::theGenericIonLengthCut;
G4double* G4GenericIon::theGenericIonKineticEnergyCuts;
G4GenericIon* G4GenericIon::GenericIon(){return &theGenericIon;}
+3 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4He3.cc,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4He3.cc,v 1.6 2001/10/16 08:16:08 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -82,6 +82,4 @@ G4He3 G4He3::theHe3(
);
G4He3* G4He3::He3Definition(){return &theHe3;}
// initialization for static cut values
G4double G4He3::theHe3LengthCut;
G4double* G4He3::theHe3KineticEnergyCuts;
G4He3* G4He3::He3(){return &theHe3;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonConstructor.cc,v 1.2.4.1 2001/06/28 19:10:49 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IonConstructor.cc,v 1.3 2001/07/11 10:01:44 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Triton.cc,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Triton.cc,v 1.6 2001/10/16 08:16:08 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ----------------------------------------------------------------------
@@ -84,6 +84,4 @@ G4Triton G4Triton::theTriton(
);
G4Triton* G4Triton::TritonDefinition(){return &theTriton;}
// initialization for static cut values
G4double G4Triton::theTritonLengthCut;
G4double* G4Triton::theTritonKineticEnergyCuts;
G4Triton* G4Triton::Triton(){return &theTriton;}
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VIon.cc,v 1.2.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VIon.cc,v 1.3 2001/07/11 10:01:44 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiBMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:02 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiBMesonZero.hh,v 1.7 2001/10/28 05:01:23 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiBMesonZero : public G4VMeson
{
private:
static G4AntiBMesonZero theAntiBMesonZero;
static G4double theAntiBMesonZeroLengthCut;
static G4double* theAntiBMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4AntiBMesonZero(
@@ -74,10 +72,8 @@ class G4AntiBMesonZero : public G4VMeson
static G4AntiBMesonZero* AntiBMesonZeroDefinition();
static G4AntiBMesonZero* AntiBMesonZero();
static G4double GetCuts() {return theAntiBMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiBMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiBsMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiBsMesonZero.hh,v 1.7 2001/10/28 05:01:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiBsMesonZero : public G4VMeson
{
private:
static G4AntiBsMesonZero theAntiBsMesonZero;
static G4double theAntiBsMesonZeroLengthCut;
static G4double* theAntiBsMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4AntiBsMesonZero(
@@ -74,10 +72,8 @@ class G4AntiBsMesonZero : public G4VMeson
static G4AntiBsMesonZero* AntiBsMesonZeroDefinition();
static G4AntiBsMesonZero* AntiBsMesonZero();
static G4double GetCuts() {return theAntiBsMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiBsMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiDMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiDMesonZero.hh,v 1.7 2001/10/28 05:01:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4AntiDMesonZero : public G4VMeson
{
private:
static G4AntiDMesonZero theAntiDMesonZero;
static G4double theAntiDMesonZeroLengthCut;
static G4double* theAntiDMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4AntiDMesonZero(
@@ -74,10 +72,8 @@ class G4AntiDMesonZero : public G4VMeson
static G4AntiDMesonZero* AntiDMesonZeroDefinition();
static G4AntiDMesonZero* AntiDMesonZero();
static G4double GetCuts() {return theAntiDMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiDMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiKaonZero.hh,v 1.4.2.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4AntiKaonZero.hh,v 1.9 2001/10/28 05:01:27 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// ----------------------------------------------------------------
// Each class inheriting from G4VMeson
@@ -56,9 +55,6 @@ class G4AntiKaonZero : public G4VMeson
{
private:
static G4AntiKaonZero theAntiKaonZero;
static G4double theAntiKaonZeroLengthCut;
static G4double* theAntiKaonZeroKineticEnergyCuts;
private: // constructors are hide as private
@@ -78,20 +74,17 @@ class G4AntiKaonZero : public G4VMeson
virtual ~G4AntiKaonZero() {}
static G4AntiKaonZero* AntiKaonZeroDefinition();
static G4AntiKaonZero* AntiKaonZero() {return &theAntiKaonZero;}
static G4double GetCuts() {return theAntiKaonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theAntiKaonZeroKineticEnergyCuts;};
static G4AntiKaonZero* AntiKaonZero();
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
void CalcEnergyCuts( const G4Material* );
};
inline void G4AntiKaonZero::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theAntiKaonZeroLengthCut = theCutInMaxInteractionLength;
theAntiKaonZeroKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonMinus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BMesonMinus.hh,v 1.5 2001/10/15 10:06:12 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4BMesonMinus : public G4VMeson
{
private:
static G4BMesonMinus theBMesonMinus;
static G4double theBMesonMinusLengthCut;
static G4double* theBMesonMinusKineticEnergyCuts;
private: // constructors are hide as private
G4BMesonMinus(
@@ -74,17 +72,6 @@ class G4BMesonMinus : public G4VMeson
static G4BMesonMinus* BMesonMinusDefinition();
static G4BMesonMinus* BMesonMinus();
static G4double GetCuts() {return theBMesonMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theBMesonMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4BMesonMinus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theBMesonMinusLengthCut = theCutInMaxInteractionLength;
theBMesonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonPlus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BMesonPlus.hh,v 1.5 2001/10/15 10:06:12 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4BMesonPlus : public G4VMeson
{
private:
static G4BMesonPlus theBMesonPlus;
static G4double theBMesonPlusLengthCut;
static G4double* theBMesonPlusKineticEnergyCuts;
private: // constructors are hide as private
G4BMesonPlus(
@@ -74,17 +72,6 @@ class G4BMesonPlus : public G4VMeson
static G4BMesonPlus* BMesonPlusDefinition();
static G4BMesonPlus* BMesonPlus();
static G4double GetCuts() {return theBMesonPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theBMesonPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4BMesonPlus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theBMesonPlusLengthCut = theCutInMaxInteractionLength;
theBMesonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BMesonZero.hh,v 1.7 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4BMesonZero : public G4VMeson
{
private:
static G4BMesonZero theBMesonZero;
static G4double theBMesonZeroLengthCut;
static G4double* theBMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4BMesonZero(
@@ -74,10 +72,8 @@ class G4BMesonZero : public G4VMeson
static G4BMesonZero* BMesonZeroDefinition();
static G4BMesonZero* BMesonZero();
static G4double GetCuts() {return theBMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theBMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BsMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4BsMesonZero.hh,v 1.7 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4BsMesonZero : public G4VMeson
{
private:
static G4BsMesonZero theBsMesonZero;
static G4double theBsMesonZeroLengthCut;
static G4double* theBsMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4BsMesonZero(
@@ -74,10 +72,8 @@ class G4BsMesonZero : public G4VMeson
static G4BsMesonZero* BsMesonZeroDefinition();
static G4BsMesonZero* BsMesonZero();
static G4double GetCuts() {return theBsMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theBsMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonMinus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DMesonMinus.hh,v 1.5 2001/10/15 10:06:12 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4DMesonMinus : public G4VMeson
{
private:
static G4DMesonMinus theDMesonMinus;
static G4double theDMesonMinusLengthCut;
static G4double* theDMesonMinusKineticEnergyCuts;
private: // constructors are hide as private
G4DMesonMinus(
@@ -74,17 +72,6 @@ class G4DMesonMinus : public G4VMeson
static G4DMesonMinus* DMesonMinusDefinition();
static G4DMesonMinus* DMesonMinus();
static G4double GetCuts() {return theDMesonMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theDMesonMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4DMesonMinus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theDMesonMinusLengthCut = theCutInMaxInteractionLength;
theDMesonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonPlus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DMesonPlus.hh,v 1.5 2001/10/15 10:06:12 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4DMesonPlus : public G4VMeson
{
private:
static G4DMesonPlus theDMesonPlus;
static G4double theDMesonPlusLengthCut;
static G4double* theDMesonPlusKineticEnergyCuts;
private: // constructors are hide as private
G4DMesonPlus(
@@ -74,17 +72,6 @@ class G4DMesonPlus : public G4VMeson
static G4DMesonPlus* DMesonPlusDefinition();
static G4DMesonPlus* DMesonPlus();
static G4double GetCuts() {return theDMesonPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theDMesonPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4DMesonPlus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theDMesonPlusLengthCut = theCutInMaxInteractionLength;
theDMesonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonZero.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DMesonZero.hh,v 1.7 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4DMesonZero : public G4VMeson
{
private:
static G4DMesonZero theDMesonZero;
static G4double theDMesonZeroLengthCut;
static G4double* theDMesonZeroKineticEnergyCuts;
private: // constructors are hide as private
G4DMesonZero(
@@ -74,10 +72,8 @@ class G4DMesonZero : public G4VMeson
static G4DMesonZero* DMesonZeroDefinition();
static G4DMesonZero* DMesonZero();
static G4double GetCuts() {return theDMesonZeroLengthCut;}
static G4double* GetCutsInEnergy() {return theDMesonZeroKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DsMesonMinus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DsMesonMinus.hh,v 1.5 2001/10/15 10:06:13 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4DsMesonMinus : public G4VMeson
{
private:
static G4DsMesonMinus theDsMesonMinus;
static G4double theDsMesonMinusLengthCut;
static G4double* theDsMesonMinusKineticEnergyCuts;
private: // constructors are hide as private
G4DsMesonMinus(
@@ -74,17 +72,6 @@ class G4DsMesonMinus : public G4VMeson
static G4DsMesonMinus* DsMesonMinusDefinition();
static G4DsMesonMinus* DsMesonMinus();
static G4double GetCuts() {return theDsMesonMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theDsMesonMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4DsMesonMinus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theDsMesonMinusLengthCut = theCutInMaxInteractionLength;
theDsMesonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DsMesonPlus.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DsMesonPlus.hh,v 1.5 2001/10/15 10:06:13 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -53,8 +53,6 @@ class G4DsMesonPlus : public G4VMeson
{
private:
static G4DsMesonPlus theDsMesonPlus;
static G4double theDsMesonPlusLengthCut;
static G4double* theDsMesonPlusKineticEnergyCuts;
private: // constructors are hide as private
G4DsMesonPlus(
@@ -74,17 +72,6 @@ class G4DsMesonPlus : public G4VMeson
static G4DsMesonPlus* DsMesonPlusDefinition();
static G4DsMesonPlus* DsMesonPlus();
static G4double GetCuts() {return theDsMesonPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theDsMesonPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
};
inline void G4DsMesonPlus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theDsMesonPlusLengthCut = theCutInMaxInteractionLength;
theDsMesonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Eta.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4Eta.hh,v 1.8 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// ----------------------------------------------------------------
// Each class inheriting from G4VMeson
@@ -55,8 +54,6 @@ class G4Eta : public G4VMeson
{
private:
static G4Eta theEta;
static G4double theEtaLengthCut;
static G4double* theEtaKineticEnergyCuts;
private: // constructors are hide as private
G4Eta(
@@ -75,11 +72,9 @@ class G4Eta : public G4VMeson
virtual ~G4Eta(){}
static G4Eta* EtaDefinition();
static G4Eta* Eta(){return &theEta;}
static G4double GetCuts() {return theEtaLengthCut;}
static G4double* GetCutsInEnergy() {return theEtaKineticEnergyCuts;};
static G4Eta* Eta();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4EtaPrime.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4EtaPrime.hh,v 1.8 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -51,8 +51,6 @@ class G4EtaPrime : public G4VMeson
{
private:
static G4EtaPrime theEtaPrime;
static G4double theEtaPrimeLengthCut;
static G4double* theEtaPrimeKineticEnergyCuts;
private: // constructors are hide as private
G4EtaPrime(
@@ -71,11 +69,9 @@ class G4EtaPrime : public G4VMeson
virtual ~G4EtaPrime(){}
static G4EtaPrime* EtaPrimeDefinition();
static G4EtaPrime* EtaPrime(){return &theEtaPrime;}
static G4double GetCuts() {return theEtaPrimeLengthCut;}
static G4double* GetCutsInEnergy() {return theEtaPrimeKineticEnergyCuts;};
static G4EtaPrime* EtaPrime();
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4JPsi.hh,v 1.3.4.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4JPsi.hh,v 1.7 2001/10/28 05:01:28 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -54,8 +54,6 @@ class G4JPsi : public G4VMeson
{
private:
static G4JPsi theJPsi;
static G4double theJPsiLengthCut;
static G4double* theJPsiKineticEnergyCuts;
private: // constructors are hide as private
G4JPsi(
@@ -75,10 +73,8 @@ class G4JPsi : public G4VMeson
static G4JPsi* JPsiDefinition();
static G4JPsi* JPsi();
static G4double GetCuts() {return theJPsiLengthCut;}
static G4double* GetCutsInEnergy() {return theJPsiKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void CalcEnergyCuts( const G4Material* );
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonMinus.hh,v 1.4.2.2 2001/06/28 20:19:03 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4KaonMinus.hh,v 1.7 2001/10/16 08:16:09 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// ----------------------------------------------------------------
// Each class inheriting from G4VMeson
@@ -55,8 +54,6 @@ class G4KaonMinus : public G4VMeson
{
private:
static G4KaonMinus theKaonMinus;
static G4double theKaonMinusLengthCut;
static G4double* theKaonMinusKineticEnergyCuts;
private: // constructors are hide as private
G4KaonMinus(
@@ -75,28 +72,7 @@ class G4KaonMinus : public G4VMeson
virtual ~G4KaonMinus(){}
static G4KaonMinus* KaonMinusDefinition();
static G4KaonMinus* KaonMinus() {return &theKaonMinus;}
static G4double GetCuts() {return theKaonMinusLengthCut;}
static G4double* GetCutsInEnergy() {return theKaonMinusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4KaonMinus* KaonMinus();
};
inline void G4KaonMinus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theKaonMinusLengthCut = theCutInMaxInteractionLength;
theKaonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4KaonMinus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theKaonMinusLengthCut = theCutInMaxInteractionLength;
theKaonMinusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonPlus.hh,v 1.4.2.2 2001/06/28 20:19:04 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4KaonPlus.hh,v 1.7 2001/10/16 08:16:09 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// ------------------------------------------------------------
@@ -33,7 +33,6 @@
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// ----------------------------------------------------------------
// Each class inheriting from G4VMeson
@@ -55,8 +54,6 @@ class G4KaonPlus : public G4VMeson
{
private:
static G4KaonPlus theKaonPlus;
static G4double theKaonPlusLengthCut;
static G4double* theKaonPlusKineticEnergyCuts;
private: // constructors are hide as private
G4KaonPlus(
@@ -74,29 +71,8 @@ class G4KaonPlus : public G4VMeson
public:
virtual ~G4KaonPlus(){}
static G4KaonPlus* KaonPlusDefinition();
static G4KaonPlus* KaonPlus() {return &theKaonPlus;}
static G4double GetCuts() {return theKaonPlusLengthCut;}
static G4double* GetCutsInEnergy() {return theKaonPlusKineticEnergyCuts;};
virtual void SetCuts(G4double aCut);
virtual void RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy );
static G4KaonPlus* KaonPlus();
};
inline void G4KaonPlus::SetCuts(G4double aCut)
{
G4ParticleWithCuts::SetCuts(aCut);
theKaonPlusLengthCut = theCutInMaxInteractionLength;
theKaonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
inline void G4KaonPlus::RestoreCuts(G4double cutInLength,
const G4double* cutInEnergy )
{
G4ParticleWithCuts::RestoreCuts(cutInLength, cutInEnergy);
theKaonPlusLengthCut = theCutInMaxInteractionLength;
theKaonPlusKineticEnergyCuts = theKineticEnergyCuts;
}
#endif

Some files were not shown because too many files have changed in this diff Show More