#include "RooGlobalFunc.h"
#include "RooDataSet.h"
#include "RooRealVar.h"
#include "RooGaussian.h"
#include "RooAddPdf.h"
#include "RooProdPdf.h"
#include "RooAddition.h"
#include "RooProduct.h"
#include "TCanvas.h"
#include "RooChebychev.h"
#include "RooAbsPdf.h"
#include "RooFit.h"
#include "RooFitResult.h"
#include "RooPlot.h"
#include "RooAbsArg.h"
#include "RooWorkspace.h"
#include "RooStats/ProfileLikelihoodCalculator.h"
#include "RooStats/HypoTestResult.h"
#include <string>
Go to the source code of this file.
Functions | |
void | AddModel (RooWorkspace *) |
void | AddData (RooWorkspace *) |
void | DoHypothesisTest (RooWorkspace *) |
void | MakePlots (RooWorkspace *) |
void | rs102_hypotestwithshapes () |
void AddData | ( | RooWorkspace * | ) |
Definition at line 161 of file rs102_hypotestwithshapes.C.
References data, RooWorkspace::import(), model, nEvents, RooWorkspace::pdf(), RooFit::Rename(), and RooWorkspace::var().
Referenced by G__G__RooStats_731_0_3(), rs102_hypotestwithshapes(), and rs301_splot().
void AddModel | ( | RooWorkspace * | ) |
Definition at line 81 of file rs102_hypotestwithshapes.C.
References RooWorkspace::import(), kTRUE, model, and RooAbsRealLValue::setConstant().
Referenced by G__G__RooStats_731_0_2(), rs102_hypotestwithshapes(), and rs301_splot().
void DoHypothesisTest | ( | RooWorkspace * | ) |
Definition at line 175 of file rs102_hypotestwithshapes.C.
References RooWorkspace::data(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), model, RooStats::HypoTestResult::NullPValue(), RooStats::CombinedCalculator::SetData(), RooStats::CombinedCalculator::SetModel(), RooStats::CombinedCalculator::SetNullParameters(), RooArgSet::setRealValue(), RooStats::HypoTestResult::Significance(), RooAbsCollection::snapshot(), and RooWorkspace::var().
Referenced by rs102_hypotestwithshapes().
void MakePlots | ( | RooWorkspace * | ) |
Definition at line 220 of file rs102_hypotestwithshapes.C.
References RooFit::Components(), data, RooWorkspace::data(), RooFit::DataError(), RooPlot::Draw(), RooAbsRealLValue::frame(), RooFit::Hesse(), kBlack, kDashed, kFALSE, kGreen, kRed, kTRUE, RooFit::LineColor(), RooFit::LineStyle(), RooFit::Minos(), model, RooWorkspace::pdf(), RooFit::PrintLevel(), RooFit::Save(), RooAbsRealLValue::setConstant(), RooPlot::SetTitle(), RooRealVar::setVal(), RooAbsData::SumW2, and RooWorkspace::var().
Referenced by rs102_hypotestwithshapes(), and rs301_splot().
void rs102_hypotestwithshapes | ( | ) |
Definition at line 54 of file rs102_hypotestwithshapes.C.
References AddData(), AddModel(), DoHypothesisTest(), and MakePlots().