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 
20 namespace 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");
28  ~HypoTestPlot(void) {}
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 
Option_t
const char Option_t
Definition: RtypesCore.h:66
RooStats::HypoTestPlot::ApplyResult
void ApplyResult(HypoTestResult &result, Option_t *opt="NORMALIZE HIST")
Applies a HypoTestResult.
Definition: HypoTestPlot.cxx:45
SamplingDistPlot.h
RooStats::HypoTestPlot::ApplyDefaultStyle
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
Definition: HypoTestPlot.cxx:75
RooStats::SamplingDistPlot
This class provides simple and straightforward utilities to plot SamplingDistribution objects.
Definition: SamplingDistPlot.h:32
HypoTestResult.h
RooStats::HypoTestPlot
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
Definition: HypoTestPlot.h:22
SamplingDistribution.h
Double_t
double Double_t
Definition: RtypesCore.h:59
RooStats
Namespace for the RooStats classes.
Definition: Asimov.h:19
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
RooStats::HypoTestResult
HypoTestResult is a base class for results from hypothesis tests.
Definition: HypoTestResult.h:22
RooStats::HypoTestPlot::HypoTestPlot
HypoTestPlot()
Constructor.
Definition: HypoTestPlot.h:25
RooStats::HypoTestPlot::~HypoTestPlot
~HypoTestPlot(void)
Definition: HypoTestPlot.h:28
RooStats::HypoTestPlot::fHypoTestResult
HypoTestResult * fHypoTestResult
Definition: HypoTestPlot.h:36
int