ROOT
6.07/01
Reference Guide
|
#include "TFile.h"
#include "RooWorkspace.h"
#include "RooAbsPdf.h"
#include "RooRealVar.h"
#include "RooDataSet.h"
#include "RooStats/ModelConfig.h"
#include "RooRandom.h"
#include "TGraphErrors.h"
#include "TGraphAsymmErrors.h"
#include "TCanvas.h"
#include "TLine.h"
#include "TROOT.h"
#include "TSystem.h"
#include "RooStats/AsymptoticCalculator.h"
#include "RooStats/HybridCalculator.h"
#include "RooStats/FrequentistCalculator.h"
#include "RooStats/ToyMCSampler.h"
#include "RooStats/HypoTestPlot.h"
#include "RooStats/NumEventsTestStat.h"
#include "RooStats/ProfileLikelihoodTestStat.h"
#include "RooStats/SimpleLikelihoodRatioTestStat.h"
#include "RooStats/RatioOfProfiledLikelihoodsTestStat.h"
#include "RooStats/MaxLikelihoodEstimateTestStat.h"
#include "RooStats/HypoTestInverter.h"
#include "RooStats/HypoTestInverterResult.h"
#include "RooStats/HypoTestInverterPlot.h"
Go to the source code of this file.
Namespaces | |
RooStats | |
Namespace for the RooStats classes. | |
Functions | |
void | StandardHypoTestInvDemo (const char *infile=0, const char *wsName="combined", const char *modelSBName="ModelConfig", const char *modelBName="", const char *dataName="obsData", int calculatorType=0, int testStatType=0, bool useCLs=true, int npoints=6, double poimin=0, double poimax=5, int ntoys=1000, bool useNumberCounting=false, const char *nuisPriorName=0) |
void | ReadResult (const char *fileName, const char *resultName="", bool useCLs=true) |
Variables | |
bool | plotHypoTestResult = true |
bool | writeResult = true |
TString | resultFileName |
bool | optimize = true |
bool | useVectorStore = true |
bool | generateBinned = false |
bool | noSystematics = false |
double | nToysRatio = 2 |
double | maxPOI = -1 |
bool | useProof = false |
int | nworkers = 0 |
bool | enableDetailedOutput = false |
bool | rebuild = false |
int | nToyToRebuild = 100 |
int | rebuildParamValues =0 |
int | initialFit = -1 |
int | randomSeed = -1 |
int | nAsimovBins = 0 |
bool | reuseAltToys = false |
double | confidenceLevel = 0.95 |
std::string | massValue = "" |
std::string | minimizerType = "" |
int | printLevel = 0 |
bool | useNLLOffset = false |
void ReadResult | ( | const char * | fileName, |
const char * | resultName = "" , |
||
bool | useCLs = true |
||
) |
Definition at line 1055 of file StandardHypoTestInvDemo.C.
void StandardHypoTestInvDemo | ( | const char * | infile = 0 , |
const char * | wsName = "combined" , |
||
const char * | modelSBName = "ModelConfig" , |
||
const char * | modelBName = "" , |
||
const char * | dataName = "obsData" , |
||
int | calculatorType = 0 , |
||
int | testStatType = 0 , |
||
bool | useCLs = true , |
||
int | npoints = 6 , |
||
double | poimin = 0 , |
||
double | poimax = 5 , |
||
int | ntoys = 1000 , |
||
bool | useNumberCounting = false , |
||
const char * | nuisPriorName = 0 |
||
) |
Definition at line 268 of file StandardHypoTestInvDemo.C.
Referenced by ReadResult().
double confidenceLevel = 0.95 |
Definition at line 92 of file StandardHypoTestInvDemo.C.
Referenced by IntervalExamples(), OneSidedFrequentistUpperLimitWithBands(), and TwoSidedFrequentistUpperLimitWithBands().
bool enableDetailedOutput = false |
Definition at line 77 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool generateBinned = false |
Definition at line 70 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int initialFit = -1 |
Definition at line 85 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
std::string massValue = "" |
Definition at line 96 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
double maxPOI = -1 |
Definition at line 74 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
std::string minimizerType = "" |
Definition at line 97 of file StandardHypoTestInvDemo.C.
Referenced by RooStats::AsymptoticCalculator::MakeAsimovData(), and StandardHypoTestInvDemo().
int nAsimovBins = 0 |
Definition at line 89 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool noSystematics = false |
Definition at line 71 of file StandardHypoTestInvDemo.C.
double nToysRatio = 2 |
Definition at line 73 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int nToyToRebuild = 100 |
Definition at line 80 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int nworkers = 0 |
Definition at line 76 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool optimize = true |
Definition at line 68 of file StandardHypoTestInvDemo.C.
Referenced by TMVA::MethodBDT::OptimizeTuningParameters(), and StandardHypoTestInvDemo().
bool plotHypoTestResult = true |
Definition at line 65 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int printLevel = 0 |
Definition at line 98 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int randomSeed = -1 |
Definition at line 86 of file StandardHypoTestInvDemo.C.
Referenced by NumericalMinimization(), and StandardHypoTestInvDemo().
bool rebuild = false |
Definition at line 78 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
int rebuildParamValues =0 |
Definition at line 81 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
TString resultFileName |
Definition at line 67 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool reuseAltToys = false |
Definition at line 91 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool useNLLOffset = false |
Definition at line 100 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool useProof = false |
Definition at line 75 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool useVectorStore = true |
Definition at line 69 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().
bool writeResult = true |
Definition at line 66 of file StandardHypoTestInvDemo.C.
Referenced by StandardHypoTestInvDemo().