00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059 #ifndef G4NUCLEARLEVEL_HH
00060 #define G4NUCLEARLEVEL_HH 1
00061
00062 #include "globals.hh"
00063 #include <vector>
00064
00065 class G4NuclearLevel
00066 {
00067
00068 public:
00069 G4NuclearLevel(G4double energy, G4double halfLife,
00070 G4double angularMomentum, const std::vector<G4double>& eGamma,
00071 const std::vector<G4double>& wGamma, const std::vector<G4double>& polarities,
00072 const std::vector<G4double>& kCC, const std::vector<G4double>& l1CC,
00073 const std::vector<G4double>& l2CC, const std::vector<G4double>& l3CC,
00074 const std::vector<G4double>& m1CC, const std::vector<G4double>& m2CC,
00075 const std::vector<G4double>& m3CC, const std::vector<G4double>& m4CC,
00076 const std::vector<G4double>& m5CC, const std::vector<G4double>& nPlusCC,
00077 const std::vector<G4double>& totalCC);
00078
00079 ~G4NuclearLevel();
00080
00081 const std::vector<G4double>& GammaEnergies() const;
00082
00083 const std::vector<G4double>& GammaWeights() const;
00084
00085 const std::vector<G4double>& GammaProbabilities() const;
00086
00087 const std::vector<G4double>& GammaCumulativeProbabilities() const;
00088
00089 const std::vector<G4double>& GammaPolarities() const;
00090
00091 const std::vector<G4double>& KConvertionProbabilities() const;
00092
00093 const std::vector<G4double>& L1ConvertionProbabilities() const;
00094
00095 const std::vector<G4double>& L2ConvertionProbabilities() const;
00096
00097 const std::vector<G4double>& L3ConvertionProbabilities() const;
00098
00099 const std::vector<G4double>& M1ConvertionProbabilities() const;
00100
00101 const std::vector<G4double>& M2ConvertionProbabilities() const;
00102
00103 const std::vector<G4double>& M3ConvertionProbabilities() const;
00104
00105 const std::vector<G4double>& M4ConvertionProbabilities() const;
00106
00107 const std::vector<G4double>& M5ConvertionProbabilities() const;
00108
00109 const std::vector<G4double>& NPlusConvertionProbabilities() const;
00110
00111 const std::vector<G4double>& TotalConvertionProbabilities() const;
00112
00113 G4double Energy() const;
00114
00115 G4double AngularMomentum() const;
00116
00117 G4double HalfLife() const;
00118
00119 G4int NumberOfGammas() const;
00120
00121 void PrintAll() const;
00122
00123 G4bool operator==(const G4NuclearLevel &right) const;
00124 G4bool operator!=(const G4NuclearLevel &right) const;
00125 G4bool operator<(const G4NuclearLevel &right) const;
00126 G4NuclearLevel& operator=(const G4NuclearLevel &right);
00127
00128 G4NuclearLevel(const G4NuclearLevel &right);
00129
00130 private:
00131
00132 friend class G4NuclearLevelManager;
00133
00134 G4NuclearLevel();
00135
00136 G4NuclearLevel(G4double energy, G4double halfLife,
00137 G4double angularMomentum);
00138
00139 void Finalize();
00140
00141 void MakeProbabilities();
00142 void MakeCumProb();
00143
00144 G4int Increment(G4int aF);
00145
00146 std::vector<G4double> _energies;
00147 std::vector<G4double> _weights;
00148 std::vector<G4double> _prob;
00149 std::vector<G4double> _cumProb;
00150 std::vector<G4double> _polarities;
00151 std::vector<G4double> _kCC;
00152 std::vector<G4double> _l1CC;
00153 std::vector<G4double> _l2CC;
00154 std::vector<G4double> _l3CC;
00155 std::vector<G4double> _m1CC;
00156 std::vector<G4double> _m2CC;
00157 std::vector<G4double> _m3CC;
00158 std::vector<G4double> _m4CC;
00159 std::vector<G4double> _m5CC;
00160 std::vector<G4double> _nPlusCC;
00161 std::vector<G4double> _totalCC;
00162
00163 G4double _energy;
00164 G4double _halfLife;
00165 G4double _angularMomentum;
00166 G4int _nGammas;
00167 };
00168
00169 #endif
00170
00171
00172
00173
00174
00175