Logo ROOT   6.14/05
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 
HypoTestPlot()
Constructor.
Definition: HypoTestPlot.h:25
const char Option_t
Definition: RtypesCore.h:62
void ApplyResult(HypoTestResult &result, Option_t *opt="NORMALIZE HIST")
Applies a HypoTestResult.
HypoTestResult is a base class for results from hypothesis tests.
This class provides the plots for the result of a study performed with any of the HypoTestCalculatorG...
Definition: HypoTestPlot.h:22
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:320
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
HypoTestResult * fHypoTestResult
Definition: HypoTestPlot.h:36
Namespace for the RooStats classes.
Definition: Asimov.h:20
double Double_t
Definition: RtypesCore.h:55
This class provides simple and straightforward utilities to plot SamplingDistribution objects...