Added some debugging information
This commit is contained in:
@ -29,6 +29,14 @@
|
|||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* 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 <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
@ -170,6 +178,11 @@ Bool_t PFitter::DoFit()
|
|||||||
return true;
|
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
|
// real fit wanted
|
||||||
if (fUseChi2)
|
if (fUseChi2)
|
||||||
cout << endl << ">> Chi Square fit will be executed" << endl;
|
cout << endl << ">> Chi Square fit will be executed" << endl;
|
||||||
|
Reference in New Issue
Block a user