#include <ConfidenceContours.h>
Definition at line 21 of file ConfidenceContours.h.
 
§ ConfidenceContours()
      
        
          | ConfidenceContours::ConfidenceContours  | 
          ( | 
          OptParser *  | 
          arg | ) | 
           | 
        
      
 
 
§ ~ConfidenceContours()
      
        
          | ConfidenceContours::~ConfidenceContours  | 
          ( | 
           | ) | 
           | 
        
      
 
 
§ addBoundaryBins()
  
  
      
        
          | TH2F * ConfidenceContours::addBoundaryBins  | 
          ( | 
          TH2F *  | 
          hist | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Helper function for computeContours(): Constructs a new 2D histogram that contains 2 more bins in each direction that are set to the minimum, so that the contours will always close. 
- Parameters
 - 
  
  
 
- Returns
 - new 2D histogram. Caller assumes ownership. 
 
Definition at line 65 of file ConfidenceContours.cpp.
 
 
§ addFilledPlotArea()
  
  
      
        
          | void ConfidenceContours::addFilledPlotArea  | 
          ( | 
          TH2F *  | 
          hist | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Add a new contour that is just the plotted area. 
- Parameters
 - 
  
    | hist | - histogram providing the dimensions of the plotted area  | 
  
   
Definition at line 115 of file ConfidenceContours.cpp.
 
 
§ computeContours()
      
        
          | void ConfidenceContours::computeContours  | 
          ( | 
          TH2F *  | 
          hist,  | 
        
        
           | 
           | 
          histogramType  | 
          type,  | 
        
        
           | 
           | 
          int  | 
          id = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Compute the raw N sigma confidence contours from a 2D histogram holding either the chi2 or the p-value curve. 
The resulting contours are stored into the m_contours member.
- Parameters
 - 
  
    | hist | - the 2D histogram  | 
    | type | - the type of the 2D histogram, either chi2 or p-value  | 
  
   
Definition at line 144 of file ConfidenceContours.cpp.
 
 
§ Draw()
      
        
          | void ConfidenceContours::Draw  | 
          ( | 
           | ) | 
           | 
        
      
 
 
§ DrawDashedLine()
      
        
          | void ConfidenceContours::DrawDashedLine  | 
          ( | 
           | ) | 
           | 
        
      
 
 
§ setStyle()
      
        
          | void ConfidenceContours::setStyle  | 
          ( | 
          vector< int > &  | 
          linecolor,  | 
        
        
           | 
           | 
          vector< int > &  | 
          linestyle,  | 
        
        
           | 
           | 
          vector< int > &  | 
          fillcolor,  | 
        
        
           | 
           | 
          vector< int > &  | 
          fillstyle  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
§ setTransparency()
  
  
      
        
          | void ConfidenceContours::setTransparency  | 
          ( | 
          float  | 
          percent | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
§ transformChi2valleyToHill()
  
  
      
        
          | TH2F * ConfidenceContours::transformChi2valleyToHill  | 
          ( | 
          TH2F *  | 
          hist,  | 
         
        
           | 
           | 
          float  | 
          offset  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
Helper function for computeContours(): Transforms the chi2 valley into a hill to help ROOTs contour mechanism Caller assumes ownership. 
- Parameters
 - 
  
    | hist | - the 2D histogram  | 
    | offset | - a chi2 offset, usually 30 units  | 
  
   
- Returns
 - - the transformed 2D histogram 
 
Definition at line 97 of file ConfidenceContours.cpp.
 
 
§ m_arg
§ m_contours
  
  
      
        
          | vector<Contour*> ConfidenceContours::m_contours | 
         
       
   | 
  
private   | 
  
 
 
§ m_fillcolor
  
  
      
        
          | vector<int> ConfidenceContours::m_fillcolor | 
         
       
   | 
  
private   | 
  
 
 
§ m_fillstyle
  
  
      
        
          | vector<int> ConfidenceContours::m_fillstyle | 
         
       
   | 
  
private   | 
  
 
 
§ m_linecolor
  
  
      
        
          | vector<int> ConfidenceContours::m_linecolor | 
         
       
   | 
  
private   | 
  
 
 
§ m_linestyle
  
  
      
        
          | vector<int> ConfidenceContours::m_linestyle | 
         
       
   | 
  
private   | 
  
 
 
§ m_linewidth
  
  
      
        
          | vector<int> ConfidenceContours::m_linewidth | 
         
       
   | 
  
private   | 
  
 
 
§ m_transparency
  
  
      
        
          | float ConfidenceContours::m_transparency | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: