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

Public Member Functions | |
| ParameterEvolutionPlotter (MethodProbScan *scanner) | |
| void | plotObsScanCheck () | 
| Plot the discrepancy between the observable and the predicted observable when making predictions about observables by scanning them.  More... | |
| void | plotParEvolution () | 
| Plot the evolution of best fit nuisance paramters along the 1-CL curve.  More... | |
| ~ParameterEvolutionPlotter () | |
Private Member Functions | |
| void | drawLinesAtMinima (TVirtualPad *pad) | 
| void | drawVerticalRedLine (TVirtualPad *pad, float xpos) | 
| Draw a vertical red line into the current pad at position i.  More... | |
| void | getLocalMinPositions () | 
| Compute the positions of the local minima, in terms of scan steps, store it in m_localMinPositions.  More... | |
| TGraph * | makeChi2Graph (vector< RooSlimFitResult *> results) | 
| Make a chi2 graph.  More... | |
| TGraph * | makeEvolutionGraph (vector< RooSlimFitResult *> results, TString parName) | 
| Make an evolution graph for one parameter.  More... | |
| TGraphErrors * | makeEvolutionGraphErrors (vector< RooSlimFitResult *> results, TString parName) | 
| Make an evolution graph for one parameter.  More... | |
| void | saveEvolutionPlots () | 
| Save all parameter evolution plots that were created so far.  More... | |
| TCanvas * | selectNewCanvas (TString title) | 
| Create a new canvas and add it to the list of canvases.  More... | |
| TVirtualPad * | selectNewPad () | 
| void | updateCurrentCanvas () | 
| Update the current control plot canvas.  More... | |
Private Attributes | |
| vector< RooSlimFitResult * > | allResults | 
| all results of all scan points  More... | |
| OptParser * | arg | 
| command line arguments  More... | |
| vector< RooSlimFitResult * > | curveResults | 
| only the results of scan points that were accepted into the CL curve  More... | |
| vector< TCanvas * > | m_canvases | 
| Pointers to the canvases of the plots, see selectNewCanvas().  More... | |
| vector< float > | m_localMinPositions | 
| positions of the local minima in scan steps  More... | |
| int | m_padId | 
| ID of currently selected pad, see selectNewPad().  More... | |
| TString | name | 
| scanner name, part of the file name of the plots  More... | |
| TString | obsName | 
| name of observables set inside the workspace  More... | |
| TString | parsName | 
| name of parameter set inside the workspace  More... | |
| TString | scanVar1 | 
| name of the can variable  More... | |
| TString | title | 
| canvas title  More... | |
| RooWorkspace * | w | 
| a clone of the scanner's workspace  More... | |
Definition at line 23 of file ParameterEvolutionPlotter.h.
| ParameterEvolutionPlotter::ParameterEvolutionPlotter | ( | MethodProbScan * | scanner | ) | 
Definition at line 3 of file ParameterEvolutionPlotter.cpp.
| ParameterEvolutionPlotter::~ParameterEvolutionPlotter | ( | ) | 
Definition at line 34 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Definition at line 56 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Draw a vertical red line into the current pad at position i.
Definition at line 66 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Compute the positions of the local minima, in terms of scan steps, store it in m_localMinPositions.
This will then be used to plot a red line at the position of the local minima.
Definition at line 44 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Make a chi2 graph.
Definition at line 117 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Make an evolution graph for one parameter.
Definition at line 101 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Make an evolution graph for one parameter.
Definition at line 84 of file ParameterEvolutionPlotter.cpp.
| void ParameterEvolutionPlotter::plotObsScanCheck | ( | ) | 
Plot the discrepancy between the observable and the predicted observable when making predictions about observables by scanning them.
This checks if the chi2 term of the observable is tight enough. This only works for 1D scans for now.
Definition at line 223 of file ParameterEvolutionPlotter.cpp.
| void ParameterEvolutionPlotter::plotParEvolution | ( | ) | 
Plot the evolution of best fit nuisance paramters along the 1-CL curve.
By changing the code at the beginning of the function one can chose whether all scan results are plotted, or only those comprising the 1-CL curve.
Definition at line 138 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Save all parameter evolution plots that were created so far.
Definition at line 208 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Create a new canvas and add it to the list of canvases.
Definition at line 277 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Definition at line 288 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
Update the current control plot canvas.
Definition at line 306 of file ParameterEvolutionPlotter.cpp.
      
  | 
  private | 
all results of all scan points
Definition at line 48 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
command line arguments
Definition at line 46 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
only the results of scan points that were accepted into the CL curve
Definition at line 49 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
Pointers to the canvases of the plots, see selectNewCanvas().
Definition at line 56 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
positions of the local minima in scan steps
Definition at line 55 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
ID of currently selected pad, see selectNewPad().
Definition at line 57 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
scanner name, part of the file name of the plots
Definition at line 51 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
name of observables set inside the workspace
Definition at line 53 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
name of parameter set inside the workspace
Definition at line 52 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
name of the can variable
Definition at line 54 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
canvas title
Definition at line 50 of file ParameterEvolutionPlotter.h.
      
  | 
  private | 
a clone of the scanner's workspace
Definition at line 47 of file ParameterEvolutionPlotter.h.
 1.8.12