#include <Fitter.h>
Definition at line 18 of file Fitter.h.
 
§ Fitter()
      
        
          | Fitter::Fitter  | 
          ( | 
          OptParser *  | 
          arg,  | 
        
        
           | 
           | 
          RooWorkspace *  | 
          w,  | 
        
        
           | 
           | 
          TString  | 
          name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
§ ~Fitter()
§ fit()
Run the fit. 
Select a fit method here. 
Definition at line 112 of file Fitter.cpp.
 
 
§ fitForce()
      
        
          | void Fitter::fitForce  | 
          ( | 
           | ) | 
           | 
        
      
 
 
§ fitImprove()
      
        
          | void Fitter::fitImprove  | 
          ( | 
           | ) | 
           | 
        
      
 
 
§ fitOnce()
§ fitTwice()
      
        
          | void Fitter::fitTwice  | 
          ( | 
           | ) | 
           | 
        
      
 
Perform two fits, each time using different start parameters, retain the smallest chi2. 
Note: To debug the start paramter issues, remember that fitToMinBringBackAngles() may perform a second fit, which then uses the start parameters of the first. This will show up in the RooFitResult. 
Definition at line 29 of file Fitter.cpp.
 
 
§ getChi2()
      
        
          | float Fitter::getChi2  | 
          ( | 
           | ) | 
           | 
        
      
 
Returns minimum chi2 value obtained by fit(). 
- Returns
 - min chi2; 1e6 if fit wasn't performed yet 
 
< else we have many entries at -1e27 in the ToyTree 
Definition at line 88 of file Fitter.cpp.
 
 
§ getStatus()
      
        
          | int Fitter::getStatus  | 
          ( | 
           | ) | 
           | 
        
      
 
Check the fit result. 
We require a good covariance matrix and a reasonable EDM for a status "ok". 
- Returns
 - Status code: 0=ok, 1=error, -1=fit() didn't run 
 
Definition at line 100 of file Fitter.cpp.
 
 
§ print()
§ setStartpars()
  
  
      
        
          | void Fitter::setStartpars  | 
          ( | 
          const RooArgSet *  | 
          pars | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
§ setStartparsFirstFit()
  
  
      
        
          | void Fitter::setStartparsFirstFit  | 
          ( | 
          const RooArgSet *  | 
          pars | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
§ setStartparsSecondFit()
  
  
      
        
          | void Fitter::setStartparsSecondFit  | 
          ( | 
          const RooArgSet *  | 
          pars | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
§ arg
command line arguments 
Definition at line 35 of file Fitter.h.
 
 
§ name
Name of the pdf. Call combine() first. 
Definition at line 39 of file Fitter.h.
 
 
§ nFit1Best
counter, how many times did fit 1 of fitTwice() give smaller chi2 
Definition at line 42 of file Fitter.h.
 
 
§ nFit2Best
counter, how many times did fit 2 of fitTwice() give smaller chi2 
Definition at line 43 of file Fitter.h.
 
 
§ obsName
dataset name of observables 
Definition at line 45 of file Fitter.h.
 
 
§ parsName
set name of physics parameters 
Definition at line 46 of file Fitter.h.
 
 
§ pdfName
PDF name in workspace, derived from name. 
Definition at line 44 of file Fitter.h.
 
 
§ startparsFirstFit
      
        
          | RooArgSet const* Fitter::startparsFirstFit | 
        
      
 
start parameters to be used by all fit routines that run one fit, and by the first fit of fitTwice() 
Definition at line 40 of file Fitter.h.
 
 
§ startparsSecondFit
      
        
          | RooArgSet const* Fitter::startparsSecondFit | 
        
      
 
 
§ theResult
      
        
          | RooFitResult* Fitter::theResult | 
        
      
 
the final result 
Definition at line 47 of file Fitter.h.
 
 
holds all input pdfs, parameters, and observables, as well as the combination 
Definition at line 38 of file Fitter.h.
 
 
The documentation for this class was generated from the following files:
- /Users/matt/Scratch/lhcb/CombinationCode/gammacombo/core/include/Fitter.h
 
- /Users/matt/Scratch/lhcb/CombinationCode/gammacombo/core/src/Fitter.cpp