Skip to content
Snippets Groups Projects
Commit b7b73441 authored by Ernoult's avatar Ernoult
Browse files

Modification to the CalculateDistanceParamters function in order to be...

Modification to the CalculateDistanceParamters function in order to be functionnable without LogFile linked



git-svn-id: svn+ssh://svn.in2p3.fr/class@231 0e7d625b-0364-4367-a6be-d5be4a48d228
parent a021ee89
Branches
No related tags found
No related merge requests found
......@@ -1418,19 +1418,19 @@ void DataBank<IsotopicVector>::CalculateDistanceParameter()
}
fDistanceParameter.Multiply( (double)1.0/NevolutionDatainDataBank );
GetLog()->fLog <<"!!INFO!! Distance Parameters "<<endl;
map<ZAI ,double >::iterator it2;
for(it2 = fDistanceParameter.GetIsotopicQuantity().begin();it2 != fDistanceParameter.GetIsotopicQuantity().end(); it2++)
{
GetLog()->fLog << (*it2).first.Z() << " ";
GetLog()->fLog << (*it2).first.A() << " ";
GetLog()->fLog << (*it2).first.I() << " ";
GetLog()->fLog << ": " << (*it2).second;
if(GetLog()){
GetLog()->fLog <<"!!INFO!! Distance Parameters "<<endl;
map<ZAI ,double >::iterator it2;
for(it2 = fDistanceParameter.GetIsotopicQuantity().begin();it2 != fDistanceParameter.GetIsotopicQuantity().end(); it2++)
{
GetLog()->fLog << (*it2).first.Z() << " ";
GetLog()->fLog << (*it2).first.A() << " ";
GetLog()->fLog << (*it2).first.I() << " ";
GetLog()->fLog << ": " << (*it2).second;
GetLog()->fLog << endl;
}
GetLog()->fLog << endl;
}
GetLog()->fLog << endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment