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

Public Member Functions | |
| void | addPdf (PDF_Abs *p) | 
| void | addPdf (PDF_Abs *p1, PDF_Abs *p2) | 
| void | addPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3) | 
| void | addPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4) | 
| void | addPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4, PDF_Abs *p5) | 
| void | addPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4, PDF_Abs *p5, PDF_Abs *p6) | 
| void | adjustPhysRange (TString varName, float min, float max) | 
| Adjust the physical range of a parameter as requested.  More... | |
| Combiner * | Clone (TString name, TString title) | 
| Clone an existing combiner.  More... | |
| void | combine () | 
| Combiner (OptParser *arg, TString title) | |
| Combiner (OptParser *arg, TString name, TString title) | |
| void | delPdf (PDF_Abs *p) | 
| void | delPdf (PDF_Abs *p1, PDF_Abs *p2) | 
| void | delPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3) | 
| void | delPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4) | 
| void | delPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4, PDF_Abs *p5) | 
| void | delPdf (PDF_Abs *p1, PDF_Abs *p2, PDF_Abs *p3, PDF_Abs *p4, PDF_Abs *p5, PDF_Abs *p6) | 
| void | fixParameter (TString var, float value) | 
| Fix a parameter in the fit to the specified value.  More... | |
| void | fixParameters (TString vars) | 
| Fix one or more parameters in the fit to their current values (the start parameters, if no user code modifies them before calling combine()).  More... | |
| OptParser * | getArg () | 
| vector< FixPar > | getConstVars () | 
| TString | getName () const | 
| vector< string > & | getObservableNames () | 
| Return a vector of all observables names present in this combination.  More... | |
| const RooArgSet * | getObservables () | 
| Return a (new?) RooArgSet that contains all observables.  More... | |
| TString | getObsName () const | 
| Returns name of combined parameter set. Call combine() first.  More... | |
| vector< string > & | getParameterNames () | 
| Return a vector of all parameter names present in this combination.  More... | |
| const RooArgSet * | getParameters () | 
| Return a (new?) RooArgSet that contains all parameters.  More... | |
| TString | getParsName () const | 
| Returns name of combined pdf. Call combine() first.  More... | |
| RooAbsPdf * | getPdf () | 
| Returns name of combined observables set. Call combine() first.  More... | |
| TString | getPdfName () const | 
| PDF_Abs * | getPdfProvidingObservable (TString obsname) | 
| Get the PDF that provides a certain observable.  More... | |
| vector< PDF_Abs * > & | getPdfs () | 
| TString | getTitle () const | 
| RooWorkspace * | getWorkspace () | 
| bool | isCombined () const | 
| void | loadParameterLimits () | 
| Activate limits for all parameters.  More... | |
| void | print () | 
| Print the combination setup.  More... | |
| void | replacePdf (PDF_Abs *from, PDF_Abs *to) | 
| void | setName (TString name) | 
| Set the combiner name.  More... | |
| void | setObservablesToToyValues () | 
| Set the observables in the workspace to toy values, that were generated from the current parameter values in the workspace.  More... | |
| void | setParametersConstant () | 
| Helper function for combine(), that actually sets those parameters, that we want to fix, constant in the workspace.  More... | |
| void | setTitle (TString title) | 
| ~Combiner () | |
Private Attributes | |
| bool | _isCombined | 
| OptParser * | arg | 
| vector< FixPar > | constVars | 
| TString | name | 
| TString | obsName | 
| TString | parsName | 
| TString | pdfName | 
| vector< string > | pdfNames | 
| vector< PDF_Abs * > | pdfs | 
| TString | title | 
| RooWorkspace * | w | 
Definition at line 18 of file Combiner.h.
| Combiner::Combiner | ( | OptParser * | arg, | 
| TString | title | ||
| ) | 
Definition at line 3 of file Combiner.cpp.
| Combiner::Combiner | ( | OptParser * | arg, | 
| TString | name, | ||
| TString | title | ||
| ) | 
Definition at line 18 of file Combiner.cpp.
| Combiner::~Combiner | ( | ) | 
Definition at line 30 of file Combiner.cpp.
| void Combiner::addPdf | ( | PDF_Abs * | p | ) | 
Definition at line 48 of file Combiner.cpp.
Definition at line 54 of file Combiner.cpp.
Definition at line 60 of file Combiner.cpp.
Definition at line 66 of file Combiner.cpp.
Definition at line 72 of file Combiner.cpp.
| void Combiner::addPdf | ( | PDF_Abs * | p1, | 
| PDF_Abs * | p2, | ||
| PDF_Abs * | p3, | ||
| PDF_Abs * | p4, | ||
| PDF_Abs * | p5, | ||
| PDF_Abs * | p6 | ||
| ) | 
Definition at line 78 of file Combiner.cpp.
| void Combiner::adjustPhysRange | ( | TString | varName, | 
| float | min, | ||
| float | max | ||
| ) | 
Adjust the physical range of a parameter as requested.
Only possible after combining.
Definition at line 383 of file Combiner.cpp.
| Combiner * Combiner::Clone | ( | TString | name, | 
| TString | title | ||
| ) | 
Clone an existing combiner.
Definition at line 38 of file Combiner.cpp.
| void Combiner::combine | ( | ) | 
Definition at line 137 of file Combiner.cpp.
| void Combiner::delPdf | ( | PDF_Abs * | p | ) | 
Definition at line 85 of file Combiner.cpp.
Definition at line 99 of file Combiner.cpp.
Definition at line 105 of file Combiner.cpp.
Definition at line 111 of file Combiner.cpp.
Definition at line 117 of file Combiner.cpp.
| void Combiner::delPdf | ( | PDF_Abs * | p1, | 
| PDF_Abs * | p2, | ||
| PDF_Abs * | p3, | ||
| PDF_Abs * | p4, | ||
| PDF_Abs * | p5, | ||
| PDF_Abs * | p6 | ||
| ) | 
Definition at line 123 of file Combiner.cpp.
| void Combiner::fixParameter | ( | TString | var, | 
| float | value | ||
| ) | 
Fix a parameter in the fit to the specified value.
To do that, add the parameter to the list of constant parameters.
| var | - the parameter name | 
| value | - the value to fix the parameter to | 
Definition at line 411 of file Combiner.cpp.
| void Combiner::fixParameters | ( | TString | vars | ) | 
Fix one or more parameters in the fit to their current values (the start parameters, if no user code modifies them before calling combine()).
To do that, add the parameters to the list of constant parameters.
| vars | Comma separated list of parameteters to fix. | 
Definition at line 442 of file Combiner.cpp.
      
  | 
  inline | 
Definition at line 42 of file Combiner.h.
      
  | 
  inline | 
Definition at line 64 of file Combiner.h.
      
  | 
  inline | 
Definition at line 49 of file Combiner.h.
| vector< string > & Combiner::getObservableNames | ( | ) | 
Return a vector of all observables names present in this combination.
If being called before combine() was called, a list of observables contained in all PDFs is returned, without unification strings. There might be duplicates in that list, if more than one PDFs contain observables of the same name. If it is being called after combine() was called, the the unification strings are included.
Definition at line 304 of file Combiner.cpp.
| const RooArgSet * Combiner::getObservables | ( | ) | 
Return a (new?) RooArgSet that contains all observables.
Definition at line 344 of file Combiner.cpp.
      
  | 
  inline | 
Returns name of combined parameter set. Call combine() first.
Definition at line 52 of file Combiner.h.
| vector< string > & Combiner::getParameterNames | ( | ) | 
Return a vector of all parameter names present in this combination.
This works already before combine() was called (unline Combiner::getParameters()).
Definition at line 266 of file Combiner.cpp.
| const RooArgSet * Combiner::getParameters | ( | ) | 
Return a (new?) RooArgSet that contains all parameters.
Definition at line 332 of file Combiner.cpp.
      
  | 
  inline | 
Returns name of combined pdf. Call combine() first.
Definition at line 51 of file Combiner.h.
| RooAbsPdf * Combiner::getPdf | ( | ) | 
Returns name of combined observables set. Call combine() first.
Return pointer to combined PDF.
Definition at line 251 of file Combiner.cpp.
      
  | 
  inline | 
Definition at line 50 of file Combiner.h.
| PDF_Abs * Combiner::getPdfProvidingObservable | ( | TString | obsname | ) | 
Get the PDF that provides a certain observable.
The observable needs to contain the unique ID, which corresponds to the number of the PDF in this combiner. This works before combine() was called. Note that delPdf() may change the order of the PDFs, and therefore the unique ID.
| obsname | - name of the observable including the unique string | 
Definition at line 553 of file Combiner.cpp.
      
  | 
  inline | 
Definition at line 54 of file Combiner.h.
      
  | 
  inline | 
Definition at line 48 of file Combiner.h.
      
  | 
  inline | 
Definition at line 55 of file Combiner.h.
      
  | 
  inline | 
Definition at line 56 of file Combiner.h.
| void Combiner::loadParameterLimits | ( | ) | 
Activate limits for all parameters.
This affects the limits used in
If a Feldman-Cousins like behaviour is needed, we need to load the 'phys' limits, which will prevent any parameter going outside the 'phys' range. Else the 'free' limit is loaded, which should be wide enough to get never hit. This is controlled over the command line option "physrange".
Definition at line 518 of file Combiner.cpp.
| void Combiner::print | ( | ) | 
Print the combination setup.
Definition at line 356 of file Combiner.cpp.
Definition at line 130 of file Combiner.cpp.
| void Combiner::setName | ( | TString | name | ) | 
Set the combiner name.
Only possible before combine() was called.
Definition at line 534 of file Combiner.cpp.
| void Combiner::setObservablesToToyValues | ( | ) | 
Set the observables in the workspace to toy values, that were generated from the current parameter values in the workspace.
This can be used to perform a coverage test.
Only possible after the combiner was combined.
Definition at line 475 of file Combiner.cpp.
| void Combiner::setParametersConstant | ( | ) | 
Helper function for combine(), that actually sets those parameters, that we want to fix, constant in the workspace.
They just get added to the "const" set. Later, they are fixed in MethodAbsScan::doInitialFit().
Definition at line 232 of file Combiner.cpp.
      
  | 
  inline | 
Definition at line 63 of file Combiner.h.
      
  | 
  private | 
Definition at line 76 of file Combiner.h.
      
  | 
  private | 
Definition at line 73 of file Combiner.h.
      
  | 
  private | 
Definition at line 77 of file Combiner.h.
      
  | 
  private | 
Definition at line 69 of file Combiner.h.
      
  | 
  private | 
Definition at line 72 of file Combiner.h.
      
  | 
  private | 
Definition at line 71 of file Combiner.h.
      
  | 
  private | 
Definition at line 70 of file Combiner.h.
      
  | 
  private | 
Definition at line 75 of file Combiner.h.
      
  | 
  private | 
Definition at line 64 of file Combiner.h.
      
  | 
  private | 
Definition at line 68 of file Combiner.h.
      
  | 
  private | 
Definition at line 74 of file Combiner.h.
 1.8.12