Logo ROOT  
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(nullptr) {} // needed for IO
26 HypoTestPlot(HypoTestResult& result, Int_t bins=100, Option_t* opt = "NORMALIZE HIST");
27 HypoTestPlot(HypoTestResult& result, Int_t bins, double min, double max, Option_t* opt = "NORMALIZE HIST");
28 ~HypoTestPlot(void) override {}
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
const char Option_t
Definition: RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
Definition: HypoTestPlot.h:22
~HypoTestPlot(void) override
Definition: HypoTestPlot.h:28
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.
Namespace for the RooStats classes.
Definition: Asimov.h:19