#include "TROOT.h"
#include "TStopwatch.h"
#include "TMath.h"
#include "TRandom1.h"
#include "TRandom2.h"
#include "TRandom3.h"
#include "TCanvas.h"
#include "TH2.h"
#include "TGraph.h"
#include "TSystem.h"
#include "TLegend.h"
#include "TPaveLabel.h"
#include <vector>
#include <iostream>
Go to the source code of this file.
Functions | |
template<class Random> | |
void | piRandom (const char *name, Random *r, Long64_t n, Int_t color) |
void | ErrorBand (Long64_t n) |
void | pirndm (Long64_t n1=1, unsigned int seed=0) |
Variables | |
TLegend * | legend = 0 |
TCanvas * | c1 = 0 |
TStopwatch | timer |
Double_t | cputot = 0 |
std::vector< TH2D * > | vh2 |
void ErrorBand | ( | Long64_t | n | ) |
Definition at line 108 of file pirndm.C.
References g, i, TMath::Pi(), TMath::Sqrt(), x, x0, and xmax.
Referenced by pirndm().
Definition at line 45 of file pirndm.C.
References TLegend::AddEntry(), c1, TStopwatch::CpuTime(), cputot, TGraph::Draw(), TH2::Fill(), Form(), gr, gSystem, h2, i, j, k, legend, Long64_t, TPad::Modified(), norm(), TMath::Pi(), pi, TSystem::ProcessEvents(), TStopwatch::RealTime(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TGraph::SetPoint(), TStopwatch::Start(), TStopwatch::Stop(), timer, TCanvas::Update(), and vh2.
void pirndm | ( | Long64_t | n1 = 1 , |
|
unsigned int | seed = 0 | |||
) |
Definition at line 131 of file pirndm.C.
References c1, TCanvas::cd(), cputot, TPad::Divide(), TH1::Draw(), TPaveLabel::Draw(), TLegend::Draw(), ErrorBand(), Form(), TROOT::GetVersion(), TROOT::GetVersionDate(), TROOT::GetVersionTime(), TH1::GetXaxis(), TH1::GetYaxis(), gROOT, i, int, kBlack, kBlue, kCyan, kGreen, kMagenta, kRed, kYellow, legend, Long64_t, n, piRandom(), TPad::Print(), seed, TAxis::SetDecimals(), TAttPad::SetFrameBorderSize(), TAttPad::SetFrameFillColor(), TPad::SetGrid(), TAttPad::SetLeftMargin(), TH1::SetStats(), TNamed::SetTitle(), TAttAxis::SetTitleOffset(), TMath::Sqrt(), TCanvas::Update(), and vh2.
Definition at line 36 of file pirndm.C.
Referenced by a_cmp(), add_component(), RooGaussModel::analyticalIntegral(), anim(), ApplicationWindow::ApplicationWindow(), asim_mystrcasecmp(), asim_mystrncasecmp(), binarySearchTime(), by_encoding(), RooGExpModel::calcSinConv(), RooGExpModel::calcSinConvNorm(), canvas_write(), cernstaff(), TGeoChecker::CheckBoundaryErrors(), TGeoChecker::CheckGeometryFull(), chi2test(), city_distance(), ClassImp(), combinedFit(), TString::CompareTo(), compute_color(), TGeoConeSeg::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), ContourList(), TView3D::DefinePerspectiveView(), TView3D::DefineViewDirection(), TGeoConeSeg::DistFromInside(), TGeoPcon::DistFromInside(), TGeoCtub::DistFromInside(), TGeoSphere::DistFromInside(), TGeoTubeSeg::DistFromInside(), TGeoTorus::DistFromInside(), TGeoCtub::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), TProfile::Divide(), TH1::Divide(), TProfile3D::Divide(), TProfile2D::Divide(), divide_component(), MyMainFrame::DoDraw(), ROOT::Math::GaussIntegrator::DoIntegral(), TProofProgressDialog::DoPlotRateGraph(), double32(), DrawCumulative(), DynamicSlice(), enlarge_component(), enlarge_component12(), enlarge_component23(), RooGaussModel::evaluate(), exclusiongraph(), exec3(), TLink::ExecuteEvent(), feynman(), TestDialog::FillHistos(), fillrandom(), findPeak2(), FirstContour(), fit1(), fit2d(), fit2dHist(), fitCircle(), fitcont(), FitEditorUnitTesting::FitEditorUnitTesting(), fitslicesy(), FittingDemo(), formula1(), FourBinInstructional(), framework(), TMath::Freq(), Roo2DKeysPdf::g(), GammaFun(), gerrors(), gerrors2(), TClass::GetBaseClass(), Rgl::GetColor(), THStack::GetMaximum(), THStack::GetMinimum(), glsurfaces(), graph(), graph2derrorsfit(), graphShade(), gtime(), h1analysisProxy_Terminate(), h1draw(), handle2(), TUUID::Hash(), hksimple(), hlabels1(), hlabels2(), hserv(), hsimple(), hsum(), hsumanim(), hsumTimer(), hsumUpdate(), htr1(), htr2(), TGraphDelaunay::Interpolate(), JeffreysPriorDemo(), jpeg_gen_optimal_table(), kalman_do(), kdTreeBinning(), TMath::KolmogorovProb(), labels1(), labels2(), latex(), latex2(), latex3(), latex4(), latex5(), limit(), LoadXS(), logscales(), loopdir(), TGraphSmooth::Lowess(), main(), mathBeta(), mathcoreCDF(), mathcoreSpecFunc(), mathcoreStatFunc(), mathLaplace(), matrixOperations_do(), median_cut(), memstat(), mhs(), mhs1(), mhs2(), minuit2FitBench(), minuit2FitBench2D(), multicolor(), multigraph(), TH1::Multiply(), MultivariateGaussianTest(), myfit(), na49view(), normalDist(), TGeoShape::NormalPhi(), TView3D::NormalWCtoNDC(), TMath::NormQuantile(), ntuple1(), THistPainter::PaintHist(), THistPainter::PaintInit(), THistPainter::PaintInitH(), TGraphPainter::PaintPolyLineHatches(), paracoor(), pass2_no_dither(), TTabCom::PathIsSpecifiedInFileName(), pattern_match(), TUri::PctDecode(), TUri::PctDecodeUnreserved(), peaks(), performance(), piRandom(), pirndm(), plotNtuple(), ProofNtuple::PlotNtuple(), portfolio(), TXMLPlayer::ProduceStreamerSource(), pstable(), pythia8(), qa2(), quantiles(), quarks(), RadioNuclides(), TGeoPainter::Raytrace(), read(), rebin(), TGLAnnotation::Render(), TView3D::ResetView(), rf309_ndimplot(), rf803_mcstudy_addons2(), RooCmdArg::RooCmdArg(), RooCurve::RooCurve(), TMath::RootsCubic(), rose_image(), rotate(), ROOT::rpdstrncasecmp(), rs701_BayesianCalculator(), rs_bernsteinCorrection(), rsa_cmp(), TGeoShape::SafetyPhi(), TGTransientFrame::SaveSource(), TGMainFrame::SaveSource(), scale_image_up(), seism(), ROOT::Math::VavilovAccurate::Set(), TEveTrans::SetupFromToVec(), shapes(), shapesAnim(), shrink_component(), simanTSP(), spider(), StandardProfileInspectorDemo(), stdsort(), stress1(), stress5(), TMath::StruveH0(), surfaces(), THistPainter::TableInit(), ProofSimple::Terminate(), ProofEvent::Terminate(), ProofFriends::Terminate(), ProofPythia::Terminate(), h1analysis::Terminate(), test1DObjects(), test2DObjects(), test_atan2(), test_rotate(), test_unit(), testAdd1(), testAdd2D1(), testAdd2D3(), testAdd2DProfile1(), testAdd3(), testAdd3D1(), testAdd3D3(), testAdd3DProfile1(), testAddProfile1(), testAddVar1(), testAddVarProf1(), testBinomial(), TestBinomial(), TestBasic803::testCode(), testDiff(), testDiscDistr(), testDistr1D(), testDistrMultiDim(), testEmpDistr(), testGausFit(), testInterpolation(), TestJeffreysGaussMean(), TestJeffreysGaussMeanAndSigma(), TestJeffreysGaussSigma(), testMul1(), testMul2D1(), testMul3D1(), testMulF1D(), testMulF1D2(), testMulF2D(), testMulF2D2(), testMulF3D(), testMulF3D2(), testMulFND(), testMulVar1(), testPermute(), testPoisson(), testProbVector(), testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), testSpecFuncGamma(), testSphere(), testStringAPI(), th2polyEurope(), transpad(), tree2ar(), tree2r(), triangles(), TSVDUnfoldExample(), tv3(), TwoHistoFit2D(), twoscales(), unuranDemo(), unuranDiscrete(), unuranDistr(), unuranGraf(), unuranGraf2D(), unuranHist(), unuranMulti2D(), unuranMultiDim(), update_box(), vavilov(), Vertical_Sweep_Drop(), Vertical_Sweep_Span(), waves(), write(), xtruSamples(), zdemo(), and zones().
Definition at line 35 of file pirndm.C.
Referenced by annconvergencetest(), binarySearchTime(), boostcontrolplots(), cernstaff(), compareanapp(), compareClassApp(), double32(), TMemStat::Draw(), TMLPAnalyzer::DrawDInputs(), DrawMLPoutputMovie(), TMLPAnalyzer::DrawNetwork(), exampleTKDE(), FittingDemo(), GAMinTutorial(), mlpHiggs(), mvas(), mvasMulticlass(), performance(), piRandom(), pirndm(), plot(), plot_efficiencies(), probas(), quantiles(), regression_averagedevs(), rulevisCorr(), rulevisHists(), stdsort(), testPermute(), testSpecFuncBeta(), testSpecFuncBetaI(), testSpecFuncErf(), testSpecFuncGamma(), TLegend::TLegend(), TMultiLayerPerceptron::Train(), variables(), and variablesMultiClass().
Definition at line 37 of file pirndm.C.
Referenced by TMVA::MethodBase::AddClassifierOutput(), TMVA::MethodBase::AddClassifierOutputProb(), TMVA::MethodBase::AddMulticlassOutput(), TMVA::MethodBase::AddRegressionOutput(), anim(), annotation(), autorotate(), TMVA::MethodMLP::BackPropagationMinimize(), TEcho::Benchmark(), TMVA::MethodMLP::BFGSMinimize(), billr(), billtr(), billtw(), billw(), TGeoChecker::CheckGeometryFull(), TGeoNode::CheckOverlaps(), TGeoChecker::CheckVoxels(), TDocOutput::Convert(), TGLViewer::DoDraw(), DoFit(), doFit(), TMVA::RuleFitParams::FindGDTau(), TFTP::GetFile(), glViewerExercise(), TProofServ::HandleSocketInput(), TRint::HandleTermInput(), TTreeViewer::HandleTimer(), hsumTimer(), TMVA::MinuitFitter::Init(), initMatrix(), integral_MC(), integral_num(), integral_TF1(), main(), TMVA::RuleFit::MakeForest(), TMVA::RuleFitParams::MakeGDPath(), minexam(), TMVA::SimulatedAnnealing::Minimize(), piRandom(), printStats(), TTreePlayer::Process(), pserv(), TFTP::PutFile(), TGeoPainter::Raytrace(), read(), readSMatrix(), readSMatrixSym(), readTMatrix(), readTMatrixSym(), readTrackD(), readTrackD32(), TMVA::GeneticFitter::Run(), TMVA::MinuitFitter::Run(), TMVA::MCFitter::Run(), runTest(), RunTests(), shapesAnim(), sparsehist(), sqlfilldb(), sqlselect(), TProofCondor::StartSlaves(), stressFit(), stressRooFit(), TGeoChecker::Test(), Test_TBtree(), Tester::TestAllocation(), Tester::TestByIndex(), Tester::TestByName(), testDummy(), testIntegPerf(), VectorTest< Dim >::testRead(), testRootFinder(), TestSpeed(), VectorTest< Dim >::testWrite(), TMVA::MethodBDT::Train(), TMVA::MethodBoost::Train(), TMVA::MethodCommittee::Train(), TMVA::MethodSVM::Train(), TMVA::MethodCuts::Train(), TMVA::MethodRuleFit::TrainJFRuleFit(), TMVA::MethodRuleFit::TrainTMVARuleFit(), write(), writeCArray(), writeSMatrix(), writeSMatrixSym(), writeTMatrix(), writeTMatrixSym(), writeTrack(), writeTrackD(), and writeTrackD32().