File indexing completed on 2025-01-18 09:58:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #ifndef G4PENELOPEOSCILLATOR_HH
0043 #define G4PENELOPEOSCILLATOR_HH 1
0044
0045 #include "globals.hh"
0046
0047 class G4PenelopeOscillator
0048 {
0049 public:
0050 explicit G4PenelopeOscillator();
0051 G4PenelopeOscillator(const G4PenelopeOscillator&);
0052
0053 ~G4PenelopeOscillator(){;};
0054
0055
0056 G4PenelopeOscillator& operator=(const G4PenelopeOscillator&);
0057 G4bool operator==(const G4PenelopeOscillator&) const;
0058 G4bool operator>(const G4PenelopeOscillator&) const;
0059 G4bool operator<(const G4PenelopeOscillator&) const;
0060
0061
0062 G4double GetHartreeFactor() {return fHartreeFactor;};
0063 void SetHartreeFactor(G4double hf) {fHartreeFactor = hf;};
0064
0065 G4double GetIonisationEnergy() {return fIonisationEnergy;};
0066 void SetIonisationEnergy(G4double ie) {fIonisationEnergy = ie;};
0067
0068 G4double GetResonanceEnergy() const {return fResonanceEnergy;};
0069 void SetResonanceEnergy(G4double re) {fResonanceEnergy = re;};
0070
0071 G4double GetOscillatorStrength() {return fOscillatorStrength;};
0072 void SetOscillatorStrength(G4double ostr) {fOscillatorStrength=ostr;};
0073
0074 G4int GetShellFlag() {return fShellFlag;};
0075 void SetShellFlag(G4int theflag) {fShellFlag=theflag;};
0076
0077 G4double GetParentZ() {return fParentZ;};
0078 void SetParentZ(G4double parZ) {fParentZ = parZ;};
0079
0080 G4int GetParentShellID() {return fParentShellID;};
0081 void SetParentShellID(G4int psID) {fParentShellID = psID;};
0082
0083 G4double GetCutoffRecoilResonantEnergy(){return fCutoffRecoilResonantEnergy;};
0084 void SetCutoffRecoilResonantEnergy(G4double ene){fCutoffRecoilResonantEnergy = ene;};
0085
0086 private:
0087 G4double fHartreeFactor;
0088 G4double fIonisationEnergy;
0089 G4double fResonanceEnergy;
0090 G4double fOscillatorStrength;
0091 G4double fParentZ;
0092 G4double fCutoffRecoilResonantEnergy;
0093 G4int fParentShellID;
0094 G4int fShellFlag;
0095 };
0096
0097 struct G4PenelopeOscillatorResEnergyComparator
0098 {
0099 public:
0100 G4int operator()(const G4PenelopeOscillator& left,
0101 const G4PenelopeOscillator& right)
0102 {return ((left.GetResonanceEnergy() < right.GetResonanceEnergy()) ? 1 : 0);};
0103 };
0104
0105 #endif
0106