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::G4PenelopeOscillator (  ) 

Definition at line 38 of file G4PenelopeOscillator.cc.

00038                                            :
00039  hartreeFactor(0), ionisationEnergy(0*eV), resonanceEnergy(0*eV),
00040  oscillatorStrength(0), shellFlag(-1), parentZ(0),
00041  parentShellID(-1),cutoffRecoilResonantEnergy(0*eV)
00042 {;}

G4PenelopeOscillator::G4PenelopeOscillator ( const G4PenelopeOscillator  ) 

Definition at line 46 of file G4PenelopeOscillator.cc.

References cutoffRecoilResonantEnergy, hartreeFactor, ionisationEnergy, oscillatorStrength, parentShellID, parentZ, resonanceEnergy, and shellFlag.

00047 {
00048   hartreeFactor = right.hartreeFactor;
00049   ionisationEnergy = right.ionisationEnergy;
00050   resonanceEnergy = right.resonanceEnergy;
00051   oscillatorStrength = right.oscillatorStrength;
00052   shellFlag = right.shellFlag;
00053   parentZ = right.parentZ;
00054   parentShellID = right.parentShellID;
00055   cutoffRecoilResonantEnergy = right.cutoffRecoilResonantEnergy;
00056 }

G4PenelopeOscillator::~G4PenelopeOscillator (  )  [inline]

Definition at line 54 of file G4PenelopeOscillator.hh.

00054 {;};


Member Function Documentation

G4double G4PenelopeOscillator::GetCutoffRecoilResonantEnergy (  )  [inline]

Definition at line 84 of file G4PenelopeOscillator.hh.

00084 {return cutoffRecoilResonantEnergy;};

G4double G4PenelopeOscillator::GetHartreeFactor (  )  [inline]

Definition at line 63 of file G4PenelopeOscillator.hh.

00063 {return hartreeFactor;};

G4double G4PenelopeOscillator::GetIonisationEnergy (  )  [inline]

Definition at line 66 of file G4PenelopeOscillator.hh.

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

00066 {return ionisationEnergy;};

G4double G4PenelopeOscillator::GetOscillatorStrength (  )  [inline]

Definition at line 72 of file G4PenelopeOscillator.hh.

00072 {return oscillatorStrength;};

G4int G4PenelopeOscillator::GetParentShellID (  )  [inline]

Definition at line 81 of file G4PenelopeOscillator.hh.

00081 {return parentShellID;};

G4double G4PenelopeOscillator::GetParentZ (  )  [inline]

Definition at line 78 of file G4PenelopeOscillator.hh.

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

00078 {return parentZ;};

G4double G4PenelopeOscillator::GetResonanceEnergy (  )  const [inline]

Definition at line 69 of file G4PenelopeOscillator.hh.

Referenced by G4PenelopeIonisationCrossSection::CrossSection(), and G4PenelopeOscillatorResEnergyComparator::operator()().

00069 {return resonanceEnergy;};

G4int G4PenelopeOscillator::GetShellFlag (  )  [inline]

Definition at line 75 of file G4PenelopeOscillator.hh.

Referenced by G4PenelopeIonisationCrossSection::CrossSection().

00075 {return shellFlag;};

int G4PenelopeOscillator::operator< ( const G4PenelopeOscillator  )  const

Definition at line 96 of file G4PenelopeOscillator.cc.

References ionisationEnergy.

00097 {
00098   //Oscillator are ordered according to the ionisation energy. 
00099   return (ionisationEnergy < right.ionisationEnergy) ? 1 : 0;
00100 }

G4PenelopeOscillator & G4PenelopeOscillator::operator= ( const G4PenelopeOscillator  ) 

Definition at line 60 of file G4PenelopeOscillator.cc.

References cutoffRecoilResonantEnergy, hartreeFactor, ionisationEnergy, oscillatorStrength, parentShellID, parentZ, resonanceEnergy, and shellFlag.

00061 {
00062   if (this == &right)  
00063     return *this; 
00064 
00065   hartreeFactor = right.hartreeFactor;
00066   ionisationEnergy = right.ionisationEnergy;
00067   resonanceEnergy = right.resonanceEnergy;
00068   oscillatorStrength = right.oscillatorStrength;
00069   shellFlag = right.shellFlag;
00070   parentZ = right.parentZ;
00071   parentShellID = right.parentShellID; 
00072   cutoffRecoilResonantEnergy = right.cutoffRecoilResonantEnergy;
00073   return *this;
00074 }

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

Definition at line 78 of file G4PenelopeOscillator.cc.

References ionisationEnergy.

00079 {
00080   //Oscillator are ordered according to the ionisation energy. They are considered to be
00081   //equal if the ionisation energy is the same
00082   return (ionisationEnergy == right.ionisationEnergy) ? 1 : 0;
00083 }

int G4PenelopeOscillator::operator> ( const G4PenelopeOscillator  )  const

Definition at line 87 of file G4PenelopeOscillator.cc.

References ionisationEnergy.

00088 {
00089   //Oscillator are ordered according to the ionisation energy. 
00090   return (ionisationEnergy > right.ionisationEnergy) ? 1 : 0;
00091 }

void G4PenelopeOscillator::SetCutoffRecoilResonantEnergy ( G4double  ene  )  [inline]

Definition at line 85 of file G4PenelopeOscillator.hh.

00085 {cutoffRecoilResonantEnergy = ene;};

void G4PenelopeOscillator::SetHartreeFactor ( G4double  hf  )  [inline]

Definition at line 64 of file G4PenelopeOscillator.hh.

00064 {hartreeFactor = hf;};

void G4PenelopeOscillator::SetIonisationEnergy ( G4double  ie  )  [inline]

Definition at line 67 of file G4PenelopeOscillator.hh.

00067 {ionisationEnergy = ie;};

void G4PenelopeOscillator::SetOscillatorStrength ( G4double  ostr  )  [inline]

Definition at line 73 of file G4PenelopeOscillator.hh.

00073 {oscillatorStrength=ostr;};

void G4PenelopeOscillator::SetParentShellID ( G4int  psID  )  [inline]

Definition at line 82 of file G4PenelopeOscillator.hh.

00082 {parentShellID = psID;};

void G4PenelopeOscillator::SetParentZ ( G4double  parZ  )  [inline]

Definition at line 79 of file G4PenelopeOscillator.hh.

00079 {parentZ = parZ;};

void G4PenelopeOscillator::SetResonanceEnergy ( G4double  re  )  [inline]

Definition at line 70 of file G4PenelopeOscillator.hh.

00070 {resonanceEnergy = re;};

void G4PenelopeOscillator::SetShellFlag ( G4int  theflag  )  [inline]

Definition at line 76 of file G4PenelopeOscillator.hh.

00076 {shellFlag=theflag;};


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:52 2013 for Geant4 by  doxygen 1.4.7