Geant4  10.02.p03
G4CrossSectionElastic Class Reference

#include <G4CrossSectionElastic.hh>

Inheritance diagram for G4CrossSectionElastic:
Collaboration diagram for G4CrossSectionElastic:

Public Member Functions

 G4CrossSectionElastic (G4VComponentCrossSection *, G4int zmin=0, G4int zmax=256, G4double Emin=0.0, G4double Emax=DBL_MAX)
 
virtual ~G4CrossSectionElastic ()
 
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 G4Isotope * SelectIsotope (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 G4String & GetName () const
 

Private Member Functions

G4CrossSectionElastic & operator= (const G4CrossSectionElastic &right)
 
 G4CrossSectionElastic (const G4CrossSectionElastic &)
 

Private Attributes

G4NistManager * nist
 
G4VComponentCrossSection * component
 
G4int Zmin
 
G4int Zmax
 

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 G4CrossSectionElastic.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionElastic() [1/2]

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

Definition at line 54 of file G4CrossSectionElastic.cc.

58  Zmin(zmin),Zmax(zmax)
59 {
63 }
G4VCrossSectionDataSet(const G4String &nam="")
static G4NistManager * Instance()
void SetMinKinEnergy(G4double value)
const G4String & GetName() const
G4VComponentCrossSection * component
void SetMaxKinEnergy(G4double value)
static const G4double Emin
static const G4double Emax
Here is the call graph for this function:

◆ ~G4CrossSectionElastic()

G4CrossSectionElastic::~G4CrossSectionElastic ( )
virtual

Definition at line 65 of file G4CrossSectionElastic.cc.

66 {}

◆ G4CrossSectionElastic() [2/2]

G4CrossSectionElastic::G4CrossSectionElastic ( const G4CrossSectionElastic &  )
private

Member Function Documentation

◆ BuildPhysicsTable()

void G4CrossSectionElastic::BuildPhysicsTable ( const G4ParticleDefinition &  p)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 86 of file G4CrossSectionElastic.cc.

87 {
89 }
G4VComponentCrossSection * component
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
Here is the call graph for this function:

◆ CrossSectionDescription()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 96 of file G4CrossSectionElastic.cc.

97 {
99 }
G4VComponentCrossSection * component
Here is the call graph for this function:

◆ DumpPhysicsTable()

void G4CrossSectionElastic::DumpPhysicsTable ( const G4ParticleDefinition &  p)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 91 of file G4CrossSectionElastic.cc.

92 {
94 }
G4VComponentCrossSection * component
virtual void DumpPhysicsTable(const G4ParticleDefinition &)
Here is the call graph for this function:

◆ GetElementCrossSection()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 77 of file G4CrossSectionElastic.cc.

80 {
82  p->GetKineticEnergy(),
84 }
G4double GetKineticEnergy() const
Float_t Z
G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, const G4Element *)
G4VComponentCrossSection * component
G4ParticleDefinition * GetDefinition() const
G4double GetAtomicMassAmu(const G4String &symb) const
Here is the call graph for this function:

◆ IsElementApplicable()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 68 of file G4CrossSectionElastic.cc.

70 {
72  return
73  (Z >= Zmin && Z <= Zmax && e >= GetMinKinEnergy() && e <= GetMaxKinEnergy());
74 }
G4double GetKineticEnergy() const
Float_t Z
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:

◆ operator=()

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

Member Data Documentation

◆ component

G4VComponentCrossSection* G4CrossSectionElastic::component
private

Definition at line 94 of file G4CrossSectionElastic.hh.

◆ nist

G4NistManager* G4CrossSectionElastic::nist
private

Definition at line 93 of file G4CrossSectionElastic.hh.

◆ Zmax

G4int G4CrossSectionElastic::Zmax
private

Definition at line 96 of file G4CrossSectionElastic.hh.

◆ Zmin

G4int G4CrossSectionElastic::Zmin
private

Definition at line 95 of file G4CrossSectionElastic.hh.


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