ROOT  6.06/08
Reference Guide
Functions | Variables
SparseDataComparer.cxx File Reference
#include "TH2.h"
#include "TF2.h"
#include "TCanvas.h"
#include "TApplication.h"
#include "TMath.h"
#include "Fit/SparseData.h"
#include "HFitInterface.h"
#include "Fit/Fitter.h"
#include "Math/WrappedMultiTF1.h"
#include <iostream>
#include <iterator>
#include <algorithm>
#include <functional>
+ Include dependency graph for SparseDataComparer.cxx:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &out, ROOT::Fit::BinData &bd)
 
int findBin (ROOT::Fit::BinData &bd, const double *x)
 
bool operator== (ROOT::Fit::BinData &bd1, ROOT::Fit::BinData &bd2)
 
void OneDimension ()
 
double gaus2D (double *x, double *p)
 
void TwoDimensions ()
 
int main (int argc, char **argv)
 

Variables

double minRange [3] = { -5., -5., -5.}
 
double maxRange [3] = { 5., 5., 5.}
 
int nbins [3] = {10 , 10 , 100 }
 
bool showGraphics = false
 

Function Documentation

§ findBin()

int findBin ( ROOT::Fit::BinData bd,
const double *  x 
)

Definition at line 45 of file SparseDataComparer.cxx.

Referenced by operator==().

§ gaus2D()

double gaus2D ( double *  x,
double *  p 
)

Definition at line 151 of file SparseDataComparer.cxx.

Referenced by TwoDimensions().

§ main()

int main ( int  argc,
char **  argv 
)

Definition at line 201 of file SparseDataComparer.cxx.

§ OneDimension()

void OneDimension ( )

Definition at line 115 of file SparseDataComparer.cxx.

Referenced by main().

§ operator<<()

ostream& operator<< ( ostream &  out,
ROOT::Fit::BinData bd 
)

Definition at line 26 of file SparseDataComparer.cxx.

§ operator==()

bool operator== ( ROOT::Fit::BinData bd1,
ROOT::Fit::BinData bd2 
)

Definition at line 66 of file SparseDataComparer.cxx.

§ TwoDimensions()

void TwoDimensions ( )

Definition at line 157 of file SparseDataComparer.cxx.

Referenced by main().

Variable Documentation

§ maxRange

double maxRange[3] = { 5., 5., 5.}

Definition at line 21 of file SparseDataComparer.cxx.

Referenced by THnBase::CreateHnAny(), OneDimension(), and TwoDimensions().

§ minRange

double minRange[3] = { -5., -5., -5.}

Definition at line 20 of file SparseDataComparer.cxx.

Referenced by THnBase::CreateHnAny(), OneDimension(), and TwoDimensions().

§ nbins

int nbins[3] = {10 , 10 , 100 }

Definition at line 22 of file SparseDataComparer.cxx.

Referenced by THnBase::Add(), RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), RooStats::NumberCountingPdfFactory::AddExpData(), RooStats::NumberCountingPdfFactory::AddExpDataWithSideband(), RooStats::NumberCountingPdfFactory::AddModel(), RooBinning::addUniform(), ROOT::THistView< DIMENSIONS, PRECISION >::begin(), RooNumRunningInt::RICacheElem::calculate(), RooIntegralMorph::MorphCacheElem::calculate(), TEfficiency::CheckEntries(), TMVA::PDF::CheckHist(), TH1::ComputeIntegral(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), RooAbsRealLValue::createHistogram(), THnBase::CreateHnAny(), TPainter3dAlgorithms::DefineGridLevels(), TGraphAsymmErrors::Divide(), TH1::DoFillN(), TH2::DoFitSlices(), TProofBench::DrawCPU(), TProofBench::DrawDataSet(), TProofBench::DrawEfficiency(), TPad::DrawFrame(), TProofPerfAnalysis::FileProcPlot(), THn::FillBin(), TH2::FillRandom(), TH3::FillRandom(), TH1::FillRandom(), TSPlot::FillSWeightsHists(), TProofPerfAnalysis::FillWrkInfo(), TSPlot::FillXvarHists(), TSPlot::FillYpdfHists(), TSPlot::FillYvarHists(), TH1::FindFirstBinAbove(), FindGoodLimits(), TH1::FindLastBinAbove(), RooIntegralMorph::MorphCacheElem::findRange(), fit2DHist(), fit3DHist(), RooAbsRealLValue::frame(), ROOT::Math::DistSampler::Generate(), RooStats::AsymptoticCalculator::GenerateAsimovDataSinglePdf(), Memstat::TMemStatMng::generateBTID(), RooMCStudy::genParDataSet(), TMVA::ResultsMulticlass::GetAchievablePur(), TMVA::OptimizeConfigParameters::GetBkgEffAtSigEff(), TMVA::OptimizeConfigParameters::GetBkgRejAtSigEff(), THnSparse::GetChunk(), TMVA::VariableGaussTransform::GetCumulativeDist(), TMVA::ROCCalc::GetEffSForEffBof(), TH1::GetQuantiles(), TH2::GetRandom2(), TH3::GetRandom3(), TMVA::ROCCalc::GetROC(), TMVA::ROCCalc::GetROCIntegral(), TMVA::OptimizeConfigParameters::GetROCIntegral(), TMVA::OptimizeConfigParameters::GetSigEffAtBkgEff(), TSPlot::GetSWeightsHist(), TSPlot::GetSWeightsHists(), TSPlot::GetTreeExpression(), TSPlot::GetXvarHist(), TSPlot::GetXvarHists(), TProfile::GetYmax(), TSPlot::GetYpdfHist(), TSPlot::GetYpdfHists(), TSPlot::GetYvarHist(), TSPlot::GetYvarHists(), THnBase::Init(), RooBinningCategory::initialize(), TSPlot::IsFolder(), TProfileHelper::LabelsDeflate(), TH1::LabelsDeflate(), TProfileHelper::LabelsInflate(), TH1::LabelsInflate(), RooStats::HistFactory::HistoToWorkspaceFactoryFast::LinInterpWithConstraint(), RooMCStudy::makeFrameAndPlotCmd(), TH1::Merge(), TMinuit::mnscan(), OneDimension(), TMVA::operator>>(), THLimitsFinder::Optimize(), THLimitsFinder::OptimizeLimits(), TSpectrum2Painter::Paint(), TGaxis::PaintAxis(), TGraphPainter::PaintGrapHist(), THistPainter::PaintHist(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TEveDigitSetEditor::PlotHisto(), TMVA::TransformationHandler::PlotVariables(), THnBase::PrintEntries(), RooStats::HistFactory::HistoToWorkspaceFactoryFast::ProcessExpectedHisto(), TProofProgressDialog::Progress(), ROOT::Math::GoFTest::PValueADKSamples(), TMVA::ResultsRegression::QuadraticDeviation(), TMVA::VariableGaussTransform::ReadTransformationFromStream(), TMVA::PDF::ReadXML(), TProfile::Rebin(), TH1::Rebin(), RooHistConstraint::RooHistConstraint(), ROOT::Math::DistSampler::SampleBins(), RooStats::SamplingDistPlot::SamplingDistPlot(), TEfficiency::SavePrimitive(), TAxis::Set(), TH2::SetBinContent(), TH3::SetBinContent(), PiecewiseInterpolation::setBinIntegrator(), RooAbsRealLValue::setConstant(), TUnuran::SetEmpiricalDistribution(), THnSparse::SetFilledBins(), TKDE::SetNBins(), TMVA::MethodInfo::SetResultHists(), THistPainter::SetShowProjection(), THistPainter::SetStack(), TMemStatShow::Show(), THistPainter::ShowProjection3(), THistPainter::ShowProjectionX(), THistPainter::ShowProjectionY(), TH1::Smooth(), THn::Sumw2(), testkdTreeBinning(), testMultinomial(), THnBase::THnBase(), THStack::THStack(), TKDE::TKDE(), TMVA::MethodLikelihood::Train(), TMVA::MethodCuts::Train(), TUnuranEmpDist::TUnuranEmpDist(), TwoDimensions(), TTreePlayer::UnbinnedFit(), TMVA::PDF::ValidatePDF(), and TVirtualHistPainter::~TVirtualHistPainter().

§ showGraphics

bool showGraphics = false

Definition at line 24 of file SparseDataComparer.cxx.

Referenced by main(), OneDimension(), and TwoDimensions().