// @(#)root/roostats:$Id$ // Author: Kyle Cranmer, Lorenzo Moneta, Gregory Schott, Wouter Verkerke /************************************************************************* * 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_HypoTestInverterPlot #define ROOSTATS_HypoTestInverterPlot #include "TNamed.h" class TGraphErrors; class TMultiGraph; namespace RooStats { class HypoTestInverterResult; class SamplingDistPlot; class HypoTestInverterPlot : public TNamed { public: // constructor HypoTestInverterPlot(HypoTestInverterResult* results ) ; HypoTestInverterPlot( const char* name, const char* title, HypoTestInverterResult* results ) ; // return a TGraphErrors for the observed plot TGraphErrors* MakePlot(Option_t *opt="") ; // return the TGraphAsymmErrors for the expected plots with the bands specified by TMultiGraph* MakeExpectedPlot(double sig1=1, double sig2=2) ; // plot the test statistic distributions // type =0 null and alt // type = 1 only null (S+B) // type = 2 only alt (B) SamplingDistPlot * MakeTestStatPlot(int index, int type=0, int nbins = 100); // Draw method void Draw(Option_t *opt=""); // destructor ~HypoTestInverterPlot() ; private: HypoTestInverterResult* fResults; protected: ClassDef(HypoTestInverterPlot,1) // HypoTestInverterPlot class }; } #endif