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

#include <G4PenelopeOscillator.hh>

Public Member Functions

 G4PenelopeOscillator ()
 
 G4PenelopeOscillator (const G4PenelopeOscillator &)
 
 ~G4PenelopeOscillator ()
 
G4PenelopeOscillatoroperator= (const G4PenelopeOscillator &)
 
int operator== (const G4PenelopeOscillator &) const
 
int operator> (const G4PenelopeOscillator &) const
 
int operator< (const G4PenelopeOscillator &) const
 
G4double GetHartreeFactor ()
 
void SetHartreeFactor (G4double hf)
 
G4double GetIonisationEnergy ()
 
void SetIonisationEnergy (G4double ie)
 
G4double GetResonanceEnergy () const
 
void SetResonanceEnergy (G4double re)
 
G4double GetOscillatorStrength ()
 
void SetOscillatorStrength (G4double ostr)
 
G4int GetShellFlag ()
 
void SetShellFlag (G4int theflag)
 
G4double GetParentZ ()
 
void SetParentZ (G4double parZ)
 
G4int GetParentShellID ()
 
void SetParentShellID (G4int psID)
 
G4double GetCutoffRecoilResonantEnergy ()
 
void SetCutoffRecoilResonantEnergy (G4double ene)
 

Detailed Description

Definition at line 47 of file G4PenelopeOscillator.hh.

Constructor & Destructor Documentation

◆ G4PenelopeOscillator() [1/2]

G4PenelopeOscillator::G4PenelopeOscillator ( )

Definition at line 38 of file G4PenelopeOscillator.cc.

38 :
39 hartreeFactor(0), ionisationEnergy(0*eV), resonanceEnergy(0*eV),
40 oscillatorStrength(0), shellFlag(-1), parentZ(0),
41 parentShellID(-1),cutoffRecoilResonantEnergy(0*eV)
42{;}

◆ G4PenelopeOscillator() [2/2]

G4PenelopeOscillator::G4PenelopeOscillator ( const G4PenelopeOscillator right)

Definition at line 46 of file G4PenelopeOscillator.cc.

47{
48 hartreeFactor = right.hartreeFactor;
49 ionisationEnergy = right.ionisationEnergy;
50 resonanceEnergy = right.resonanceEnergy;
51 oscillatorStrength = right.oscillatorStrength;
52 shellFlag = right.shellFlag;
53 parentZ = right.parentZ;
54 parentShellID = right.parentShellID;
55 cutoffRecoilResonantEnergy = right.cutoffRecoilResonantEnergy;
56}

◆ ~G4PenelopeOscillator()

G4PenelopeOscillator::~G4PenelopeOscillator ( )
inline

Definition at line 54 of file G4PenelopeOscillator.hh.

54{;};

Member Function Documentation

◆ GetCutoffRecoilResonantEnergy()

G4double G4PenelopeOscillator::GetCutoffRecoilResonantEnergy ( )
inline

Definition at line 84 of file G4PenelopeOscillator.hh.

84{return cutoffRecoilResonantEnergy;};

◆ GetHartreeFactor()

G4double G4PenelopeOscillator::GetHartreeFactor ( )
inline

Definition at line 63 of file G4PenelopeOscillator.hh.

63{return hartreeFactor;};

◆ GetIonisationEnergy()

G4double G4PenelopeOscillator::GetIonisationEnergy ( )
inline

Definition at line 66 of file G4PenelopeOscillator.hh.

66{return ionisationEnergy;};

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

◆ GetOscillatorStrength()

G4double G4PenelopeOscillator::GetOscillatorStrength ( )
inline

Definition at line 72 of file G4PenelopeOscillator.hh.

72{return oscillatorStrength;};

◆ GetParentShellID()

G4int G4PenelopeOscillator::GetParentShellID ( )
inline

Definition at line 81 of file G4PenelopeOscillator.hh.

81{return parentShellID;};

◆ GetParentZ()

G4double G4PenelopeOscillator::GetParentZ ( )
inline

Definition at line 78 of file G4PenelopeOscillator.hh.

78{return parentZ;};

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

◆ GetResonanceEnergy()

G4double G4PenelopeOscillator::GetResonanceEnergy ( ) const
inline

◆ GetShellFlag()

G4int G4PenelopeOscillator::GetShellFlag ( )
inline

Definition at line 75 of file G4PenelopeOscillator.hh.

75{return shellFlag;};

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

◆ operator<()

int G4PenelopeOscillator::operator< ( const G4PenelopeOscillator right) const

Definition at line 96 of file G4PenelopeOscillator.cc.

97{
98 //Oscillator are ordered according to the ionisation energy.
99 return (ionisationEnergy < right.ionisationEnergy) ? 1 : 0;
100}

◆ operator=()

G4PenelopeOscillator & G4PenelopeOscillator::operator= ( const G4PenelopeOscillator right)

Definition at line 60 of file G4PenelopeOscillator.cc.

61{
62 if (this == &right)
63 return *this;
64
65 hartreeFactor = right.hartreeFactor;
66 ionisationEnergy = right.ionisationEnergy;
67 resonanceEnergy = right.resonanceEnergy;
68 oscillatorStrength = right.oscillatorStrength;
69 shellFlag = right.shellFlag;
70 parentZ = right.parentZ;
71 parentShellID = right.parentShellID;
72 cutoffRecoilResonantEnergy = right.cutoffRecoilResonantEnergy;
73 return *this;
74}

◆ operator==()

int G4PenelopeOscillator::operator== ( const G4PenelopeOscillator right) const

Definition at line 78 of file G4PenelopeOscillator.cc.

79{
80 //Oscillator are ordered according to the ionisation energy. They are considered to be
81 //equal if the ionisation energy is the same
82 return (ionisationEnergy == right.ionisationEnergy) ? 1 : 0;
83}

◆ operator>()

int G4PenelopeOscillator::operator> ( const G4PenelopeOscillator right) const

Definition at line 87 of file G4PenelopeOscillator.cc.

88{
89 //Oscillator are ordered according to the ionisation energy.
90 return (ionisationEnergy > right.ionisationEnergy) ? 1 : 0;
91}

◆ SetCutoffRecoilResonantEnergy()

void G4PenelopeOscillator::SetCutoffRecoilResonantEnergy ( G4double  ene)
inline

Definition at line 85 of file G4PenelopeOscillator.hh.

85{cutoffRecoilResonantEnergy = ene;};

◆ SetHartreeFactor()

void G4PenelopeOscillator::SetHartreeFactor ( G4double  hf)
inline

Definition at line 64 of file G4PenelopeOscillator.hh.

64{hartreeFactor = hf;};

◆ SetIonisationEnergy()

void G4PenelopeOscillator::SetIonisationEnergy ( G4double  ie)
inline

Definition at line 67 of file G4PenelopeOscillator.hh.

67{ionisationEnergy = ie;};

◆ SetOscillatorStrength()

void G4PenelopeOscillator::SetOscillatorStrength ( G4double  ostr)
inline

Definition at line 73 of file G4PenelopeOscillator.hh.

73{oscillatorStrength=ostr;};

◆ SetParentShellID()

void G4PenelopeOscillator::SetParentShellID ( G4int  psID)
inline

Definition at line 82 of file G4PenelopeOscillator.hh.

82{parentShellID = psID;};

◆ SetParentZ()

void G4PenelopeOscillator::SetParentZ ( G4double  parZ)
inline

Definition at line 79 of file G4PenelopeOscillator.hh.

79{parentZ = parZ;};

◆ SetResonanceEnergy()

void G4PenelopeOscillator::SetResonanceEnergy ( G4double  re)
inline

Definition at line 70 of file G4PenelopeOscillator.hh.

70{resonanceEnergy = re;};

◆ SetShellFlag()

void G4PenelopeOscillator::SetShellFlag ( G4int  theflag)
inline

Definition at line 76 of file G4PenelopeOscillator.hh.

76{shellFlag=theflag;};

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