| 
    GammaCombo
    Rev:Unversioneddirectory
    
   | 
 
#include <OneMinusClPlot.h>


Public Member Functions | |
| void | Draw () | 
| void | drawCLguideLines () | 
| Draw 1, 2, and 3 sigma lines.  More... | |
| void | drawSolutions () | 
| Draw a vertical line a the position of the best solution.  More... | |
| TGraph * | getGraph (MethodAbsScan *s, bool first=true, bool last=false, bool filled=true, int CLsType=0) | 
| TString | getName () | 
| OneMinusClPlot (OptParser *arg, TString name="c1", TString title="c1") | |
| Gamma Combination Author: Till Moritz Karbach, moritz.karbach@cern.ch Date: August 2012.  More... | |
| void | setPluginMarkers (bool yesNo=true) | 
  Public Member Functions inherited from OneMinusClPlotAbs | |
| virtual void | addScanner (MethodAbsScan *s, int CLsType=0) | 
| Add a scanner to this plot.  More... | |
| void | disableLegend (bool yesNo=false) | 
| void | disableSolution (bool yesNo=false) | 
| virtual void | drawGroup (float yPos=0.6) | 
| Draw the group label on plots.  More... | |
| virtual void | drawLabel (float yPos=0.6) | 
| TString | getName () | 
| OneMinusClPlotAbs (OptParser *arg, TString name="c1", TString title="c1") | |
| Gamma Combination Author: Till Moritz Karbach, moritz.karbach@cern.ch Date: August 2012.  More... | |
| void | save () | 
| Save the plot.  More... | |
| void | setFont (int fnum) | 
| void | setLabelSize (int lnum) | 
| void | setPlotLabel (TString &lname) | 
| void | setYLogRange (double min=1.e-3, double max=1) | 
| void | Show () | 
| ~OneMinusClPlotAbs () | |
Private Member Functions | |
| void | drawCLguideLine (float pvalue) | 
| Draw a horizontal line at given p-value, put a label on top of it stating the corresponding CL.  More... | |
| void | drawVerticalLine (float x, int color, int style) | 
| void | scan1dCLsPlot (MethodAbsScan *s, bool smooth=true, bool obsError=true) | 
| Make a plot for the CLs stuff.  More... | |
| TGraph * | scan1dPlot (MethodAbsScan *s, bool first, bool last, bool filled, int CLsType=0) | 
| Make a plot out of a 1D histogram holding a 1-CL curve.  More... | |
| void | scan1dPlotSimple (MethodAbsScan *s, bool first, int CLsType=0) | 
| Make a plot out of a 1D histogram holding a 1-CL curve.  More... | |
Private Attributes | |
| TCanvas * | m_clsCanvas | 
| bool | plotPluginMarkers | 
Additional Inherited Members | |
  Public Attributes inherited from OneMinusClPlotAbs | |
| OptParser * | arg | 
| command line options  More... | |
| vector< int > | do_CLs | 
| vector, which stores the cls method type to be plotted  More... | |
| int | font | 
| font code. The last digit disables scaling with the canvas size.  More... | |
| TString | label | 
| int | labelsize | 
| text size of axis labels in pixels  More... | |
| int | legendsize | 
| text size of legend entries in pixels  More... | |
| TCanvas * | m_mainCanvas | 
| TString | name | 
| bool | plotLegend | 
| double | plotLogYMax | 
| double | plotLogYMin | 
| bool | plotSolution | 
| vector< MethodAbsScan * > | scanners | 
| TString | title | 
| int | titlesize | 
| text size of axis titles in pixels  More... | |
Definition at line 20 of file OneMinusClPlot.h.
| OneMinusClPlot::OneMinusClPlot | ( | OptParser * | arg, | 
| TString | name = "c1",  | 
        ||
| TString | title = "c1"  | 
        ||
| ) | 
Gamma Combination Author: Till Moritz Karbach, moritz.karbach@cern.ch Date: August 2012.
Definition at line 10 of file OneMinusClPlot.cpp.
      
  | 
  virtual | 
< which directly plots the 1-CL histograms without beautification
Reimplemented from OneMinusClPlotAbs.
Definition at line 721 of file OneMinusClPlot.cpp.
      
  | 
  private | 
Draw a horizontal line at given p-value, put a label on top of it stating the corresponding CL.
Definition at line 665 of file OneMinusClPlot.cpp.
| void OneMinusClPlot::drawCLguideLines | ( | ) | 
Draw 1, 2, and 3 sigma lines.
Definition at line 708 of file OneMinusClPlot.cpp.
      
  | 
  virtual | 
Draw a vertical line a the position of the best solution.
For the getDrawSolution() code, see OptParser, –ps.
< see documentation of –qh option in OptParser.cpp
Reimplemented from OneMinusClPlotAbs.
Definition at line 551 of file OneMinusClPlot.cpp.
      
  | 
  private | 
Definition at line 536 of file OneMinusClPlot.cpp.
      
  | 
  inline | 
Definition at line 27 of file OneMinusClPlot.h.
      
  | 
  inline | 
Definition at line 28 of file OneMinusClPlot.h.
      
  | 
  private | 
Make a plot for the CLs stuff.
The strategy is to convert the hCLExp and hCLErr histogrms into TGraphs and TGraphAsymmErrors We can then provide some smoothing options as well
| s | The scanner to plot. | 
| smooth | 
Definition at line 354 of file OneMinusClPlot.cpp.
      
  | 
  private | 
Make a plot out of a 1D histogram holding a 1-CL curve.
The strategy is to always convert the 1-CL histogram (hCL) into a TGraph. This way we can add known points (solutions, points at end of scan range) and also have a filled area without line smoothing. This is not possible with histograms due to a Root bug.
The function draws the TGraphs, and returns a pointer to the TGraph object that can be used in the TLegend.
Markers are plotted if the method name of the scanner is "Plugin" or "BergerBoos" or "DatasetsPlugin". One can plot a line instead of points even for the Plugin method by using setPluginMarkers().
For the angle variables, a new axis is painted that is in Deg.
| s | The scanner to plot. | 
| first | |
| last | |
| filled | 
< see documentation of –qh option in OptParser.cpp
Definition at line 38 of file OneMinusClPlot.cpp.
      
  | 
  private | 
Make a plot out of a 1D histogram holding a 1-CL curve.
This is a fall back function that does no fancy stuff.
| s | The scanner to plot. | 
| first | Set this to true for the first plotted scanner. | 
Definition at line 293 of file OneMinusClPlot.cpp.
      
  | 
  inline | 
Definition at line 29 of file OneMinusClPlot.h.
      
  | 
  private | 
Definition at line 40 of file OneMinusClPlot.h.
      
  | 
  private | 
Definition at line 39 of file OneMinusClPlot.h.
 1.8.12