1 #ifndef _EvolutionData_ 2 #define _EvolutionData_ 118 void DeleteEvolutionData();
120 void DeleteEvolutionDataCopy();
140 #ifndef __ROOTCLING__ 148 void SetFissionXS(map<ZAI, TGraph*> maptoinsert) { fFissionXS = maptoinsert;}
149 void SetCaptureXS(map<ZAI, TGraph*> maptoinsert) { fCaptureXS = maptoinsert;}
150 void Setn2nXS(map<ZAI, TGraph*> maptoinsert) { fn2nXS = maptoinsert;}
153 void Print(
string filename);
167 #ifndef __ROOTCLING__ 171 map<ZAI ,TGraph* >
Getn2nXS()
const {
return fn2nXS; }
181 TGraph* GetEvolutionTGraph(
const ZAI& zai);
201 double GetXSForAt(
double t,
ZAI zai,
int ReactionId);
217 bool NucleiInsert(pair<ZAI, TGraph*> zaitoinsert);
218 bool FissionXSInsert(pair<ZAI, TGraph*> zaitoinsert);
219 bool CaptureXSInsert(pair<ZAI, TGraph*> zaitoinsert);
220 bool n2nXSInsert(pair<ZAI, TGraph*> zaitoinsert);
232 #ifndef __ROOTCLING__ 253 void OldReadDB(
string DBfile);
254 void ReadDB(
string DBfile,
bool oldread =
false);
255 void ReadKeff(
string line,
double* time,
int NTimeStep);
256 void ReadFlux(
string line,
double* time,
int NTimeStep);
257 void ReadInv(
string line,
double* time,
int NTimeStep);
258 void ReadXSFis(
string line,
double* time,
int NTimeStep);
259 void ReadXSCap(
string line,
double* time,
int NTimeStep);
260 void ReadXSn2n(
string line,
double* time,
int NTimeStep);
264 double Interpolate(
double t, TGraph& EvolutionGraph);
266 void AddAsStable(
ZAI zai);
void SetKeff(TGraph *keff)
Set the keff evolution for the EvolutionData.
Definition: EvolutionData.hxx:142
void SetHeavyMetalMass(double Mass)
Set the heavy metal Mass [t].
Definition: EvolutionData.hxx:135
EvolutionData Multiply(EvolutionData const &evol, double F)
Definition: EvolutionData.cxx:119
double fHeavyMetalMass
Cycle time of the DataBase.
Definition: EvolutionData.hxx:250
TGraph * GetFlux() const
return the evolution of the neutron flux (TGraph*)
Definition: EvolutionData.hxx:173
TGraph * GetKeff() const
return the evolution of the keff (TGraph*)
Definition: EvolutionData.hxx:172
EvolutionData operator*(EvolutionData const &evol, double F)
Definition: EvolutionData.cxx:74
string fFuelType
Type of fuel.
Definition: EvolutionData.hxx:247
map< ZAI,TGraph *> fFissionXS
fission cross section map
Definition: EvolutionData.hxx:234
map< ZAI,TGraph *> GetInventoryEvolution() const
return the EvolutionData map
Definition: EvolutionData.hxx:168
Allows to store & operate on radioactive sample.
Definition: IsotopicVector.hxx:37
void SetReactorType(string reactortype)
Set the reactor type (e.g PWR, FBR-Na,...)
Definition: EvolutionData.hxx:137
EvolutionData Sum(EvolutionData const &evol1, EvolutionData const &evol2)
Definition: EvolutionData.cxx:204
void SetFissionXS(map< ZAI, TGraph *> maptoinsert)
Set fission cross section map.
Definition: EvolutionData.hxx:148
Definition: CLASSBackEndDict.cxx:37
void Setn2nXS(map< ZAI, TGraph *> maptoinsert)
Set (n,2n) cross section map.
Definition: EvolutionData.hxx:150
Header file for ZAI classes.
string fDB_file
Definition: EvolutionData.hxx:229
double Distance(IsotopicVector IV1, EvolutionData Evd1)
Definition: EvolutionData.cxx:26
Defines a nucleus.
Definition: ZAI.hxx:33
void SetCaptureXS(map< ZAI, TGraph *> maptoinsert)
Set capture cross section map.
Definition: EvolutionData.hxx:149
bool fisDecay
Definition: EvolutionData.hxx:243
map< ZAI,TGraph *> Getn2nXS() const
return the (n,2n) cross section map
Definition: EvolutionData.hxx:171
Stores fuel inventory evolution , mean cross sections evolution, flux evolution, power ...
Definition: EvolutionData.hxx:54
map< ZAI,TGraph *> GetFissionXS() const
return the fission cross section map
Definition: EvolutionData.hxx:169
void SetCycleTime(cSecond cycletime)
Set cycletime of the EvolutionData [s].
Definition: EvolutionData.hxx:144
long long int cSecond
Definition: EvolutionData.hxx:24
double GetPower() const
return the power (double)
Definition: EvolutionData.hxx:178
void SetInventoryEvolution(map< ZAI, TGraph *> maptoinsert)
Set EvolutionData map.
Definition: EvolutionData.hxx:147
long long int cSecond
Definition: CLASSConstante.hxx:10
Header file for IsotopicVector class.
double GetHeavyMetalMass() const
Return the heavy metal mass in the core at the begining of the cycle [t].
Definition: EvolutionData.hxx:185
TGraph * fFlux
Flux evolution.
Definition: EvolutionData.hxx:238
bool fIsCrossSection
true if some cross section are present in the database
Definition: EvolutionData.hxx:242
string GetDB_file() const
return the name of the Database file (string)
Definition: EvolutionData.hxx:179
Object to handle output messages.
Definition: CLASSLogger.hxx:144
double fPower
Power in W.
Definition: EvolutionData.hxx:248
cSecond fFinalTime
time of the last point
Definition: EvolutionData.hxx:241
void SetPower(double power)
Set the power of the EvolutionData [W].
Definition: EvolutionData.hxx:139
double fCycleTime
Cycle time of the DataBase.
Definition: EvolutionData.hxx:249
double GetCycleTime() const
return the cycletime (double)
Definition: EvolutionData.hxx:177
Define common proporties of all objects.
Definition: CLASSObject.hxx:39
map< ZAI,TGraph *> fn2nXS
(n,2n) cross section map
Definition: EvolutionData.hxx:236
string GetReactorType() const
return the type of reactor (string)
Definition: EvolutionData.hxx:180
double GetFinalTime() const
return the final time - last point (double)
Definition: EvolutionData.hxx:176
EvolutionData operator/(EvolutionData const &evol, double F)
Definition: EvolutionData.cxx:112
map< ZAI,TGraph *> GetCaptureXS() const
return the capture cross section map
Definition: EvolutionData.hxx:170
string fReactorType
Type of reactor.
Definition: EvolutionData.hxx:246
TGraph * fKeff
Keff evolution.
Definition: EvolutionData.hxx:237
map< ZAI,TGraph *> fInventoryEvolution
!< path to the DataBase file
Definition: EvolutionData.hxx:233
Header file for CLASSObject class.
map< ZAI,TGraph *> fCaptureXS
capture cross section map
Definition: EvolutionData.hxx:235
void SetFuelType(string fueltype)
Set the fuel type (e.g MOX,UOX,...)
Definition: EvolutionData.hxx:138
void SetFlux(TGraph *flux)
Set the neutron flux of the EvolutionData [cm^{-2}.s^{-1}].
Definition: EvolutionData.hxx:141