Logo ROOT   6.16/01
Reference Guide
HypoTestPlot.h
Go to the documentation of this file.
1// @(#)root/roostats:$Id$
2// Author: Sven Kreiss June 2010
3/*************************************************************************
4 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOSTATS_HypoTestPlot
12#define ROOSTATS_HypoTestPlot
13
15
17
19
20namespace RooStats {
21
23 public:
24 /// Constructor
25 HypoTestPlot() : SamplingDistPlot() , fHypoTestResult(0) {} // needed for IO
26 HypoTestPlot(HypoTestResult& result, Int_t bins=100, Option_t* opt = "NORMALIZE HIST");
27 HypoTestPlot(HypoTestResult& result, Int_t bins, Double_t min, Double_t max, Option_t* opt = "NORMALIZE HIST");
29
30 /// Applies a HypoTestResult.
31 void ApplyResult(HypoTestResult& result, Option_t* opt = "NORMALIZE HIST");
32 /// Set default style options (also called in the constructor that takes a HypoTestResult).
33 void ApplyDefaultStyle(void);
34
35 private:
37
38 protected:
40};
41}
42
43#endif
44
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:324
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
Definition: HypoTestPlot.h:22
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
void ApplyResult(HypoTestResult &result, Option_t *opt="NORMALIZE HIST")
Applies a HypoTestResult.
HypoTestPlot()
Constructor.
Definition: HypoTestPlot.h:25
HypoTestResult * fHypoTestResult
Definition: HypoTestPlot.h:36
HypoTestResult is a base class for results from hypothesis tests.
This class provides simple and straightforward utilities to plot SamplingDistribution objects.
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer
Definition: Asimov.h:20