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 69 of file LauSPlot.hh. Member Typedef Documentation
Type to associate a variable name with the leaf of the input tree. Definition at line 79 of file LauSPlot.hh.
Type to store names, e.g. of the discriminating/control variables. Definition at line 73 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 76 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 82 of file LauSPlot.hh. Constructor & Destructor Documentation
Constructor.
Definition at line 63 of file LauSPlot.cc.
Destructor. Definition at line 109 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 1260 of file LauSPlot.cc.
Computes the cN for the extended sPlots from the covariance matrix.
Definition at line 1136 of file LauSPlot.cc.
Definition at line 888 of file LauSPlot.cc.
Computes the sWeights from the PDFs and covariance matrix.
Definition at line 1162 of file LauSPlot.cc.
Calculate the total likelihood for each species by multiply together all the PDFs for that species.
Definition at line 942 of file LauSPlot.cc.
Make sure that we're using Minuit. Definition at line 736 of file LauSPlot.cc.
Check whether the leaf structure makes sense given the PDFs we are expecting. Definition at line 203 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 1226 of file LauSPlot.cc.
Create (if not already done) the tree for storing the cN coeffs. Definition at line 372 of file LauSPlot.cc.
Create (if not already done) the tree for storing the sWeights. Definition at line 386 of file LauSPlot.cc.
Create the branches for each cN coefficient. Definition at line 400 of file LauSPlot.cc.
Check whether the cN branches have been already created.
Definition at line 157 of file LauSPlot.hh.
Set that the cN branches have been already defined.
Definition at line 163 of file LauSPlot.hh.
Check whether the sWeights branches have been already created.
Definition at line 169 of file LauSPlot.hh.
Set that the sWeights branches have been already defined.
Definition at line 175 of file LauSPlot.hh.
Create the branches to store the sWeights. Definition at line 438 of file LauSPlot.cc.
Fill the cN branches. Definition at line 1196 of file LauSPlot.cc.
Fill the sWeights branches. Definition at line 1207 of file LauSPlot.cc.
Initialise Minuit, set the verbosity.
Definition at line 749 of file LauSPlot.cc.
Method to open the file in "update" mode and grab the input tree for reading. Definition at line 121 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 828 of file LauSPlot.cc.
Print the sum of sWeights for all species.
Definition at line 873 of file LauSPlot.cc.
Reads the values of each PDF likelihood for every event in the experiment. Definition at line 508 of file LauSPlot.cc.
Check whether the input tree has been successfully read.
Definition at line 133 of file LauSPlot.hh.
Set that the input tree has been successfully read.
Definition at line 139 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 144 of file LauSPlot.cc.
Read the leaf structure from the tree and setup the leaf map. Definition at line 160 of file LauSPlot.cc.
Update the yields with the newly fitted values and print them (unless print option is "Q").
Definition at line 851 of file LauSPlot.cc.
Method to calculate the sWeights and cN coeffs.
Definition at line 640 of file LauSPlot.cc.
Perform the minimisation wrt the yields alone. Definition at line 806 of file LauSPlot.cc.
Check whether the Self Cross Feed is smeared in the DP.
Definition at line 151 of file LauSPlot.hh.
Set the event list to contain only events from the given experiment.
Definition at line 473 of file LauSPlot.cc.
Add the species yields as fit parameters and fix them as appropriate. Definition at line 775 of file LauSPlot.cc.
Check whether the signal is split into Truth Matched and Self Cross Feed.
Definition at line 145 of file LauSPlot.hh.
Access the per-event total PDF values for each species.
Definition at line 126 of file LauSPlot.hh.
Save the sWeight results as a friend tree to the input tree (in the same file) Definition at line 1238 of file LauSPlot.cc. Member Data Documentation
The extended sPlot coefficients (for each species and for each combination of excluded vars) Definition at line 369 of file LauSPlot.hh.
Pointer to the output tree containing the cN coefficients. Definition at line 302 of file LauSPlot.hh.
The name of the cn tree (containing the cN coefficients) Definition at line 294 of file LauSPlot.hh.
The calculated covariance matrix. Definition at line 362 of file LauSPlot.hh.
Flag whether the cN branches have already been created. Definition at line 333 of file LauSPlot.hh.
Flag whether the sWeights branches have already been created. Definition at line 335 of file LauSPlot.hh.
The per-event values of the PDFs for each species for each disc variable. Definition at line 357 of file LauSPlot.hh.
Pointer to an event list, that is used to loop through the experiments. Definition at line 307 of file LauSPlot.hh.
Pointer to the data file object. Definition at line 298 of file LauSPlot.hh.
The name of the data file. Definition at line 290 of file LauSPlot.hh.
First experiment. Definition at line 338 of file LauSPlot.hh.
The names and estimated yields of the fixed species. Definition at line 317 of file LauSPlot.hh.
The names and estimated yields of the free species. Definition at line 315 of file LauSPlot.hh.
The current experiment. Definition at line 342 of file LauSPlot.hh.
Pointer to the input tree. Definition at line 300 of file LauSPlot.hh.
The name of the input tree (containing the per-event llhds) Definition at line 292 of file LauSPlot.hh.
Collection to hold pointers to the leaves of the input tree. Definition at line 310 of file LauSPlot.hh.
Number of discriminating variables. Definition at line 346 of file LauSPlot.hh.
Number of events in current experiment. Definition at line 344 of file LauSPlot.hh.
Number of experiments. Definition at line 340 of file LauSPlot.hh.
Number of species fixed in the fit. Definition at line 350 of file LauSPlot.hh.
Number of species free to float in the fit. Definition at line 348 of file LauSPlot.hh.
Total number of species (free + fixed) Definition at line 352 of file LauSPlot.hh.
The names and estimated yields of the fixed species - need to keep the original values. Definition at line 321 of file LauSPlot.hh.
The names and estimated yields of the free species - need to keep the original values. Definition at line 319 of file LauSPlot.hh.
The per-event values of the total PDF for each species. Definition at line 355 of file LauSPlot.hh.
Flag whether the input tree has been successfully read. Definition at line 331 of file LauSPlot.hh.
If so then is the SCF smeared in the DP? Definition at line 328 of file LauSPlot.hh.
The per-event values of the SCF fraction. Definition at line 359 of file LauSPlot.hh.
Is the signal split into TM and SCF? Definition at line 326 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 365 of file LauSPlot.hh.
The current-event values of the computed sWeights. Definition at line 367 of file LauSPlot.hh.
Pointer to the output tree containing the sWeights. Definition at line 304 of file LauSPlot.hh.
The name of the sweight tree (containing the sWeights) Definition at line 296 of file LauSPlot.hh.
The names of the species that have 2D PDFs and the names of the variables involved. Definition at line 323 of file LauSPlot.hh.
The names of the discriminating variables. Definition at line 313 of file LauSPlot.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |