00001 // @(#)root/roostats:$Id: HypoTestPlot.h 36602 2010-11-11 16:52:13Z moneta $ 00002 // Author: Sven Kreiss June 2010 00003 /************************************************************************* 00004 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see $ROOTSYS/LICENSE. * 00008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00009 *************************************************************************/ 00010 00011 #ifndef ROOSTATS_HypoTestPlot 00012 #define ROOSTATS_HypoTestPlot 00013 00014 #ifndef ROOSTATS_SamplingDistPlot 00015 #include "RooStats/SamplingDistPlot.h" 00016 #endif 00017 00018 #ifndef ROOSTATS_SamplingDistribution 00019 #include "RooStats/SamplingDistribution.h" 00020 #endif 00021 00022 #ifndef ROOSTATS_HypoTestResult 00023 #include "RooStats/HypoTestResult.h" 00024 #endif 00025 00026 namespace RooStats { 00027 00028 class HypoTestPlot: public SamplingDistPlot { 00029 public: 00030 /// Constructor 00031 HypoTestPlot(HypoTestResult& result, Int_t bins=100); 00032 ~HypoTestPlot(void) {} 00033 00034 // Applies a HypoTestResult. 00035 void ApplyResult(HypoTestResult& result); 00036 // Set default style options (also called in the constructor that takes a HypoTestResult). 00037 void ApplyDefaultStyle(void); 00038 00039 private: 00040 HypoTestResult *fHypoTestResult; 00041 00042 protected: 00043 ClassDef(HypoTestPlot,1) 00044 }; 00045 } 00046 00047 #endif 00048