#include "Math/Factory.h"
#include "Math/DistSampler.h"
#include "TF1.h"
#include "TH1.h"
#include "TStopwatch.h"
#include "TRandom.h"
#include "TError.h"
#include "TCanvas.h"
Go to the source code of this file.
Functions | |
int | testCont1D (int n) |
int | testDisc1D (int n) |
int | testDistSampler (int n=10000) |
int | main () |
int main | ( | void | ) |
int testCont1D | ( | int | n | ) |
Definition at line 18 of file testDistSampler.cxx.
References c, TH1::Chi2Test(), double, TH1::Draw(), E, TH2::Fill(), TH1::Fill(), TRandom::Gaus(), gErrorIgnoreLevel, gRandom, h1, i, ROOT::Math::DistSampler::Init(), kBlue, ROOT::Math::DistSampler::Sample1D(), ROOT::Math::DistSampler::SetFunction(), TAttLine::SetLineColor(), and w.
Referenced by testDistSampler().
int testDisc1D | ( | int | n | ) |
Definition at line 71 of file testDistSampler.cxx.
References c, TH1::Chi2Test(), double, TH1::Draw(), E, TH2::Fill(), TH1::Fill(), gErrorIgnoreLevel, gRandom, h1, i, ROOT::Math::DistSampler::Init(), kBlue, TRandom::Poisson(), ROOT::Math::DistSampler::Sample1D(), ROOT::Math::DistSampler::SetArea(), ROOT::Math::DistSampler::SetFunction(), TAttLine::SetLineColor(), ROOT::Math::DistSampler::SetMode(), and w.
Referenced by testDistSampler().
int testDistSampler | ( | int | n = 10000 |
) |
Definition at line 128 of file testDistSampler.cxx.
References n, testCont1D(), and testDisc1D().
Referenced by main().