ROOT  6.06/09
Reference Guide
Functions | Variables
unuranDistr.cxx File Reference
#include "TStopwatch.h"
#include "TUnuran.h"
#include "TUnuranContDist.h"
#include "TH1.h"
#include "TF1.h"
#include "TRandom3.h"
#include "TSystem.h"
#include "TStyle.h"
#include "TApplication.h"
#include "TCanvas.h"
#include "Math/DistFunc.h"
#include <cmath>
#include <cassert>
#include "TError.h"
#include <iostream>
+ Include dependency graph for unuranDistr.cxx:

Go to the source code of this file.

Functions

double norm (double *x, double *p)
 
double cdf (double *x, double *p)
 
double cdf_trunc (double *x, double *p)
 
int unuranDistr ()
 
int main (int argc, char **argv)
 

Variables

int sampleSize = 5000000
 
bool useRandomSeed = false
 
double par [1] = {1}
 

Function Documentation

double cdf ( double x,
double p 
)
double cdf_trunc ( double x,
double p 
)

Definition at line 47 of file unuranDistr.cxx.

Referenced by unuranDistr().

int main ( int  argc,
char **  argv 
)

Definition at line 378 of file unuranDistr.cxx.

double norm ( double x,
double p 
)

Definition at line 40 of file unuranDistr.cxx.

Referenced by RooStats::HistFactory::Sample::AddNormFactor(), RooStats::SPlot::AddSWeight(), RooBernstein::analyticalIntegral(), RooNDKeysPdf::analyticalIntegral(), RooAbsAnaConvPdf::analyticalIntegralWN(), TQpResidual::CalcResids(), RooNDKeysPdf::calculateBandWidth(), TMVA::MethodMLP::CalculateEstimator(), TMVA::PDEFoamMultiTarget::CalculateMean(), TGLFaceSet::CalculateNormals(), TF1::CentralMoment(), TF2::CentralMoment2(), TF3::CentralMoment3(), TGeoChecker::CheckBoundaryErrors(), ClassImp(), TMatrixTSparse< Element >::ColNorm(), TMatrixTBase< Element >::ColNorm(), TEfficiency::Combine(), RooStats::BayesianCalculator::ComputeShortestInterval(), TMVA::MethodCategory::CreateCategoryDSI(), TQpDataSparse::DataNorm(), TQpDataDens::DataNorm(), TGeoXtru::DistToPlane(), TGeoArb8::DistToPlane(), TGraphAsymmErrors::Divide(), TMultiLayerPerceptron::DrawResult(), TMVA::PDEFoamKernelGauss::Estimate(), TMVA::SVKernelFunction::Evaluate(), RooAbsTestStatistic::evaluate(), ROOT::Fit::FitUtil::EvaluateLogL(), TText::ExecuteEvent(), TPad::ExecuteEventAxis(), faddeeva_impl::faddeeva_smabmq_impl(), gausSum(), TEveTriangleSet::GenerateTriangleNormals(), TEveTriangleSet::GenerateZNormalColors(), TMVA::PDEFoamKernelLinN::GetAverageNeighborsValue(), TMVA::PDEFoamTarget::GetAverageNeighborsValue(), TMVA::PDEFoamKernelGauss::GetAverageNeighborsValue(), ROOT::Fit::FitResult::GetConfidenceIntervals(), TEfficiency::GetEfficiency(), TEfficiency::GetEfficiencyErrorLow(), TEfficiency::GetEfficiencyErrorUp(), TMVA::MethodFDA::GetMulticlassValues(), TMVA::MethodBDT::GetMulticlassValues(), TMVA::MethodANNBase::GetMulticlassValues(), TMVA::MethodPDEFoam::GetMulticlassValues(), TMVA::MethodBoost::GetMvaValue(), RooAbsPdf::getNormObj(), RooProdPdf::getPartIntList(), TMVA::MethodBDT::GetRegressionValues(), gl2psAddBoundaryInList(), gl2psGetNormal(), gsl_poly_complex_solve_cubic(), gsl_poly_complex_solve_quartic(), ROOT::Minuit2::GaussFcn2::Init(), TGeoHelix::InitDirection(), RooStats::SamplingDistribution::IntegralAndError(), RooKeysPdf::LoadDataSet(), main(), TMVA::MethodRuleFit::MakeClassLinear(), TMVA::RuleFitParams::MakeGradientVector(), RooStats::HistFactory::ConfigParser::MakeNormFactor(), RooHist::makeResidHist(), TMatrixDEigen::MakeSchurr(), TMVA::RuleFitParams::MakeTstGradientVector(), TArcBall::MapToSphere(), TF1::Moment(), TF2::Moment2(), TF3::Moment3(), TVectorT< Element >::Norm1(), TQpVar::Norm1(), TVectorT< Element >::Norm2Sqr(), TVectorT< Element >::NormInf(), TQpVar::NormInf(), TGLBoundingBox::Overlap(), TGraphPainter::PaintGraphPolar(), piRandom(), TMVA::MethodBDT::PrivateGetMvaValue(), TGeoPainter::Raytrace(), TMVA::RuleFitAPI::ReadModelSum(), TMVA::MethodBase::ReadStateFromStream(), RooProdPdf::rearrangeProduct(), TMVA::Tools::RMS(), TMatrixTSparse< Element >::RowNorm(), TMatrixTBase< Element >::RowNorm(), TGeoTrap::Safety(), TGeoArb8::SafetyToFace(), TGeoXtru::SafetyToSector(), TGLPlane::Set(), TGLOverlayButton::SetAlphaValues(), TQuaternion::SetAxisQAngle(), TGeoHelix::SetField(), TMVA::RuleEnsemble::SetLinNorm(), TMVA::MethodBase::SetNormalised(), TMVA::DataSetInfo::SetNormalization(), TMVA::BinarySearchTree::SetNormalize(), RooStats::HistFactory::Sample::SetNormalizeByTheory(), TGLSurfacePainter::SetNormals(), TQuaternion::SetQAngle(), TGeoChecker::ShapeNormal(), TH2::Smooth(), TMatrixDEigen::Sort(), testNdimFit(), TGGroupFrame::TGGroupFrame(), TGLabel::TGLabel(), TGMenuTitle::TGMenuTitle(), TGTab::TGTab(), TGTableCell::TGTableCell(), TGTextLBEntry::TGTextLBEntry(), TGeoTorus::ToBoundary(), TMultiLayerPerceptron::Train(), TMVA::DecisionTree::TrainNodeFull(), unuranDistr(), TMVA::MethodBDT::UpdateTargets(), and TMVA::PDEFoamKernelLinN::WeightLinNeighbors().

int unuranDistr ( )

Definition at line 147 of file unuranDistr.cxx.

Referenced by main().

Variable Documentation

double par[1] = {1}

Definition at line 38 of file unuranDistr.cxx.

Referenced by TProof::BuildPackageOnClient(), RooMCStudy::calcPulls(), TFractionFitter::CheckConsistency(), TGuiBldNameFrame::CheckItems(), ClassImp(), ROOT::Minuit2::MnContours::Contour(), RooStats::LikelihoodInterval::CreateMinimizer(), TGeoBBox::DistFromOutside(), ROOT::Fit::Fitter::DoUpdateFitConfig(), RooStats::LikelihoodIntervalPlot::Draw(), TAdvancedGraphicsDialog::DrawScan(), ROOT::Minuit2::FumiliStandardMaximumLikelihoodFCN::Elements(), ROOT::Minuit2::FumiliStandardChi2FCN::Elements(), ROOT::Minuit2::Minuit2Minimizer::Errors(), TFumili::Eval(), TMinuit::Eval(), TRobustEstimator::Evaluate(), exactIntegral(), ROOT::Fit::FitResult::FillResult(), TFractionFitter::FindPrediction(), ROOT::Fit::FitResult::FitResult(), RooStats::ProfileLikelihoodCalculator::GetInterval(), TMVA::Tools::GetParent(), TAttParticle::GetParticle(), TFractionFitter::GetPlot(), RooAbsReal::getPropagatedError(), ROOT::Minuit2::Minuit2Minimizer::GetVariableSettings(), TProofBenchDataSet::Handle(), TProofServ::HandleCache(), ROOT::Minuit2::GaussFcn2::Init(), TFTP::Init(), TUnuran::InitBinomial(), main(), TProofBench::MakeDataSet(), TGuiBldNameFrame::MapItems(), RooMinuit::minos(), RooMinimizer::minos(), ROOT::Minuit2::AnalyticalGradientCalculator::operator()(), ROOT::Minuit2::InitialGradientCalculator::operator()(), ROOT::Minuit2::MnParameterScan::operator()(), ROOT::Minuit2::HessianGradientCalculator::operator()(), ROOT::Minuit2::Numerical2PGradientCalculator::operator()(), ROOT::Minuit2::MnHesse::operator()(), RooAbsReal::plotOnWithErrorBand(), RooAbsCollection::printLatex(), ROOT::Minuit2::Minuit2Minimizer::PrintResults(), RooDLLSignificanceMCSModule::processAfterFit(), TMVA::MethodFDA::ProcessOptions(), RooFitResult::randomizePars(), TMVA::MethodFDA::ReadWeightsFromXML(), TProofBenchRunCPU::Run(), TProofBenchRunDataRead::Run(), RooMinuit::save(), RooMinimizer::save(), TProofBench::SetCPUPar(), TProofBench::SetDataGenPar(), TProofBench::SetDataPar(), TUnuran::SetMethodAndInit(), TFrameEditor::SetModel(), TPadEditor::SetModel(), RooMinimizerFcn::SetPdfParamVal(), RooMinuit::setPdfParamVal(), TSelVerifyDataSet::SlaveBegin(), stressTF1(), RooMinimizerFcn::Synchronize(), RooMinuit::synchronize(), testBinomial(), TFractionFitter::TFractionFitter(), unuranDistr(), unuranMulti2D(), unuranMultiDim(), TProof::UploadPackage(), TProof::UploadPackageOnClient(), RooProfileLL::validateAbsMin(), and ROOT::Math::WrappedParamFunction< FuncPtr >::WrappedParamFunction().

int sampleSize = 5000000

Definition at line 34 of file unuranDistr.cxx.

bool useRandomSeed = false

Definition at line 36 of file unuranDistr.cxx.

Referenced by unuranDistr().