ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
14 #ifndef ROOSTATS_SamplingDistPlot
16 #endif
17 
18 #ifndef ROOSTATS_SamplingDistribution
20 #endif
21 
22 #ifndef ROOSTATS_HypoTestResult
24 #endif
25 
26 namespace RooStats {
27 
28  /**
29 
30  This class provides the plots for the result of a study performed with any of the
31  HypoTestCalculatorGeneric (e.g. HybridCalculator or FrequentistCalculator) class.
32 
33  \ingroup Roostats
34  */
35 
36 
38  public:
39  /// Constructor
40  HypoTestPlot() : SamplingDistPlot() , fHypoTestResult(0) {} // needed for IO
41  HypoTestPlot(HypoTestResult& result, Int_t bins=100, Option_t* opt = "NORMALIZE HIST");
43  ~HypoTestPlot(void) {}
44 
45  /// Applies a HypoTestResult.
46  void ApplyResult(HypoTestResult& result, Option_t* opt = "NORMALIZE HIST");
47  /// Set default style options (also called in the constructor that takes a HypoTestResult).
48  void ApplyDefaultStyle(void);
49 
50  private:
52 
53  protected:
55 };
56 }
57 
58 #endif
59 
HypoTestPlot()
Constructor.
Definition: HypoTestPlot.h:40
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Definition: vector.h:433
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:37
int Int_t
Definition: RtypesCore.h:41
const TKDTreeBinning * bins
#define ClassDef(name, id)
Definition: Rtypes.h:254
void ApplyDefaultStyle(void)
Set default style options (also called in the constructor that takes a HypoTestResult).
HypoTestResult * fHypoTestResult
Definition: HypoTestPlot.h:51
double Double_t
Definition: RtypesCore.h:55
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Definition: vector.h:440
This class provides simple and straightforward utilities to plot SamplingDistribution objects...
double result[121]