Public Types |
Public Member Functions |
Protected Member Functions |
Private Member Functions |
Private Attributes |
List of all members
LauSPlot Class Reference Class for defining the SPlot technique. More...
Inheritance diagram for LauSPlot:
Detailed DescriptionClass for defining the SPlot technique. Class for defining the SPlot technique based on TSplot from ROOT by the following authors: Muriel Pivk, Anna Kreshuk (10/2005). (Original copyright notice below) Code extended to deal with the following two extra scenarios:
When performing a multidimensional fit, the sWeights are calculated excluding each dimension in turn and excluding none of the variables. This allows sPlots of the fit variables to be made by using the weight calculated when that variable is excluded, while variables not in the fit can be plotted from the complete information. Definition at line 55 of file LauSPlot.hh. Member Typedef Documentation
Type to associate a variable name with the leaf of the input tree. Definition at line 65 of file LauSPlot.hh.
Type to store names, e.g. of the discriminating/control variables. Definition at line 59 of file LauSPlot.hh.
Type to associate a category name with a double precision number, e.g. a yield or PDF value for a given species. Definition at line 62 of file LauSPlot.hh.
Type to associate the name of the species that have 2D PDFs with the names of the two variables involved in each such PDF. Definition at line 68 of file LauSPlot.hh. Constructor & Destructor Documentation
Constructor.
Definition at line 49 of file LauSPlot.cc.
Destructor. Definition at line 95 of file LauSPlot.cc.
Copy constructor (not implemented) Member Function Documentation
Add the sWeightTree as a friend tree of the input tree. Definition at line 1246 of file LauSPlot.cc.
Computes the cN for the extended sPlots from the covariance matrix.
Definition at line 1122 of file LauSPlot.cc.
Definition at line 874 of file LauSPlot.cc.
Computes the sWeights from the PDFs and covariance matrix.
Definition at line 1148 of file LauSPlot.cc.
Calculate the total likelihood for each species by multiply together all the PDFs for that species.
Definition at line 928 of file LauSPlot.cc.
Make sure that we're using Minuit. Definition at line 722 of file LauSPlot.cc.
Check whether the leaf structure makes sense given the PDFs we are expecting. Definition at line 189 of file LauSPlot.cc.
Copy the sWeight of a given event into LauSPlot::sWeightsCurrent_, from which they can be stored in the output tree.
Definition at line 1212 of file LauSPlot.cc.
Create (if not already done) the tree for storing the cN coeffs. Definition at line 358 of file LauSPlot.cc.
Create (if not already done) the tree for storing the sWeights. Definition at line 372 of file LauSPlot.cc.
Create the branches for each cN coefficient. Definition at line 386 of file LauSPlot.cc.
Check whether the cN branches have been already created.
Definition at line 143 of file LauSPlot.hh.
Set that the cN branches have been already defined.
Definition at line 149 of file LauSPlot.hh.
Check whether the sWeights branches have been already created.
Definition at line 155 of file LauSPlot.hh.
Set that the sWeights branches have been already defined.
Definition at line 161 of file LauSPlot.hh.
Create the branches to store the sWeights. Definition at line 424 of file LauSPlot.cc.
Fill the cN branches. Definition at line 1182 of file LauSPlot.cc.
Fill the sWeights branches. Definition at line 1193 of file LauSPlot.cc.
Initialise Minuit, set the verbosity.
Definition at line 735 of file LauSPlot.cc.
Method to open the file in "update" mode and grab the input tree for reading. Definition at line 107 of file LauSPlot.cc. Copy assignment operator (not implemented)
Print the supplied covariance matrix or, if pointer is null, the one previously calculated.
Definition at line 814 of file LauSPlot.cc.
Print the sum of sWeights for all species.
Definition at line 859 of file LauSPlot.cc.
Reads the values of each PDF likelihood for every event in the experiment. Definition at line 494 of file LauSPlot.cc.
Check whether the input tree has been successfully read.
Definition at line 119 of file LauSPlot.hh.
Set that the input tree has been successfully read.
Definition at line 125 of file LauSPlot.hh.
Read the leaf structure from the tree and check the status of the read (calls LauSPlot::readInputLeaves and LauSPlot::checkLeaves) Definition at line 130 of file LauSPlot.cc.
Read the leaf structure from the tree and setup the leaf map. Definition at line 146 of file LauSPlot.cc.
Update the yields with the newly fitted values and print them (unless print option is "Q").
Definition at line 837 of file LauSPlot.cc.
Method to calculate the sWeights and cN coeffs.
Definition at line 626 of file LauSPlot.cc.
Perform the minimisation wrt the yields alone. Definition at line 792 of file LauSPlot.cc.
Check whether the Self Cross Feed is smeared in the DP.
Definition at line 137 of file LauSPlot.hh.
Set the event list to contain only events from the given experiment.
Definition at line 459 of file LauSPlot.cc.
Add the species yields as fit parameters and fix them as appropriate. Definition at line 761 of file LauSPlot.cc.
Check whether the signal is split into Truth Matched and Self Cross Feed.
Definition at line 131 of file LauSPlot.hh.
Access the per-event total PDF values for each species.
Definition at line 112 of file LauSPlot.hh.
Save the sWeight results as a friend tree to the input tree (in the same file) Definition at line 1224 of file LauSPlot.cc. Member Data Documentation
The extended sPlot coefficients (for each species and for each combination of excluded vars) Definition at line 355 of file LauSPlot.hh.
Pointer to the output tree containing the cN coefficients. Definition at line 288 of file LauSPlot.hh.
The name of the cn tree (containing the cN coefficients) Definition at line 280 of file LauSPlot.hh.
The calculated covariance matrix. Definition at line 348 of file LauSPlot.hh.
Flag whether the cN branches have already been created. Definition at line 319 of file LauSPlot.hh.
Flag whether the sWeights branches have already been created. Definition at line 321 of file LauSPlot.hh.
The per-event values of the PDFs for each species for each disc variable. Definition at line 343 of file LauSPlot.hh.
Pointer to an event list, that is used to loop through the experiments. Definition at line 293 of file LauSPlot.hh.
Pointer to the data file object. Definition at line 284 of file LauSPlot.hh.
The name of the data file. Definition at line 276 of file LauSPlot.hh.
First experiment. Definition at line 324 of file LauSPlot.hh.
The names and estimated yields of the fixed species. Definition at line 303 of file LauSPlot.hh.
The names and estimated yields of the free species. Definition at line 301 of file LauSPlot.hh.
The current experiment. Definition at line 328 of file LauSPlot.hh.
Pointer to the input tree. Definition at line 286 of file LauSPlot.hh.
The name of the input tree (containing the per-event llhds) Definition at line 278 of file LauSPlot.hh.
Collection to hold pointers to the leaves of the input tree. Definition at line 296 of file LauSPlot.hh.
Number of discriminating variables. Definition at line 332 of file LauSPlot.hh.
Number of events in current experiment. Definition at line 330 of file LauSPlot.hh.
Number of experiments. Definition at line 326 of file LauSPlot.hh.
Number of species fixed in the fit. Definition at line 336 of file LauSPlot.hh.
Number of species free to float in the fit. Definition at line 334 of file LauSPlot.hh.
Total number of species (free + fixed) Definition at line 338 of file LauSPlot.hh.
The names and estimated yields of the fixed species - need to keep the original values. Definition at line 307 of file LauSPlot.hh.
The names and estimated yields of the free species - need to keep the original values. Definition at line 305 of file LauSPlot.hh.
The per-event values of the total PDF for each species. Definition at line 341 of file LauSPlot.hh.
Flag whether the input tree has been successfully read. Definition at line 317 of file LauSPlot.hh.
If so then is the SCF smeared in the DP? Definition at line 314 of file LauSPlot.hh.
The per-event values of the SCF fraction. Definition at line 345 of file LauSPlot.hh.
Is the signal split into TM and SCF? Definition at line 312 of file LauSPlot.hh.
The per-event values of the computed sWeights (for each species and for each combination of excluded vars) Definition at line 351 of file LauSPlot.hh.
The current-event values of the computed sWeights. Definition at line 353 of file LauSPlot.hh.
Pointer to the output tree containing the sWeights. Definition at line 290 of file LauSPlot.hh.
The name of the sweight tree (containing the sWeights) Definition at line 282 of file LauSPlot.hh.
The names of the species that have 2D PDFs and the names of the variables involved. Definition at line 309 of file LauSPlot.hh.
The names of the discriminating variables. Definition at line 299 of file LauSPlot.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |