Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VComponentCrossSection Class Referenceabstract

#include <G4VComponentCrossSection.hh>

+ Inheritance diagram for G4VComponentCrossSection:

Public Member Functions

 G4VComponentCrossSection (const G4String &nam="")
 
virtual ~G4VComponentCrossSection ()
 
G4double GetTotalElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)
 
virtual G4double GetTotalElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)=0
 
virtual G4double GetTotalIsotopeCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
 
G4double GetInelasticElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)
 
virtual G4double GetInelasticElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)=0
 
virtual G4double GetInelasticIsotopeCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
 
G4double GetElasticElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)
 
virtual G4double GetElasticElementCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)=0
 
virtual G4double GetElasticIsotopeCrossSection (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
 
virtual G4double ComputeQuasiElasticRatio (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual void Description () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4StringGetName () const
 

Detailed Description

Definition at line 52 of file G4VComponentCrossSection.hh.

Constructor & Destructor Documentation

◆ G4VComponentCrossSection()

G4VComponentCrossSection::G4VComponentCrossSection ( const G4String nam = "")

Definition at line 42 of file G4VComponentCrossSection.cc.

42 :
43 verboseLevel(0),minKinEnergy(0.0),maxKinEnergy(DBL_MAX),name(nam)
44{}
#define DBL_MAX
Definition: templates.hh:83

◆ ~G4VComponentCrossSection()

G4VComponentCrossSection::~G4VComponentCrossSection ( )
virtual

Definition at line 46 of file G4VComponentCrossSection.cc.

47{}

Member Function Documentation

◆ BuildPhysicsTable()

void G4VComponentCrossSection::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

◆ ComputeQuasiElasticRatio()

G4double G4VComponentCrossSection::ComputeQuasiElasticRatio ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4int   
)
virtual

Reimplemented in G4ComponentGGHadronNucleusXsc, and G4ComponentGGNuclNuclXsc.

Definition at line 50 of file G4VComponentCrossSection.cc.

53{
54 return 0.0;
55}

◆ Description()

void G4VComponentCrossSection::Description ( ) const
virtual

◆ DumpPhysicsTable()

void G4VComponentCrossSection::DumpPhysicsTable ( const G4ParticleDefinition )
virtual

◆ GetElasticElementCrossSection() [1/2]

G4double G4VComponentCrossSection::GetElasticElementCrossSection ( const G4ParticleDefinition p,
G4double  kinEnergy,
const G4Element elm 
)
inline

Definition at line 167 of file G4VComponentCrossSection.hh.

171{
172 return GetElasticElementCrossSection(p,kinEnergy,
173 (G4int)elm->GetZ(),elm->GetN());
174}
int G4int
Definition: G4Types.hh:66
G4double GetZ() const
Definition: G4Element.hh:131
G4double GetN() const
Definition: G4Element.hh:134
G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)

Referenced by GetElasticElementCrossSection(), and G4CrossSectionElastic::GetElementCrossSection().

◆ GetElasticElementCrossSection() [2/2]

virtual G4double G4VComponentCrossSection::GetElasticElementCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4double   
)
pure virtual

◆ GetElasticIsotopeCrossSection()

virtual G4double G4VComponentCrossSection::GetElasticIsotopeCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4int   
)
pure virtual

◆ GetInelasticElementCrossSection() [1/2]

G4double G4VComponentCrossSection::GetInelasticElementCrossSection ( const G4ParticleDefinition p,
G4double  kinEnergy,
const G4Element elm 
)
inline

Definition at line 157 of file G4VComponentCrossSection.hh.

161{
162 return GetInelasticElementCrossSection(p,kinEnergy,
163 (G4int)elm->GetZ(),elm->GetN());
164}
G4double GetInelasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)

Referenced by G4CrossSectionInelastic::GetElementCrossSection(), and GetInelasticElementCrossSection().

◆ GetInelasticElementCrossSection() [2/2]

virtual G4double G4VComponentCrossSection::GetInelasticElementCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4double   
)
pure virtual

◆ GetInelasticIsotopeCrossSection()

virtual G4double G4VComponentCrossSection::GetInelasticIsotopeCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4int   
)
pure virtual

◆ GetMaxKinEnergy()

G4double G4VComponentCrossSection::GetMaxKinEnergy ( ) const
inline

Definition at line 201 of file G4VComponentCrossSection.hh.

202{
203 return maxKinEnergy;
204}

◆ GetMinKinEnergy()

G4double G4VComponentCrossSection::GetMinKinEnergy ( ) const
inline

Definition at line 191 of file G4VComponentCrossSection.hh.

192{
193 return minKinEnergy;
194}

◆ GetName()

const G4String & G4VComponentCrossSection::GetName ( ) const
inline

Definition at line 206 of file G4VComponentCrossSection.hh.

207{
208 return name;
209}

◆ GetTotalElementCrossSection() [1/2]

G4double G4VComponentCrossSection::GetTotalElementCrossSection ( const G4ParticleDefinition p,
G4double  kinEnergy,
const G4Element elm 
)
inline

Definition at line 147 of file G4VComponentCrossSection.hh.

151{
152 return GetTotalElementCrossSection(p,kinEnergy,
153 (G4int)elm->GetZ(),elm->GetN());
154}
G4double GetTotalElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)

Referenced by GetTotalElementCrossSection().

◆ GetTotalElementCrossSection() [2/2]

virtual G4double G4VComponentCrossSection::GetTotalElementCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4double   
)
pure virtual

◆ GetTotalIsotopeCrossSection()

virtual G4double G4VComponentCrossSection::GetTotalIsotopeCrossSection ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4int  ,
G4int   
)
pure virtual

◆ GetVerboseLevel()

G4int G4VComponentCrossSection::GetVerboseLevel ( ) const
inline

Definition at line 181 of file G4VComponentCrossSection.hh.

182{
183 return verboseLevel;
184}

◆ SetMaxKinEnergy()

void G4VComponentCrossSection::SetMaxKinEnergy ( G4double  value)
inline

Definition at line 196 of file G4VComponentCrossSection.hh.

197{
198 maxKinEnergy = value;
199}

◆ SetMinKinEnergy()

void G4VComponentCrossSection::SetMinKinEnergy ( G4double  value)
inline

Definition at line 186 of file G4VComponentCrossSection.hh.

187{
188 minKinEnergy = value;
189}

◆ SetVerboseLevel()

void G4VComponentCrossSection::SetVerboseLevel ( G4int  value)
inline

Definition at line 176 of file G4VComponentCrossSection.hh.

177{
178 verboseLevel = value;
179}

The documentation for this class was generated from the following files: