Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files 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 
15 
17 
19 
20 namespace RooStats {
21 
22 class HypoTestPlot: public SamplingDistPlot {
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:
36  HypoTestResult *fHypoTestResult;
37 
38  protected:
39  ClassDef(HypoTestPlot,1)
40 };
41 }
42 
43 #endif
44