Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4CrossSectionInelastic Class Reference

#include <G4CrossSectionInelastic.hh>

Inheritance diagram for G4CrossSectionInelastic:
Collaboration diagram for G4CrossSectionInelastic:

Public Member Functions

 G4CrossSectionInelastic (G4VComponentCrossSection *, G4int zmin=0, G4int zmax=256, G4double Emin=0.0, G4double Emax=DBL_MAX)
 
virtual ~G4CrossSectionInelastic ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual void CrossSectionDescription (std::ostream &) const
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
 
virtual G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4StringGetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VCrossSectionDataSet
void SetName (const G4String &)
 
- Protected Attributes inherited from G4VCrossSectionDataSet
G4int verboseLevel
 

Detailed Description

Definition at line 61 of file G4CrossSectionInelastic.hh.

Constructor & Destructor Documentation

G4CrossSectionInelastic::G4CrossSectionInelastic ( G4VComponentCrossSection c,
G4int  zmin = 0,
G4int  zmax = 256,
G4double  Emin = 0.0,
G4double  Emax = DBL_MAX 
)

Definition at line 54 of file G4CrossSectionInelastic.cc.

57  : G4VCrossSectionDataSet(c->GetName()), component(c),
58  Zmin(zmin),Zmax(zmax)
59 {
60  nist = G4NistManager::Instance();
63 }
G4VCrossSectionDataSet(const G4String &nam="")
static G4NistManager * Instance()
void SetMinKinEnergy(G4double value)
void SetMaxKinEnergy(G4double value)
static const G4double Emin
static const G4double Emax
const G4String & GetName() const

Here is the call graph for this function:

G4CrossSectionInelastic::~G4CrossSectionInelastic ( )
virtual

Definition at line 65 of file G4CrossSectionInelastic.cc.

66 {}

Member Function Documentation

void G4CrossSectionInelastic::BuildPhysicsTable ( const G4ParticleDefinition p)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 86 of file G4CrossSectionInelastic.cc.

87 {
88  component->BuildPhysicsTable(p);
89 }
virtual void BuildPhysicsTable(const G4ParticleDefinition &)

Here is the call graph for this function:

void G4CrossSectionInelastic::CrossSectionDescription ( std::ostream &  ) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 97 of file G4CrossSectionInelastic.cc.

98 {
99  component->Description();
100 }
virtual void Description() const

Here is the call graph for this function:

void G4CrossSectionInelastic::DumpPhysicsTable ( const G4ParticleDefinition p)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 91 of file G4CrossSectionInelastic.cc.

92 {
93  component->DumpPhysicsTable(p);
94 }
virtual void DumpPhysicsTable(const G4ParticleDefinition &)

Here is the call graph for this function:

G4double G4CrossSectionInelastic::GetElementCrossSection ( const G4DynamicParticle p,
G4int  Z,
const G4Material mat = 0 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 77 of file G4CrossSectionInelastic.cc.

80 {
81  return component->GetInelasticElementCrossSection(p->GetDefinition(),
82  p->GetKineticEnergy(),
83  Z, nist->GetAtomicMassAmu(Z));
84 }
G4double GetKineticEnergy() const
G4ParticleDefinition * GetDefinition() const
G4double GetInelasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)
G4double GetAtomicMassAmu(const G4String &symb) const

Here is the call graph for this function:

G4bool G4CrossSectionInelastic::IsElementApplicable ( const G4DynamicParticle p,
G4int  Z,
const G4Material mat = 0 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 68 of file G4CrossSectionInelastic.cc.

70 {
71  G4double e = p->GetKineticEnergy();
72  return
73  (Z >= Zmin && Z <= Zmax && e >= GetMinKinEnergy() && e <= GetMaxKinEnergy());
74 }
G4double GetKineticEnergy() const
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:


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