CLASS
1.1
|
00001 #ifndef __EVOLUTIVEPRODUCT_HXX__ 00002 #define __EVOLUTIVEPRODUCT_HXX__ 00003 00013 #include <string> 00014 #include <map> 00015 00016 class ZAI; 00017 class IsotopicVector; 00018 class TGraphErrors; 00019 class LogFile; 00020 00021 using namespace std; 00022 00024 00032 class EvolutiveProduct 00033 { 00034 00035 public : 00036 00037 //********* Constructor/Destructor Method *********// 00039 EvolutiveProduct(LogFile* Log, int A = 0, int Z = 0, int I = 0 , string DBindexfile = "Default_Index.dat"); 00040 00041 EvolutiveProduct(string DBindexfile = "Default_Reactor.dat"); 00042 00044 ~EvolutiveProduct(); 00045 00046 //********* Get Method *********// 00047 map<ZAI ,TGraphErrors* > GetEvolutiveProduct() const {return fEvolutiveProduct;} 00048 TGraphErrors* GetEvolutionTGraphErrors(const ZAI& zai); 00050 IsotopicVector GetIsotopicVectorAt(double t); 00051 00052 00053 protected : 00054 map<ZAI ,TGraphErrors* > fEvolutiveProduct; 00055 void ReadDB(string DBfile); 00056 int fDatabaseEndTime; 00057 double Interpolate(double t, TGraphErrors& EvolutionGraph); 00059 void AddAsStable(int Z, int A, int I=0); 00060 LogFile* fLog; 00061 00062 }; 00063 00064 #endif