newly added: a library related to spin valve physics

This commit is contained in:
2013-01-15 06:41:12 +00:00
parent 459a36fa79
commit b737649b50
29 changed files with 4196 additions and 15 deletions

View File

@ -1338,10 +1338,6 @@ Bool_t PFitter::ExecuteMinos()
Double_t start=0.0, end=0.0;
start=MilliTime();
ROOT::Minuit2::MnMinos minos((*fFitterFcn), (*fFcnMin));
end=MilliTime();
cout << ">> PFitter::ExecuteMinimize(): execution time for Minos = " << setprecision(3) << (end-start)/1.0e3 << " sec." << endl;
TString str = TString::Format("Minos: %.3f sec", (end-start)/1.0e3);
fElapsedTime.push_back(str);
for (UInt_t i=0; i<fParams.size(); i++) {
// only try to call minos if the parameter is not fixed!!
@ -1371,6 +1367,11 @@ Bool_t PFitter::ExecuteMinos()
}
}
end=MilliTime();
cout << ">> PFitter::ExecuteMinimize(): execution time for Minos = " << setprecision(3) << (end-start)/1.0e3 << " sec." << endl;
TString str = TString::Format("Minos: %.3f sec", (end-start)/1.0e3);
fElapsedTime.push_back(str);
return true;
}