// @(#)root/roostats:$Id$
// Author: Sven Kreiss    June 2010
/*************************************************************************
 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOSTATS_HypoTestPlot
#define ROOSTATS_HypoTestPlot

#ifndef ROOSTATS_SamplingDistPlot
#include "RooStats/SamplingDistPlot.h"
#endif

#ifndef ROOSTATS_SamplingDistribution
#include "RooStats/SamplingDistribution.h"
#endif

#ifndef ROOSTATS_HypoTestResult
#include "RooStats/HypoTestResult.h"
#endif

namespace RooStats {

class HypoTestPlot: public SamplingDistPlot {
   public:
      /// Constructor
   HypoTestPlot() : SamplingDistPlot() , fHypoTestResult(0) {}   // needed for IO 
      HypoTestPlot(HypoTestResult& result, Int_t bins=100, Option_t* opt = "NORMALIZE HIST");
      HypoTestPlot(HypoTestResult& result, Int_t bins, Double_t min, Double_t max, Option_t* opt = "NORMALIZE HIST");
      ~HypoTestPlot(void) {}

      // Applies a HypoTestResult.
      void ApplyResult(HypoTestResult& result, Option_t* opt = "NORMALIZE HIST");
      // Set default style options (also called in the constructor that takes a HypoTestResult).
      void ApplyDefaultStyle(void);

   private:
      HypoTestResult *fHypoTestResult;

   protected:
   ClassDef(HypoTestPlot,1)
};
}

#endif

 HypoTestPlot.h:1
 HypoTestPlot.h:2
 HypoTestPlot.h:3
 HypoTestPlot.h:4
 HypoTestPlot.h:5
 HypoTestPlot.h:6
 HypoTestPlot.h:7
 HypoTestPlot.h:8
 HypoTestPlot.h:9
 HypoTestPlot.h:10
 HypoTestPlot.h:11
 HypoTestPlot.h:12
 HypoTestPlot.h:13
 HypoTestPlot.h:14
 HypoTestPlot.h:15
 HypoTestPlot.h:16
 HypoTestPlot.h:17
 HypoTestPlot.h:18
 HypoTestPlot.h:19
 HypoTestPlot.h:20
 HypoTestPlot.h:21
 HypoTestPlot.h:22
 HypoTestPlot.h:23
 HypoTestPlot.h:24
 HypoTestPlot.h:25
 HypoTestPlot.h:26
 HypoTestPlot.h:27
 HypoTestPlot.h:28
 HypoTestPlot.h:29
 HypoTestPlot.h:30
 HypoTestPlot.h:31
 HypoTestPlot.h:32
 HypoTestPlot.h:33
 HypoTestPlot.h:34
 HypoTestPlot.h:35
 HypoTestPlot.h:36
 HypoTestPlot.h:37
 HypoTestPlot.h:38
 HypoTestPlot.h:39
 HypoTestPlot.h:40
 HypoTestPlot.h:41
 HypoTestPlot.h:42
 HypoTestPlot.h:43
 HypoTestPlot.h:44
 HypoTestPlot.h:45
 HypoTestPlot.h:46
 HypoTestPlot.h:47
 HypoTestPlot.h:48
 HypoTestPlot.h:49
 HypoTestPlot.h:50