Geant4-11
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes
G4VComponentCrossSection Class Referenceabstract

#include <G4VComponentCrossSection.hh>

Inheritance diagram for G4VComponentCrossSection:
G4ChipsComponentXS G4ComponentAntiNuclNuclearXS G4ComponentBarNucleonNucleusXsc G4ComponentGGHadronNucleusXsc G4ComponentGGNuclNuclXsc G4ComponentSAIDTotalXS

Public Member Functions

virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual G4double ComputeQuasiElasticRatio (const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
 
virtual void Description (std::ostream &) const
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
 G4VComponentCrossSection (const G4String &nam="")
 
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
 
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 GetMaxKinEnergy () const
 
G4double GetMinKinEnergy () const
 
const G4StringGetName () const
 
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
 
G4int GetVerboseLevel () const
 
void SetMaxKinEnergy (G4double value)
 
void SetMinKinEnergy (G4double value)
 
void SetVerboseLevel (G4int value)
 
virtual ~G4VComponentCrossSection ()
 

Private Member Functions

 G4VComponentCrossSection (const G4VComponentCrossSection &)
 
G4VComponentCrossSectionoperator= (const G4VComponentCrossSection &right)
 

Private Attributes

G4double maxKinEnergy
 
G4double minKinEnergy
 
const G4String name
 
G4CrossSectionDataSetRegistryregistry
 
G4int verboseLevel
 

Detailed Description

Definition at line 53 of file G4VComponentCrossSection.hh.

Constructor & Destructor Documentation

◆ G4VComponentCrossSection() [1/2]

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

◆ ~G4VComponentCrossSection()

G4VComponentCrossSection::~G4VComponentCrossSection ( )
virtual

Definition at line 50 of file G4VComponentCrossSection.cc.

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

References G4CrossSectionDataSetRegistry::DeRegister(), and registry.

◆ G4VComponentCrossSection() [2/2]

G4VComponentCrossSection::G4VComponentCrossSection ( const G4VComponentCrossSection )
private

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 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:132
G4double GetN() const
Definition: G4Element.hh:135
G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)

References GetElasticElementCrossSection(), G4Element::GetN(), and G4Element::GetZasInt().

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

◆ 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}

References maxKinEnergy.

◆ GetMinKinEnergy()

G4double G4VComponentCrossSection::GetMinKinEnergy ( ) const
inline

Definition at line 193 of file G4VComponentCrossSection.hh.

194{
195 return minKinEnergy;
196}

References minKinEnergy.

◆ GetName()

const G4String & G4VComponentCrossSection::GetName ( ) const
inline

Definition at line 208 of file G4VComponentCrossSection.hh.

209{
210 return name;
211}

References name.

◆ 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 *)

References G4Element::GetN(), GetTotalElementCrossSection(), and G4Element::GetZasInt().

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}

References verboseLevel.

Referenced by G4ComponentSAIDTotalXS::ReadData().

◆ operator=()

G4VComponentCrossSection & G4VComponentCrossSection::operator= ( const G4VComponentCrossSection right)
private

◆ SetMaxKinEnergy()

void G4VComponentCrossSection::SetMaxKinEnergy ( G4double  value)
inline

Definition at line 198 of file G4VComponentCrossSection.hh.

199{
200 maxKinEnergy = value;
201}

References maxKinEnergy.

◆ SetMinKinEnergy()

void G4VComponentCrossSection::SetMinKinEnergy ( G4double  value)
inline

Definition at line 188 of file G4VComponentCrossSection.hh.

189{
190 minKinEnergy = value;
191}

References minKinEnergy.

◆ SetVerboseLevel()

void G4VComponentCrossSection::SetVerboseLevel ( G4int  value)
inline

Definition at line 178 of file G4VComponentCrossSection.hh.

179{
180 verboseLevel = value;
181}

References verboseLevel.

Field Documentation

◆ maxKinEnergy

G4double G4VComponentCrossSection::maxKinEnergy
private

Definition at line 143 of file G4VComponentCrossSection.hh.

Referenced by GetMaxKinEnergy(), and SetMaxKinEnergy().

◆ minKinEnergy

G4double G4VComponentCrossSection::minKinEnergy
private

Definition at line 142 of file G4VComponentCrossSection.hh.

Referenced by GetMinKinEnergy(), and SetMinKinEnergy().

◆ name

const G4String G4VComponentCrossSection::name
private

◆ registry

G4CrossSectionDataSetRegistry* G4VComponentCrossSection::registry
private

◆ verboseLevel

G4int G4VComponentCrossSection::verboseLevel
private

Definition at line 140 of file G4VComponentCrossSection.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


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