| 
    GammaCombo
    Rev:Unversioneddirectory
    
   | 
 
Interface class for the root trees that are written by the Plugin method and related functions. More...
#include <ToyTree.h>

Public Member Functions | |
| void | activateAllBranches () | 
| Activate all branches.  More... | |
| void | activateBranch (const TString &bName) | 
| activate a single Tree  More... | |
| void | activateCoreBranchesOnly () | 
| Activate only core branches to speed up reading them.  More... | |
| void | fill () | 
| Save current values of the proxy variables as an event into the TTree.  More... | |
| OptParser * | getArg () | 
| Long64_t | GetEntries () | 
| void | GetEntry (Long64_t i) | 
| TString | getName () | 
| float | getScanpointMax () | 
| Get maximum of scanpoint variable found in the TTree.  More... | |
| float | getScanpointMin () | 
| Get minimum of scanpoint variable found in the TTree.  More... | |
| int | getScanpointN () | 
| Get number of different values of the scanpoint variable found in the TTree.  More... | |
| float | getScanpointyMax () | 
| Get maximum of scanpointy variable found in the TTree.  More... | |
| float | getScanpointyMin () | 
| Get minimum of scanpointy variable found in the TTree.  More... | |
| int | getScanpointyN () | 
| Get number of different values of the scanpointy variable found in the TTree.  More... | |
| TTree * | getTree () | 
| void | init () | 
| Initialize a new TTree, set up all its leaves, connect them to the proxy variables.  More... | |
| bool | isWsVarAngle (TString var) | 
| Checks if a certain variable in the work space is an angle.  More... | |
| void | open () | 
| Provide the interface to read an external TChain.  More... | |
| void | setCombiner (Combiner *c) | 
| Set the combiner to work with.  More... | |
| void | setStoreGlob (bool flag) | 
| void | setStoreObs (bool flag) | 
| void | setStoreTh (bool flag) | 
| void | storeObservables () | 
| Store the current workspace observables.  More... | |
| void | storeParsFree () | 
| Store the current workspace fit parameters as the free fit result.  More... | |
| void | storeParsGau (const RooArgSet globalConstraintMeans) | 
| Store the current workspace fit parameters as the free fit result.  More... | |
| void | storeParsPll () | 
| Store the current workspace fit parameters as the profile likelihood parameters.  More... | |
| void | storeParsScan () | 
| Store the current workspace fit parameters as the scan fit result.  More... | |
| void | storeTheory () | 
| Store the current workspace theory parameters.  More... | |
| ToyTree (Combiner *c, TChain *t=0) | |
| ToyTree (PDF_Datasets *p, OptParser *opt, TChain *t=0) | |
| void | writeToFile (TString fName) | 
| Save the TTree into a root file.  More... | |
| void | writeToFile () | 
| ~ToyTree () | |
Public Attributes | |
| float | BergerBoos_id | 
| float | chi2min | 
| the chi2 of the fit with var fixed to scan point  More... | |
| float | chi2minBkg | 
| the chi2 of the fit of the bkg hypothesis (for CLs method)  More... | |
| float | chi2minBkgToy | 
| the chi2 of the fit of the hypothesis value to the bkg toy distribution (for CLs method)  More... | |
| float | chi2minBkgToyPDF | 
| float | chi2minGlobal | 
| the chi2 of the free fit  More... | |
| float | chi2minGlobalBkgToy | 
| the chi2 of the free fit to the bkg only toys  More... | |
| float | chi2minGlobalToy | 
| the chi2 of the free fit to the toy  More... | |
| float | chi2minGlobalToyPDF | 
| float | chi2minToy | 
| the chi2 of the fit to the toy with var fixed to scan point  More... | |
| float | chi2minToyPDF | 
| float | covQualFree | 
| float | covQualScan | 
| float | covQualScanData | 
| float | genericProbPValue | 
| float | id | 
| an ID to distinguish different conditions, e.g. different toys in a coverage test  More... | |
| float | nBergerBoos | 
| float | npoint | 
| an ID to distinguish different scan point  More... | |
| float | nrun | 
| an ID to distinguish different runs, i.e. batch jobs  More... | |
| float | ntoy | 
| an ID to distinguish different toys  More... | |
| float | scanbest | 
| an alias to the free fit value of the scan variable  More... | |
| float | scanbestBkg | 
| an alias to the free fit value of the scan variable on the bkg only toy (for CLs method)  More... | |
| float | scanbesty | 
| an alias to the free fit value of the scan y variable in 2D scans  More... | |
| float | scanpoint | 
| the scanpoint for 1D scans, or the x scanpoint for 2D scans  More... | |
| float | scanpointy | 
| the y scanpoint for 2D scans  More... | |
| float | statusFree | 
| float | statusFreePDF | 
| float | statusScan | 
| float | statusScanData | 
| float | statusScanPDF | 
| TTree * | t | 
| the tree  More... | |
Private Member Functions | |
| void | computeMinMaxN () | 
| Get min scanpoint, max scanpoint, and number of steps by looping over the tree.  More... | |
| void | initMembers (TChain *t=0) | 
| Initialize the data members.  More... | |
Private Attributes | |
| OptParser * | arg | 
| command line arguments  More... | |
| Combiner * | comb | 
| combination bringing in the arg, workspace, and names  More... | |
| map< TString, float > | constraintMeans | 
| values of global observables  More... | |
| TString | globName | 
| set name of explicit set of global observables  More... | |
| TString | name | 
| combiner name, ending up in titles and file names  More... | |
| map< string, float > | observables | 
| values of the observables  More... | |
| TString | obsName | 
| dataset name of observables, derived from name  More... | |
| map< string, float > | parametersFree | 
| fit result of the free fit  More... | |
| map< string, float > | parametersPll | 
| parameters of the profile likelihood curve of the data  More... | |
| map< string, float > | parametersScan | 
| fit result of the scan fit  More... | |
| TString | parsName | 
| set name of physics parameters, derived from name  More... | |
| TString | pdfName | 
| PDF name in workspace, derived from name.  More... | |
| float | scanpointMax | 
| maximum of the scanpoint, computed by computeMinMaxN().  More... | |
| float | scanpointMin | 
| minimum of the scanpoint, computed by computeMinMaxN().  More... | |
| int | scanpointN | 
| number of different values of the scanpoint, computed by computeMinMaxN().  More... | |
| float | scanpointyMax | 
| maximum of the scanpointy, computed by computeMinMaxN().  More... | |
| float | scanpointyMin | 
| minimum of the scanpointy, computed by computeMinMaxN().  More... | |
| int | scanpointyN | 
| number of different values of the scanpointy, computed by computeMinMaxN().  More... | |
| bool | storeGlob | 
| Boolean flag to control storing ToyTree global observables. Extremely handy in DatasetsScans.  More... | |
| bool | storeObs | 
| Boolean flag to control storing ToyTree observables, can't store these for DatasetsScans.  More... | |
| bool | storeTh | 
| Boolean flag to control storing ToyTree theory parameters. Not needed in DatasetsScans.  More... | |
| map< string, float > | theory | 
| theory parameters (=observables at profile likelihood points)  More... | |
| TString | thName | 
| set name of theory parameters, derived from name  More... | |
| RooWorkspace * | w | 
| holds all input pdfs, parameters, and observables, as well as the combination  More... | |
Interface class for the root trees that are written by the Plugin method and related functions.
| ToyTree::ToyTree | ( | Combiner * | c, | 
| TChain * | t = 0  | 
        ||
| ) | 
Definition at line 3 of file ToyTree.cpp.
| ToyTree::ToyTree | ( | PDF_Datasets * | p, | 
| OptParser * | opt, | ||
| TChain * | t = 0  | 
        ||
| ) | 
Definition at line 12 of file ToyTree.cpp.
| ToyTree::~ToyTree | ( | ) | 
Definition at line 30 of file ToyTree.cpp.
| void ToyTree::activateAllBranches | ( | ) | 
Activate all branches.
Definition at line 297 of file ToyTree.cpp.
| void ToyTree::activateBranch | ( | const TString & | bName | ) | 
activate a single Tree
Definition at line 289 of file ToyTree.cpp.
| void ToyTree::activateCoreBranchesOnly | ( | ) | 
Activate only core branches to speed up reading them.
Definition at line 255 of file ToyTree.cpp.
      
  | 
  private | 
Get min scanpoint, max scanpoint, and number of steps by looping over the tree.
Definition at line 393 of file ToyTree.cpp.
| void ToyTree::fill | ( | ) | 
Save current values of the proxy variables as an event into the TTree.
Definition at line 103 of file ToyTree.cpp.
| Long64_t ToyTree::GetEntries | ( | ) | 
Definition at line 377 of file ToyTree.cpp.
| void ToyTree::GetEntry | ( | Long64_t | i | ) | 
Definition at line 383 of file ToyTree.cpp.
| float ToyTree::getScanpointMax | ( | ) | 
Get maximum of scanpoint variable found in the TTree.
Definition at line 477 of file ToyTree.cpp.
| float ToyTree::getScanpointMin | ( | ) | 
Get minimum of scanpoint variable found in the TTree.
Definition at line 468 of file ToyTree.cpp.
| int ToyTree::getScanpointN | ( | ) | 
Get number of different values of the scanpoint variable found in the TTree.
Definition at line 486 of file ToyTree.cpp.
| float ToyTree::getScanpointyMax | ( | ) | 
Get maximum of scanpointy variable found in the TTree.
Definition at line 504 of file ToyTree.cpp.
| float ToyTree::getScanpointyMin | ( | ) | 
Get minimum of scanpointy variable found in the TTree.
Definition at line 495 of file ToyTree.cpp.
| int ToyTree::getScanpointyN | ( | ) | 
Get number of different values of the scanpointy variable found in the TTree.
Definition at line 513 of file ToyTree.cpp.
| void ToyTree::init | ( | ) | 
Initialize a new TTree, set up all its leaves, connect them to the proxy variables.
Definition at line 136 of file ToyTree.cpp.
      
  | 
  private | 
Initialize the data members.
Definition at line 36 of file ToyTree.cpp.
| bool ToyTree::isWsVarAngle | ( | TString | var | ) | 
Checks if a certain variable in the work space is an angle.
Definition at line 522 of file ToyTree.cpp.
| void ToyTree::open | ( | ) | 
Provide the interface to read an external TChain.
Definition at line 217 of file ToyTree.cpp.
| void ToyTree::setCombiner | ( | Combiner * | c | ) | 
Set the combiner to work with.
When setting a new combiner, different from the one used in the constructor, the new one needs to have the same structure, but can have different unique PDF IDs. This way we can, e.g. in the coverage test, save results from many different toys.
Definition at line 82 of file ToyTree.cpp.
| void ToyTree::storeObservables | ( | ) | 
Store the current workspace observables.
Definition at line 370 of file ToyTree.cpp.
| void ToyTree::storeParsFree | ( | ) | 
Store the current workspace fit parameters as the free fit result.
Definition at line 324 of file ToyTree.cpp.
| void ToyTree::storeParsGau | ( | const RooArgSet | globalConstraintMeans | ) | 
Store the current workspace fit parameters as the free fit result.
Definition at line 337 of file ToyTree.cpp.
| void ToyTree::storeParsPll | ( | ) | 
Store the current workspace fit parameters as the profile likelihood parameters.
Definition at line 306 of file ToyTree.cpp.
| void ToyTree::storeParsScan | ( | ) | 
Store the current workspace fit parameters as the scan fit result.
Definition at line 350 of file ToyTree.cpp.
| void ToyTree::storeTheory | ( | ) | 
Store the current workspace theory parameters.
Definition at line 360 of file ToyTree.cpp.
| void ToyTree::writeToFile | ( | TString | fName | ) | 
Save the TTree into a root file.
Definition at line 111 of file ToyTree.cpp.
| void ToyTree::writeToFile | ( | ) | 
Definition at line 121 of file ToyTree.cpp.
| float ToyTree::chi2min | 
| float ToyTree::chi2minBkg | 
| float ToyTree::chi2minBkgToy | 
| float ToyTree::chi2minGlobalBkgToy | 
| float ToyTree::chi2minGlobalToy | 
| float ToyTree::chi2minToy | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| float ToyTree::id | 
      
  | 
  private | 
| float ToyTree::npoint | 
| float ToyTree::nrun | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
| float ToyTree::scanbest | 
| float ToyTree::scanbestBkg | 
| float ToyTree::scanbesty | 
| float ToyTree::scanpoint | 
      
  | 
  private | 
maximum of the scanpoint, computed by computeMinMaxN().
      
  | 
  private | 
minimum of the scanpoint, computed by computeMinMaxN().
      
  | 
  private | 
number of different values of the scanpoint, computed by computeMinMaxN().
      
  | 
  private | 
maximum of the scanpointy, computed by computeMinMaxN().
      
  | 
  private | 
minimum of the scanpointy, computed by computeMinMaxN().
      
  | 
  private | 
number of different values of the scanpointy, computed by computeMinMaxN().
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
 1.8.12