Geant4 10.7.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 (std::ostream &) 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 53 of file G4VComponentCrossSection.hh.

Constructor & Destructor Documentation

◆ G4VComponentCrossSection()

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

Definition at line 43 of file G4VComponentCrossSection.cc.

43 :
44 verboseLevel(0),minKinEnergy(0.0),maxKinEnergy(DBL_MAX),name(nam)
45{
47 registry->Register(this);
48}
void Register(G4VCrossSectionDataSet *)
static G4CrossSectionDataSetRegistry * Instance()
#define DBL_MAX
Definition: templates.hh:62

◆ ~G4VComponentCrossSection()

G4VComponentCrossSection::~G4VComponentCrossSection ( )
virtual

Definition at line 50 of file G4VComponentCrossSection.cc.

51{
52 registry->DeRegister(this);
53}
void DeRegister(G4VCrossSectionDataSet *)

Member Function Documentation

◆ BuildPhysicsTable()

◆ ComputeQuasiElasticRatio()

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

Reimplemented in G4ComponentGGHadronNucleusXsc, and G4ComponentGGNuclNuclXsc.

Definition at line 56 of file G4VComponentCrossSection.cc.

59{
60 return 0.0;
61}

◆ Description()

void G4VComponentCrossSection::Description ( std::ostream &  ) 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 169 of file G4VComponentCrossSection.hh.

173{
174 return GetElasticElementCrossSection(p,kinEnergy,
175 elm->GetZasInt(),elm->GetN());
176}
G4int GetZasInt() const
Definition: G4Element.hh:131
G4double GetN() const
Definition: G4Element.hh:134
G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)

Referenced by GetElasticElementCrossSection(), G4NeutronElasticXS::GetElementCrossSection(), 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

◆ 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 203 of file G4VComponentCrossSection.hh.

204{
205 return maxKinEnergy;
206}

◆ GetMinKinEnergy()

G4double G4VComponentCrossSection::GetMinKinEnergy ( ) const
inline

Definition at line 193 of file G4VComponentCrossSection.hh.

194{
195 return minKinEnergy;
196}

◆ GetName()

const G4String & G4VComponentCrossSection::GetName ( ) const
inline

Definition at line 208 of file G4VComponentCrossSection.hh.

209{
210 return name;
211}

Referenced by G4CrossSectionPairGG::BuildPhysicsTable().

◆ GetTotalElementCrossSection() [1/2]

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

Definition at line 149 of file G4VComponentCrossSection.hh.

153{
154 return GetTotalElementCrossSection(p,kinEnergy,
155 elm->GetZasInt(),elm->GetN());
156}
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 183 of file G4VComponentCrossSection.hh.

184{
185 return verboseLevel;
186}

◆ SetMaxKinEnergy()

void G4VComponentCrossSection::SetMaxKinEnergy ( G4double  value)
inline

Definition at line 198 of file G4VComponentCrossSection.hh.

199{
200 maxKinEnergy = value;
201}

◆ SetMinKinEnergy()

void G4VComponentCrossSection::SetMinKinEnergy ( G4double  value)
inline

Definition at line 188 of file G4VComponentCrossSection.hh.

189{
190 minKinEnergy = value;
191}

◆ SetVerboseLevel()

void G4VComponentCrossSection::SetVerboseLevel ( G4int  value)
inline

Definition at line 178 of file G4VComponentCrossSection.hh.

179{
180 verboseLevel = value;
181}

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