Import Geant4 10.7.1 source tree
This commit is contained in:
@@ -122,12 +122,6 @@ private:
|
||||
G4double matKinEnergy;
|
||||
G4double matCrossSection;
|
||||
|
||||
const G4Material* elmMaterial;
|
||||
const G4Element* currentElement;
|
||||
const G4ParticleDefinition* elmParticle;
|
||||
G4double elmKinEnergy;
|
||||
G4double elmCrossSection;
|
||||
|
||||
G4int nDataSetList;
|
||||
G4int verboseLevel;
|
||||
//Fast path: caching
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "G4Threading.hh"
|
||||
#include <vector>
|
||||
|
||||
const G4int MAXZEL = 93;
|
||||
|
||||
class G4DynamicParticle;
|
||||
class G4ParticleDefinition;
|
||||
class G4Element;
|
||||
@@ -101,8 +99,9 @@ private:
|
||||
G4VCrossSectionDataSet* ggXsection;
|
||||
const G4ParticleDefinition* gamma;
|
||||
|
||||
static G4PhysicsVector* data[MAXZEL];
|
||||
static G4double coeff[MAXZEL];
|
||||
static const G4int MAXZGAMMAN = 93;
|
||||
static G4PhysicsVector* data[MAXZGAMMAN];
|
||||
static G4double coeff[MAXZGAMMAN];
|
||||
static G4String gDataDirectory;
|
||||
|
||||
G4bool isMaster;
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
const G4int MAXZCAPTURE = 93;
|
||||
|
||||
class G4DynamicParticle;
|
||||
class G4ParticleDefinition;
|
||||
class G4Element;
|
||||
@@ -113,6 +111,7 @@ private:
|
||||
|
||||
G4bool isMaster;
|
||||
|
||||
static const G4int MAXZCAPTURE = 93;
|
||||
static G4ElementData* data;
|
||||
static G4String gDataDirectory;
|
||||
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "G4Threading.hh"
|
||||
#include <vector>
|
||||
|
||||
const G4int MAXZEL = 93;
|
||||
|
||||
class G4DynamicParticle;
|
||||
class G4ParticleDefinition;
|
||||
class G4Element;
|
||||
@@ -102,6 +100,7 @@ private:
|
||||
G4VComponentCrossSection* ggXsection;
|
||||
const G4ParticleDefinition* neutron;
|
||||
|
||||
static const G4int MAXZEL = 93;
|
||||
static G4PhysicsVector* data[MAXZEL];
|
||||
static G4double coeff[MAXZEL];
|
||||
static G4String gDataDirectory;
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "G4Threading.hh"
|
||||
#include <vector>
|
||||
|
||||
const G4int MAXZINEL = 93;
|
||||
|
||||
class G4DynamicParticle;
|
||||
class G4ParticleDefinition;
|
||||
class G4Element;
|
||||
@@ -111,6 +109,7 @@ private:
|
||||
|
||||
G4bool isMaster;
|
||||
|
||||
static const G4int MAXZINEL = 93;
|
||||
static G4ElementData* data;
|
||||
static G4double coeff[MAXZINEL];
|
||||
static G4String gDataDirectory;
|
||||
|
||||
@@ -49,8 +49,6 @@
|
||||
#include "G4Threading.hh"
|
||||
#include <vector>
|
||||
|
||||
const G4int MAXZINELP = 93;
|
||||
|
||||
class G4DynamicParticle;
|
||||
class G4ParticleDefinition;
|
||||
class G4Element;
|
||||
@@ -113,6 +111,7 @@ private:
|
||||
G4int index;
|
||||
G4bool isMaster;
|
||||
|
||||
static const G4int MAXZINELP = 93;
|
||||
static G4ElementData* data[5];
|
||||
static G4double coeff[MAXZINELP][5];
|
||||
static G4String gDataDirectory[5];
|
||||
|
||||
@@ -143,8 +143,6 @@ public: //with description
|
||||
|
||||
virtual void CrossSectionDescription(std::ostream&) const;
|
||||
|
||||
public: // Without Description
|
||||
|
||||
virtual G4int GetVerboseLevel() const;
|
||||
|
||||
virtual void SetVerboseLevel(G4int value);
|
||||
@@ -163,12 +161,14 @@ public: // Without Description
|
||||
|
||||
inline const G4String& GetName() const;
|
||||
|
||||
inline void SetName(const G4String& nam);
|
||||
|
||||
protected:
|
||||
|
||||
inline void SetName(const G4String&);
|
||||
|
||||
G4int verboseLevel;
|
||||
|
||||
G4String name;
|
||||
|
||||
private:
|
||||
|
||||
G4VCrossSectionDataSet & operator=(const G4VCrossSectionDataSet &right);
|
||||
@@ -181,7 +181,6 @@ private:
|
||||
|
||||
G4bool isForAllAtomsAndEnergies;
|
||||
|
||||
G4String name;
|
||||
};
|
||||
|
||||
inline G4double
|
||||
|
||||
@@ -45,60 +45,28 @@
|
||||
#ifndef G4VCrossSectionRatio_h
|
||||
#define G4VCrossSectionRatio_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VCrossSectionDataSet.hh"
|
||||
|
||||
class G4ParticleDefinition;
|
||||
|
||||
class G4VCrossSectionRatio
|
||||
class G4VCrossSectionRatio : G4VCrossSectionDataSet
|
||||
{
|
||||
public:
|
||||
|
||||
G4VCrossSectionRatio(const G4String& nam = "", G4int verb = 0);
|
||||
G4VCrossSectionRatio(const G4String& nam = "XSRatio", G4int verb = 0);
|
||||
|
||||
virtual ~G4VCrossSectionRatio();
|
||||
~G4VCrossSectionRatio() override;
|
||||
|
||||
virtual
|
||||
G4double ComputeRatio(const G4ParticleDefinition*,
|
||||
G4double kinEnergy,
|
||||
G4int /*Z*/, G4int /*A*/) = 0;
|
||||
|
||||
virtual
|
||||
void BuildPhysicsTable(const G4ParticleDefinition&);
|
||||
|
||||
virtual
|
||||
void DumpPhysicsTable(const G4ParticleDefinition&);
|
||||
|
||||
virtual
|
||||
void Description() const;
|
||||
|
||||
inline void SetVerboseLevel(G4int value);
|
||||
|
||||
inline G4int GetVerboseLevel() const;
|
||||
|
||||
inline const G4String& GetName() const;
|
||||
|
||||
private:
|
||||
|
||||
G4VCrossSectionRatio & operator=(const G4VCrossSectionRatio &right);
|
||||
G4VCrossSectionRatio(const G4VCrossSectionRatio&);
|
||||
|
||||
G4int verboseLevel;
|
||||
const G4String name;
|
||||
};
|
||||
|
||||
inline void G4VCrossSectionRatio::SetVerboseLevel(G4int value)
|
||||
{
|
||||
verboseLevel = value;
|
||||
}
|
||||
|
||||
inline G4int G4VCrossSectionRatio::GetVerboseLevel() const
|
||||
{
|
||||
return verboseLevel;
|
||||
}
|
||||
|
||||
inline const G4String& G4VCrossSectionRatio::GetName() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user