Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:29:45

0001 // @(#)root/roostats:$Id$
0002 // Author: Sven Kreiss    June 2010
0003 /*************************************************************************
0004  * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOSTATS_HypoTestPlot
0012 #define ROOSTATS_HypoTestPlot
0013 
0014 #include "RooStats/SamplingDistPlot.h"
0015 
0016 #include "RooStats/SamplingDistribution.h"
0017 
0018 #include "RooStats/HypoTestResult.h"
0019 
0020 namespace RooStats {
0021 
0022 class HypoTestPlot: public SamplingDistPlot {
0023    public:
0024       /// Constructor
0025       HypoTestPlot() = default; // needed for IO
0026       HypoTestPlot(HypoTestResult& result, Int_t bins=100, Option_t* opt = "NORMALIZE HIST");
0027       HypoTestPlot(HypoTestResult& result, Int_t bins, double min, double max, Option_t* opt = "NORMALIZE HIST");
0028 
0029       /// Applies a HypoTestResult.
0030       void ApplyResult(HypoTestResult& result, Option_t* opt = "NORMALIZE HIST");
0031       /// Set default style options (also called in the constructor that takes a HypoTestResult).
0032       void ApplyDefaultStyle(void);
0033 
0034    private:
0035       HypoTestResult *fHypoTestResult = nullptr;
0036 
0037    protected:
0038    ClassDefOverride(HypoTestPlot,1)
0039 };
0040 }
0041 
0042 #endif
0043