#include <iostream>
#include <assert.h>
#include <time.h>
#include <chrono>
#include <hydra/device/System.h>
#include <hydra/Function.h>
#include <hydra/LogLikelihoodFCN.h>
#include <hydra/Parameter.h>
#include <hydra/UserParameters.h>
#include <hydra/Pdf.h>
#include <hydra/functions/Gaussian.h>
#include <hydra/DenseHistogram.h>
#include <hydra/multivector.h>
#include <hydra/Zip.h>
#include "Minuit2/FunctionMinimum.h"
#include "Minuit2/MnUserParameterState.h"
#include "Minuit2/MnPrint.h"
#include "Minuit2/MnMigrad.h"
#include "Minuit2/MnMinimize.h"
#include <TROOT.h>
#include <TH1D.h>
#include <TApplication.h>
#include <TCanvas.h>
Go to the source code of this file.
|
| declarg (xvar, double) |
| This macro generates data and fit a Gaussian distribution in parallel. More...
|
|
◆ HYDRA_DEVICE_SYSTEM
#define HYDRA_DEVICE_SYSTEM TBB |
◆ HYDRA_HOST_SYSTEM
#define HYDRA_HOST_SYSTEM CPP |
◆ declarg()
This macro generates data and fit a Gaussian distribution in parallel.
- Note
- Call this macro in ROOT compile mode:
root [0] .L fit_gaussian.C+
root [1] fit_gaussian(50000000)
- Parameters
-
nentries | Number of points to generate. |
- Examples:
- fit_gaussian.C.