Import Geant4 5.1.0 source tree
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4BosonConstructor.hh,v 1.3 2001/07/11 10:01:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ChargedGeantino.hh,v 1.8 2001/10/28 05:03:48 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4ChargedGeantino.hh,v 1.9 2002/12/16 11:15:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -75,7 +75,6 @@ class G4ChargedGeantino : public G4VBoson
|
||||
static G4ChargedGeantino* ChargedGeantinoDefinition();
|
||||
static G4ChargedGeantino* ChargedGeantino();
|
||||
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//// $Id: G4Gamma.hh,v 1.11 2001/12/13 12:04:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4Gamma.hh,v 1.12 2002/12/16 11:15:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -56,37 +56,6 @@ class G4Gamma : public G4VBoson
|
||||
private:
|
||||
static G4Gamma theGamma;
|
||||
|
||||
//-------- the followings are used privately in G4Gamma ----
|
||||
private:
|
||||
typedef G4LossTable G4CrossSectionTable;
|
||||
void BuildAbsorptionLengthVector(
|
||||
const G4Material* aMaterial,
|
||||
const G4CrossSectionTable* aCrossSectionTable,
|
||||
G4double maxEnergy,
|
||||
G4double aMass,
|
||||
G4RangeVector* absorptionLengthVector
|
||||
);
|
||||
G4double ComputeCrossSection(
|
||||
G4double AtomicNumber,
|
||||
G4double KineticEnergy
|
||||
) const;
|
||||
|
||||
//--------------for SetCuts----------------------------------------------
|
||||
protected:
|
||||
G4double ComputeLoss(G4double AtomicNumber,G4double KineticEnergy) const;
|
||||
|
||||
void BuildRangeVector(
|
||||
const G4Material* aMaterial,
|
||||
const G4LossTable* aLossTable,
|
||||
G4double maxEnergy,
|
||||
G4double aMass,
|
||||
G4RangeVector* rangeVector);
|
||||
|
||||
G4double ConvertCutToKineticEnergy(
|
||||
G4RangeVector* absorptionLengthVector,
|
||||
size_t materialIndex
|
||||
) const;
|
||||
|
||||
private: // hide conxtructor as private
|
||||
G4Gamma(
|
||||
const G4String& aName, G4double mass,
|
||||
@@ -107,25 +76,6 @@ class G4Gamma : public G4VBoson
|
||||
static G4Gamma* Gamma();
|
||||
};
|
||||
|
||||
inline
|
||||
G4double G4Gamma::ComputeLoss(G4double AtomicNumber,G4double KineticEnergy) const
|
||||
{
|
||||
return ComputeCrossSection(AtomicNumber,KineticEnergy);
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Gamma::BuildRangeVector(
|
||||
const G4Material* aMaterial,
|
||||
const G4LossTable* aLossTable,
|
||||
G4double maxEnergy,
|
||||
G4double aMass,
|
||||
G4RangeVector* rangeVector)
|
||||
{
|
||||
BuildAbsorptionLengthVector(aMaterial,
|
||||
(const G4CrossSectionTable*)aLossTable,
|
||||
maxEnergy, aMass, rangeVector);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Geantino.hh,v 1.8 2001/10/28 05:03:49 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4Geantino.hh,v 1.9 2002/12/16 11:15:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -75,7 +75,6 @@ class G4Geantino : public G4VBoson
|
||||
static G4Geantino* GeantinoDefinition();
|
||||
static G4Geantino* Geantino();
|
||||
|
||||
virtual void CalcEnergyCuts( const G4Material* );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4OpticalPhoton.hh,v 1.7 2001/10/16 08:15:41 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4OpticalPhoton.hh,v 1.8 2002/12/16 11:15:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -74,7 +74,6 @@ class G4OpticalPhoton: public G4VBoson
|
||||
|
||||
static G4OpticalPhoton* OpticalPhotonDefinition();
|
||||
static G4OpticalPhoton* OpticalPhoton();
|
||||
virtual void SetCuts(G4double aCut);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VBoson.hh,v 1.3 2001/07/11 10:01:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4VBoson.hh,v 1.4 2003/03/11 05:49:38 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -42,9 +42,9 @@
|
||||
#include "G4Material.hh"
|
||||
|
||||
#include "G4PhysicsLogVector.hh"
|
||||
#include "G4ParticleWithCuts.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
class G4VBoson : public G4ParticleWithCuts
|
||||
class G4VBoson : public G4ParticleDefinition
|
||||
{
|
||||
// A virtual class for Bosons particles. It defines
|
||||
// public methods which describe the behavior of a
|
||||
@@ -73,7 +73,7 @@ class G4VBoson : public G4ParticleWithCuts
|
||||
G4bool stable,
|
||||
G4double lifetime,
|
||||
G4DecayTable *decaytable)
|
||||
: G4ParticleWithCuts(aName, mass, width, charge, iSpin, iParity,
|
||||
: G4ParticleDefinition(aName, mass, width, charge, iSpin, iParity,
|
||||
iConjugation, iIsospin, iIsospinZ, gParity,
|
||||
pType, lepton, baryon, encoding, stable,
|
||||
lifetime, decaytable) {};
|
||||
|
||||
Reference in New Issue
Block a user