Added some debugging information

This commit is contained in:
Bastian M. Wojek
2011-05-31 14:55:56 +00:00
parent d33a9d62a8
commit 37c2cd0d8f

View File

@ -29,6 +29,14 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_GOMP
#include <omp.h>
#endif
#include <iostream>
#include <fstream>
#include <limits>
@ -170,6 +178,11 @@ Bool_t PFitter::DoFit()
return true;
}
// debugging information
#ifdef HAVE_GOMP
cout << endl << ">> Number of available threads for the function optimization: " << omp_get_num_procs() << endl;
#endif
// real fit wanted
if (fUseChi2)
cout << endl << ">> Chi Square fit will be executed" << endl;