CLASS
1.1
|
00001 #ifndef __Reactor_HXX__ 00002 #define __Reactor_HXX__ 00003 00014 #include "IsotopicVector.hxx" 00015 #include "LogFile.hxx" 00016 00017 using namespace std; 00018 00019 00020 class CLASS; 00021 class TreatmentFactory; 00022 class EvolutiveProduct; 00023 class LogFile; 00024 00025 class Reactor : public TObject 00026 { 00027 public : 00028 00029 Reactor(); 00030 00031 Reactor(EvolutiveProduct* evolutivedb , 00032 TreatmentFactory* TreatmentFactory , 00033 long int creationtime = 0, long int lifetime = (long int)(3600*24*365.4)*50 ); 00034 00035 00036 00037 ~Reactor(); 00038 00039 00040 //********* Get Method *********// 00041 00042 IsotopicVector GetIVReactor() {return fIVReactor;} 00043 IsotopicVector GetIVBeginCycle() {return fIVBeginCycle;} 00044 IsotopicVector GetIVOutCycle() {return fIVOutCycle;} 00045 IsotopicVector GetIVInCycle() {return fIVInCycle;} 00046 long int GetCycleTime() {return fCycleTime;} 00047 long int GetCreationTime() {return fCreationTime;} 00048 long int GetLifeTime() {return fLifeTime;} 00049 00050 EvolutiveProduct* GetEvolutionDB() {return fEvolutionDB;} 00051 TreatmentFactory* GetAssociedTreatmentFactory() {return fAssociedTreatmentFactory;} 00052 LogFile* GetLog() {return fLog;} 00053 00054 //********* Set Method *********// 00055 void SetParc(CLASS* parc) {fParc = parc;} 00056 void SetLog(LogFile* LOG) {fLog = LOG;} 00057 void SetIVReactor(IsotopicVector isotopicvector) {fIVReactor = isotopicvector;} 00058 void SetIVBeginCycle(IsotopicVector isotopicvector) {fIVBeginCycle = isotopicvector;} 00059 void SetIVOutCycle(IsotopicVector isotopicvector) {fIVOutCycle = isotopicvector;} 00060 void SetIVInCycle(IsotopicVector isotopicvector) {fIVInCycle = isotopicvector;} 00061 void SetCycleTime(long int cycletime) {fCycleTime = cycletime;} 00062 void SetEvolutionDB(EvolutiveProduct* evolutionDB) {fEvolutionDB = evolutionDB;} 00063 00064 //********* Modification Method *********// 00065 void Evolution(long int t); 00066 void Dump(); 00067 00068 //********* Other Method *********// 00069 00070 00071 protected : 00072 long int fInternalTime; 00073 long int fInCycleTime; 00074 bool fIsStarted; 00075 bool fShutDown; 00076 bool fEndOfCycle; 00077 00078 00079 //********* Internal Parameter *********// 00080 LogFile* fLog; 00081 CLASS* fParc; 00082 TreatmentFactory* fAssociedTreatmentFactory; 00083 EvolutiveProduct* fEvolutionDB; 00084 00085 00086 long int fCreationTime; 00087 long int fLifeTime; 00088 long int fCycleTime; 00089 00090 IsotopicVector fIVReactor; 00091 IsotopicVector fIVBeginCycle; 00092 IsotopicVector fIVInCycle; 00093 IsotopicVector fIVOutCycle; 00094 00095 00096 ClassDef(Reactor,3); 00097 }; 00098 00099 00100 #endif