Skip to content
Snippets Groups Projects
Commit 45430017 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

small bug fix for dumping errors of the gFactor in KMatrixDynamics

parent b9a468f6
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,9 @@ void KMatrixDynamics::fillDefaultParams(std::shared_ptr<AbsPawianParameters> fit
std::vector<double> currentgFactorVec=_currentgFactorMap.at(i);
for(unsigned int j=0; j<currentgFactorVec.size(); ++j){
std::string currentName=_poleNames.at(i)+_gFactorNames.at(j)+"gFactor";
fitPar->Add(currentName, currentgFactorVec.at(j), currentgFactorVec.at(j)/3.);
double currentError=currentgFactorVec.at(j)/3.;
if (currentError<1.e-5) currentError=0.01;
fitPar->Add(currentName, currentgFactorVec.at(j), currentError);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment