GammaCombo  Rev:Unversioneddirectory
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GammaComboEngine Class Reference

The main GammaCombo scanning engine, controlling the application. More...

#include <GammaComboEngine.h>

Collaboration diagram for GammaComboEngine:
Collaboration graph
[legend]

Public Member Functions

void addCombiner (int id, Combiner *cmb)
 Add a Combiner to the GammaComboEngine object. More...
 
void addPdf (int id, PDF_Abs *pdf, TString title="")
 Add a PDF to the GammaComboEngine object. More...
 
void addSubsetPdf (int id, PDF_Abs *pdf, vector< int > &indices, TString title="")
 Add a pdf with a subset of the observables to the GammaComboEngine. More...
 
void addSubsetPdf (int id, PDF_Abs *pdf, int i1, TString title="")
 
void addSubsetPdf (int id, PDF_Abs *pdf, int i1, int i2, TString title="")
 
void addSubsetPdf (int id, PDF_Abs *pdf, int i1, int i2, int i3, TString title="")
 
void addSubsetPdf (int id, PDF_Abs *pdf, int i1, int i2, int i3, int i4, TString title="")
 
void adjustRanges (Combiner *c, int cId)
 Helper function for scan(). More...
 
void cloneCombiner (int newId, int oldId, TString name, TString title)
 Add a new Combiner to the GammaComboEngine object, that is the clone of an existing one. More...
 
 GammaComboEngine (TString name, int argc, char *argv[])
 
 GammaComboEngine (TString name, int argc, char *argv[], bool _runOnDataSet)
 
OptParsergetArg ()
 
CombinergetCombiner (int id) const
 Get a combiner. More...
 
PDF_AbsgetPdf (int id)
 Get a PDF. More...
 
void newCombiner (int id, TString name, TString title, int pdf1=-1, int pdf2=-1, int pdf3=-1, int pdf4=-1, int pdf5=-1, int pdf6=-1, int pdf7=-1, int pdf8=-1, int pdf9=-1, int pdf10=-1, int pdf11=-1, int pdf12=-1, int pdf13=-1, int pdf14=-1, int pdf15=-1)
 Add a new Combiner, consisting of the specified PDFs. More...
 
PDF_Absoperator[] (int idx)
 
void print ()
 Print the content of this engine. More...
 
void printCombinations ()
 Print the availabe Combinations. More...
 
void printPdfs ()
 Print the available PDFs. More...
 
void run ()
 run GammaComboEngine, main steering function More...
 
void runApplication ()
 run the ROOT application, if the -i flag for interactive mode was set. More...
 
void scanStrategy1d (MethodProbScan *scanner, ParameterCache *pCache)
 Perform a 1D scan with the following scan strategy. More...
 
void scanStrategy2d (MethodProbScan *scanner, ParameterCache *pCache)
 Define scan strategy for a 2D scan. More...
 
void setPdf (PDF_Abs *pdf)
 Set the PDF (for datasets method) for the GammaComboEngine. More...
 
void setRunOnDataSet (bool opt)
 
void setupToyVariationSets (Combiner *c, int cId)
 Helper function for scan(): Makes named sets for any toy variations that were requested. More...
 
 ~GammaComboEngine ()
 

Private Member Functions

void checkAsimovArg ()
 Check Asimov arg: when only one –asimov argument is given with the ID 0, it won't do anything. More...
 
void checkColorArg ()
 Check color argument and exit if a non-existing color was requested through the –color argument. More...
 
void checkCombinationArg ()
 Check the combination argument (-c), exit if it is bad. More...
 
bool combinerExists (int id) const
 Check if a Combiner with a certain ID exits. More...
 
void configureAsimovCombinerNames (Combiner *c, int i)
 Configure the names and titles of Asimov combiners. More...
 
void customizeCombinerTitles ()
 Override default titles of the combinations, if requested on the command line. More...
 
void defineColors ()
 Define the colors of curves and numbers in the 1D plots. More...
 
void disableSystematics ()
 disable systematics More...
 
void fixParameters (Combiner *c, int cId)
 Helper function for scan(). More...
 
TString getStartParFileName (int cId)
 Helper function for scan(): Checks if for a given combid (the running index of the -c argument) a start parameter file was configured (-l) argument. More...
 
bool isScanVarObservable (Combiner *c, TString scanVar)
 Checks if a given variable name is in the list of observables of a combiner. More...
 
void loadAsimovPoint (Combiner *c, int cId)
 Make an Asimov toy: set all observables set to truth values. More...
 
void loadStartParameters (MethodProbScan *s, ParameterCache *pCache, int cId)
 Load start parameters. More...
 
void make1dBergerBoosScan (MethodBergerBoosScan *scanner, int cId)
 Perform the 1D berger boos scan. More...
 
void make1dCoveragePlot (MethodCoverageScan *scanner, int cId)
 Make the 1D coverage plot. More...
 
void make1dCoverageScan (MethodCoverageScan *scanner, int cId)
 Perform the coverage scanner. More...
 
void make1dPluginOnlyPlot (MethodPluginScan *sPlugin, int cId)
 Make the plugin-only plot that only shows the plugin as continuous lines. More...
 
void make1dPluginPlot (MethodPluginScan *sPlugin, MethodProbScan *sProb, int cId)
 Make the default 1D plugin plot: More...
 
void make1dPluginScan (MethodPluginScan *scannerPlugin, int cId)
 Perform the 1D plugin scan. More...
 
void make1dProbPlot (MethodProbScan *scanner, int cId)
 Make a 1D plot of a Prob scanner. More...
 
void make1dProbScan (MethodProbScan *scanner, int cId)
 Perform the prob scan. More...
 
void make2dPluginOnlyPlot (MethodPluginScan *sPlugin, int cId)
 Make the plugin-only 2D plot. More...
 
void make2dPluginPlot (MethodPluginScan *sPlugin, MethodProbScan *sProb, int cId)
 Make the default 2D plugin plot: More...
 
void make2dPluginScan (MethodPluginScan *scannerPlugin, int cId)
 Perform the 2D plugin scan. More...
 
void make2dProbPlot (MethodProbScan *scanner, int cId)
 Make the 2D plot for a prob scanner. More...
 
void make2dProbScan (MethodProbScan *scanner, int cId)
 Make a 2D prob scan. More...
 
void makeAddDelCombinations ()
 Implement the logic needed to create new combinations on the fly using the -c 26:+12 syntax. More...
 
void makeLatex (Combiner *c)
 make latex More...
 
bool pdfExists (int id)
 Check if a PDF with a certain ID exits. More...
 
void printBanner ()
 print the initial banner More...
 
void printCombinerStructure (Combiner *c)
 print parameter structure of the combinations into .dot file More...
 
void savePlot ()
 Save the plot to disc. More...
 
void saveWorkspace (Combiner *c, int i)
 save workspace More...
 
void scaleDownErrors ()
 scale down errors More...
 
void scan ()
 scan engine More...
 
void scanDataSet ()
 
void setAsimovObservables (Combiner *c)
 Make an Asimov toy: set all observables set to truth values. More...
 
void setObservablesFromFile (Combiner *c, int cId)
 Helper function for scan(). More...
 
void setUpPlot ()
 Set up the plot. More...
 
void tightenChi2Constraint (Combiner *c, TString scanVar)
 Helper function to set up a scan for an observable, tightens the chi2 constraint. More...
 
void usage ()
 print usage and exit More...
 
void writebatchscripts ()
 write batch scripts More...
 

Private Attributes

OptParserarg
 
vector< Combiner * > cmb
 
vector< int > colorsLine
 
vector< int > colorsText
 
TString execname
 
vector< int > fillStyles
 
BatchScriptWriterm_batchscriptwriter
 
FileNameBuilderm_fnamebuilder
 
vector< PDF_Abs * > pdf
 
OneMinusClPlotAbsplot
 
bool runOnDataSet
 
TStopwatch t
 
TApplication * theApp
 

Detailed Description

The main GammaCombo scanning engine, controlling the application.

Definition at line 41 of file GammaComboEngine.h.

Constructor & Destructor Documentation

§ GammaComboEngine() [1/2]

GammaComboEngine::GammaComboEngine ( TString  name,
int  argc,
char *  argv[] 
)

Definition at line 6 of file GammaComboEngine.cpp.

§ GammaComboEngine() [2/2]

GammaComboEngine::GammaComboEngine ( TString  name,
int  argc,
char *  argv[],
bool  _runOnDataSet 
)

Definition at line 36 of file GammaComboEngine.cpp.

§ ~GammaComboEngine()

GammaComboEngine::~GammaComboEngine ( )

Definition at line 42 of file GammaComboEngine.cpp.

Member Function Documentation

§ addCombiner()

void GammaComboEngine::addCombiner ( int  id,
Combiner cmb 
)

Add a Combiner to the GammaComboEngine object.

Definition at line 218 of file GammaComboEngine.cpp.

§ addPdf()

void GammaComboEngine::addPdf ( int  id,
PDF_Abs pdf,
TString  title = "" 
)

Add a PDF to the GammaComboEngine object.

Definition at line 98 of file GammaComboEngine.cpp.

§ addSubsetPdf() [1/5]

void GammaComboEngine::addSubsetPdf ( int  id,
PDF_Abs pdf,
vector< int > &  indices,
TString  title = "" 
)

Add a pdf with a subset of the observables to the GammaComboEngine.

Definition at line 121 of file GammaComboEngine.cpp.

§ addSubsetPdf() [2/5]

void GammaComboEngine::addSubsetPdf ( int  id,
PDF_Abs pdf,
int  i1,
TString  title = "" 
)

Definition at line 181 of file GammaComboEngine.cpp.

§ addSubsetPdf() [3/5]

void GammaComboEngine::addSubsetPdf ( int  id,
PDF_Abs pdf,
int  i1,
int  i2,
TString  title = "" 
)

Definition at line 188 of file GammaComboEngine.cpp.

§ addSubsetPdf() [4/5]

void GammaComboEngine::addSubsetPdf ( int  id,
PDF_Abs pdf,
int  i1,
int  i2,
int  i3,
TString  title = "" 
)

Definition at line 196 of file GammaComboEngine.cpp.

§ addSubsetPdf() [5/5]

void GammaComboEngine::addSubsetPdf ( int  id,
PDF_Abs pdf,
int  i1,
int  i2,
int  i3,
int  i4,
TString  title = "" 
)

Definition at line 205 of file GammaComboEngine.cpp.

§ adjustRanges()

void GammaComboEngine::adjustRanges ( Combiner c,
int  cId 
)

Helper function for scan().

Adjusts ranges, if requested (only possible before combining).

Definition at line 1361 of file GammaComboEngine.cpp.

§ checkAsimovArg()

void GammaComboEngine::checkAsimovArg ( )
private

Check Asimov arg: when only one –asimov argument is given with the ID 0, it won't do anything.

Print a warning in that case.

Definition at line 690 of file GammaComboEngine.cpp.

§ checkColorArg()

void GammaComboEngine::checkColorArg ( )
private

Check color argument and exit if a non-existing color was requested through the –color argument.

Colors for one-dimensional plots are defined in GammaComboEngine::defineColors(). Colors for two-dimensional pltos are defined in OneMinusClPlot2d::OneMinusClPlot2d().

Definition at line 706 of file GammaComboEngine.cpp.

§ checkCombinationArg()

void GammaComboEngine::checkCombinationArg ( )
private

Check the combination argument (-c), exit if it is bad.

Definition at line 660 of file GammaComboEngine.cpp.

§ cloneCombiner()

void GammaComboEngine::cloneCombiner ( int  newId,
int  oldId,
TString  name,
TString  title 
)

Add a new Combiner to the GammaComboEngine object, that is the clone of an existing one.

After that, the clone can be modified using, e.g., getCombiner(newId)->addPdf(...)

Definition at line 246 of file GammaComboEngine.cpp.

§ combinerExists()

bool GammaComboEngine::combinerExists ( int  id) const
private

Check if a Combiner with a certain ID exits.

Definition at line 63 of file GammaComboEngine.cpp.

§ configureAsimovCombinerNames()

void GammaComboEngine::configureAsimovCombinerNames ( Combiner c,
int  i 
)
private

Configure the names and titles of Asimov combiners.

It adds things like "Asimov3" to the combiner name, where 3 means the 3rd Asimov point from the configured Asimov parameter file (typically *_genpoints.dat).

Definition at line 507 of file GammaComboEngine.cpp.

§ customizeCombinerTitles()

void GammaComboEngine::customizeCombinerTitles ( )
private

Override default titles of the combinations, if requested on the command line.

Definition at line 806 of file GammaComboEngine.cpp.

§ defineColors()

void GammaComboEngine::defineColors ( )
private

Define the colors of curves and numbers in the 1D plots.

It is important to call this only after new combinations were made using the makeAddDelCombinations() mechanism.

Definition at line 848 of file GammaComboEngine.cpp.

§ disableSystematics()

void GammaComboEngine::disableSystematics ( )
private

disable systematics

Definition at line 382 of file GammaComboEngine.cpp.

§ fixParameters()

void GammaComboEngine::fixParameters ( Combiner c,
int  cId 
)
private

Helper function for scan().

Fixes parameters, if requested (only possible before combining).

Definition at line 1348 of file GammaComboEngine.cpp.

§ getArg()

OptParser* GammaComboEngine::getArg ( )
inline

Definition at line 62 of file GammaComboEngine.h.

§ getCombiner()

Combiner * GammaComboEngine::getCombiner ( int  id) const

Get a combiner.

Parameters
id- combiner ID, set when defining the combiner using addCombiner(), cloneCombiner(), or newCombiner()

Definition at line 268 of file GammaComboEngine.cpp.

§ getPdf()

PDF_Abs * GammaComboEngine::getPdf ( int  id)

Get a PDF.

Parameters
id- PDF ID, set when adding the PDF using addPdf()

Definition at line 281 of file GammaComboEngine.cpp.

§ getStartParFileName()

TString GammaComboEngine::getStartParFileName ( int  cId)
private

Helper function for scan(): Checks if for a given combid (the running index of the -c argument) a start parameter file was configured (-l) argument.

If so, it is returned, else the default name is returned.

Definition at line 1405 of file GammaComboEngine.cpp.

§ isScanVarObservable()

bool GammaComboEngine::isScanVarObservable ( Combiner c,
TString  scanVar 
)
private

Checks if a given variable name is in the list of observables of a combiner.

The check is slightly sloppy as it ignores the unique ID.

Parameters
c- the combiner
scanVar- the scan variable name
Returns
true if included, else false

Definition at line 1421 of file GammaComboEngine.cpp.

§ loadAsimovPoint()

void GammaComboEngine::loadAsimovPoint ( Combiner c,
int  cId 
)
private

Make an Asimov toy: set all observables set to truth values.

The truth values are loaded from a parameter file.

Definition at line 523 of file GammaComboEngine.cpp.

§ loadStartParameters()

void GammaComboEngine::loadStartParameters ( MethodProbScan s,
ParameterCache pCache,
int  cId 
)
private

Load start parameters.

Parameters
s- the scanner
cId- combiner id
pCache- parameter cache

Definition at line 449 of file GammaComboEngine.cpp.

§ make1dBergerBoosScan()

void GammaComboEngine::make1dBergerBoosScan ( MethodBergerBoosScan scannerBergerBoos,
int  cId 
)
private

Perform the 1D berger boos scan.

Runs toys in batch mode, and reads them back in.

Parameters
scannerPlugin- the scanner to run the scan with
cId- the id of this combination on the command line

Definition at line 1071 of file GammaComboEngine.cpp.

§ make1dCoveragePlot()

void GammaComboEngine::make1dCoveragePlot ( MethodCoverageScan scanner,
int  cId 
)
private

Make the 1D coverage plot.

Parameters
scanner- the coverage scanner
cId- the id of this combination on the command line

Definition at line 1277 of file GammaComboEngine.cpp.

§ make1dCoverageScan()

void GammaComboEngine::make1dCoverageScan ( MethodCoverageScan scanner,
int  cId 
)
private

Perform the coverage scanner.

Parameters
scanner- the scanner to run the scan with
cId- the id of this combination on the command line

Definition at line 1091 of file GammaComboEngine.cpp.

§ make1dPluginOnlyPlot()

void GammaComboEngine::make1dPluginOnlyPlot ( MethodPluginScan sPlugin,
int  cId 
)
private

Make the plugin-only plot that only shows the plugin as continuous lines.

Parameters
sPlugin- the plugin scanner
cId- the id of this combination on the command line

Definition at line 1244 of file GammaComboEngine.cpp.

§ make1dPluginPlot()

void GammaComboEngine::make1dPluginPlot ( MethodPluginScan sPlugin,
MethodProbScan sProb,
int  cId 
)
private

Make the default 1D plugin plot:

  • curve for the prob scan
  • points with error bars for the plugin scan
Parameters
sPlugin- the plugin scanner
sProb- the prob scanner
cId- the id of this combination on the command line

Definition at line 1185 of file GammaComboEngine.cpp.

§ make1dPluginScan()

void GammaComboEngine::make1dPluginScan ( MethodPluginScan scannerPlugin,
int  cId 
)
private

Perform the 1D plugin scan.

Runs toys in batch mode, and reads them back in.

Parameters
scannerPlugin- the scanner to run the scan with
cId- the id of this combination on the command line

Definition at line 1023 of file GammaComboEngine.cpp.

§ make1dProbPlot()

void GammaComboEngine::make1dProbPlot ( MethodProbScan scanner,
int  cId 
)
private

Make a 1D plot of a Prob scanner.

The scanner can either be a "fresh" one, as made in make1dProbScan(), or a loaded one.

Parameters
scanner- the scanner to plot
cId- the id of this combination on the command line

Definition at line 1120 of file GammaComboEngine.cpp.

§ make1dProbScan()

void GammaComboEngine::make1dProbScan ( MethodProbScan scanner,
int  cId 
)
private

Perform the prob scan.

Parameters
scanner- the scanner to run the scan with
cId- the id of this combination on the command line

Definition at line 985 of file GammaComboEngine.cpp.

§ make2dPluginOnlyPlot()

void GammaComboEngine::make2dPluginOnlyPlot ( MethodPluginScan sPlugin,
int  cId 
)
private

Make the plugin-only 2D plot.

Parameters
sPlugin- the plugin scanner
cId- the id of this combination on the command line

Definition at line 1264 of file GammaComboEngine.cpp.

§ make2dPluginPlot()

void GammaComboEngine::make2dPluginPlot ( MethodPluginScan sPlugin,
MethodProbScan sProb,
int  cId 
)
private

Make the default 2D plugin plot:

  • contours for the the prob scan
  • contours for the the plugin scan
Parameters
sPlugin- the plugin scanner
sProb- the prob scanner
cId- the id of this combination on the command line

Definition at line 1213 of file GammaComboEngine.cpp.

§ make2dPluginScan()

void GammaComboEngine::make2dPluginScan ( MethodPluginScan scannerPlugin,
int  cId 
)
private

Perform the 2D plugin scan.

Runs toys in batch mode, and reads them back in.

Parameters
scannerPlugin- the scanner to run the scan with
cId- the id of this combination on the command line

Definition at line 1046 of file GammaComboEngine.cpp.

§ make2dProbPlot()

void GammaComboEngine::make2dProbPlot ( MethodProbScan scanner,
int  cId 
)
private

Make the 2D plot for a prob scanner.

Definition at line 1309 of file GammaComboEngine.cpp.

§ make2dProbScan()

void GammaComboEngine::make2dProbScan ( MethodProbScan scanner,
int  cId 
)
private

Make a 2D prob scan.

  • load start parameters
  • perform scan
  • save scanner and parameters
Parameters
scanner- the scanner
cId- the id of this combination on the command line

Definition at line 1291 of file GammaComboEngine.cpp.

§ makeAddDelCombinations()

void GammaComboEngine::makeAddDelCombinations ( )
private

Implement the logic needed to create new combinations on the fly using the -c 26:+12 syntax.

Definition at line 732 of file GammaComboEngine.cpp.

§ makeLatex()

void GammaComboEngine::makeLatex ( Combiner c)
private

make latex

Definition at line 1542 of file GammaComboEngine.cpp.

§ newCombiner()

void GammaComboEngine::newCombiner ( int  id,
TString  name,
TString  title,
int  pdf1 = -1,
int  pdf2 = -1,
int  pdf3 = -1,
int  pdf4 = -1,
int  pdf5 = -1,
int  pdf6 = -1,
int  pdf7 = -1,
int  pdf8 = -1,
int  pdf9 = -1,
int  pdf10 = -1,
int  pdf11 = -1,
int  pdf12 = -1,
int  pdf13 = -1,
int  pdf14 = -1,
int  pdf15 = -1 
)

Add a new Combiner, consisting of the specified PDFs.

The pdf arguments refer to the GammaComboEngine ID of the PDFs that should be combined. Add them before using addPdf(). Also an empty combiner is possible, that has no PDFs, so it can be filled later. In that case, leave all pdf arguments at -1.

Definition at line 308 of file GammaComboEngine.cpp.

§ operator[]()

PDF_Abs * GammaComboEngine::operator[] ( int  idx)

Definition at line 290 of file GammaComboEngine.cpp.

§ pdfExists()

bool GammaComboEngine::pdfExists ( int  id)
private

Check if a PDF with a certain ID exits.

Definition at line 52 of file GammaComboEngine.cpp.

§ print()

void GammaComboEngine::print ( )

Print the content of this engine.

Definition at line 651 of file GammaComboEngine.cpp.

§ printBanner()

void GammaComboEngine::printBanner ( )
private

print the initial banner

Definition at line 1957 of file GammaComboEngine.cpp.

§ printCombinations()

void GammaComboEngine::printCombinations ( )

Print the availabe Combinations.

Definition at line 635 of file GammaComboEngine.cpp.

§ printCombinerStructure()

void GammaComboEngine::printCombinerStructure ( Combiner c)
private

print parameter structure of the combinations into .dot file

Definition at line 795 of file GammaComboEngine.cpp.

§ printPdfs()

void GammaComboEngine::printPdfs ( )

Print the available PDFs.

Definition at line 619 of file GammaComboEngine.cpp.

§ run()

void GammaComboEngine::run ( )

run GammaComboEngine, main steering function

Definition at line 1969 of file GammaComboEngine.cpp.

§ runApplication()

void GammaComboEngine::runApplication ( )

run the ROOT application, if the -i flag for interactive mode was set.

Definition at line 1946 of file GammaComboEngine.cpp.

§ savePlot()

void GammaComboEngine::savePlot ( )
private

Save the plot to disc.

Definition at line 837 of file GammaComboEngine.cpp.

§ saveWorkspace()

void GammaComboEngine::saveWorkspace ( Combiner c,
int  i 
)
private

save workspace

Definition at line 1554 of file GammaComboEngine.cpp.

§ scaleDownErrors()

void GammaComboEngine::scaleDownErrors ( )
private

scale down errors

Todo:
implement a more generic version of this function.

As it is, it is only useful for the LHCb gamma combination.

Definition at line 341 of file GammaComboEngine.cpp.

§ scan()

void GammaComboEngine::scan ( )
private

scan engine

Definition at line 1588 of file GammaComboEngine.cpp.

§ scanDataSet()

void GammaComboEngine::scanDataSet ( )
private

Definition at line 1845 of file GammaComboEngine.cpp.

§ scanStrategy1d()

void GammaComboEngine::scanStrategy1d ( MethodProbScan scanner,
ParameterCache pCache 
)

Perform a 1D scan with the following scan strategy.

If no starting values loaded do the default thing:

  1. scan once, using the start parameters found in the ParameterAbs-derived parameter class
  2. scan again from each solution found in the first step

Definition at line 1145 of file GammaComboEngine.cpp.

§ scanStrategy2d()

void GammaComboEngine::scanStrategy2d ( MethodProbScan scanner,
ParameterCache pCache 
)

Define scan strategy for a 2D scan.

Definition at line 911 of file GammaComboEngine.cpp.

§ setAsimovObservables()

void GammaComboEngine::setAsimovObservables ( Combiner c)
private

Make an Asimov toy: set all observables set to truth values.

The Asimov point needs to be loaded in the combiner before.

Parameters
c- combiner which should be set to an asimov toy

Definition at line 398 of file GammaComboEngine.cpp.

§ setObservablesFromFile()

void GammaComboEngine::setObservablesFromFile ( Combiner c,
int  cId 
)
private

Helper function for scan().

Set observables to values from file (only possible before combining).

Definition at line 1458 of file GammaComboEngine.cpp.

§ setPdf()

void GammaComboEngine::setPdf ( PDF_Abs pdf)

Set the PDF (for datasets method) for the GammaComboEngine.

Definition at line 74 of file GammaComboEngine.cpp.

§ setRunOnDataSet()

void GammaComboEngine::setRunOnDataSet ( bool  opt)
inline

Definition at line 74 of file GammaComboEngine.h.

§ setUpPlot()

void GammaComboEngine::setUpPlot ( )
private

Set up the plot.

Definition at line 823 of file GammaComboEngine.cpp.

§ setupToyVariationSets()

void GammaComboEngine::setupToyVariationSets ( Combiner c,
int  cId 
)

Helper function for scan(): Makes named sets for any toy variations that were requested.

Definition at line 1387 of file GammaComboEngine.cpp.

§ tightenChi2Constraint()

void GammaComboEngine::tightenChi2Constraint ( Combiner c,
TString  scanVar 
)
private

Helper function to set up a scan for an observable, tightens the chi2 constraint.

Parameters
c- the combiner
scanVar- the scan variable name (must be an observable)

Definition at line 1437 of file GammaComboEngine.cpp.

§ usage()

void GammaComboEngine::usage ( )
private

print usage and exit

Definition at line 580 of file GammaComboEngine.cpp.

§ writebatchscripts()

void GammaComboEngine::writebatchscripts ( )
private

write batch scripts

Definition at line 1533 of file GammaComboEngine.cpp.

Member Data Documentation

§ arg

OptParser* GammaComboEngine::arg
private

Definition at line 122 of file GammaComboEngine.h.

§ cmb

vector<Combiner*> GammaComboEngine::cmb
private

Definition at line 123 of file GammaComboEngine.h.

§ colorsLine

vector<int> GammaComboEngine::colorsLine
private

Definition at line 124 of file GammaComboEngine.h.

§ colorsText

vector<int> GammaComboEngine::colorsText
private

Definition at line 125 of file GammaComboEngine.h.

§ execname

TString GammaComboEngine::execname
private

Definition at line 127 of file GammaComboEngine.h.

§ fillStyles

vector<int> GammaComboEngine::fillStyles
private

Definition at line 126 of file GammaComboEngine.h.

§ m_batchscriptwriter

BatchScriptWriter* GammaComboEngine::m_batchscriptwriter
private

Definition at line 129 of file GammaComboEngine.h.

§ m_fnamebuilder

FileNameBuilder* GammaComboEngine::m_fnamebuilder
private

Definition at line 128 of file GammaComboEngine.h.

§ pdf

vector<PDF_Abs*> GammaComboEngine::pdf
private

Definition at line 130 of file GammaComboEngine.h.

§ plot

OneMinusClPlotAbs* GammaComboEngine::plot
private

Definition at line 131 of file GammaComboEngine.h.

§ runOnDataSet

bool GammaComboEngine::runOnDataSet
private

Definition at line 134 of file GammaComboEngine.h.

§ t

TStopwatch GammaComboEngine::t
private

Definition at line 132 of file GammaComboEngine.h.

§ theApp

TApplication* GammaComboEngine::theApp
private

Definition at line 133 of file GammaComboEngine.h.


The documentation for this class was generated from the following files: