Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
Private Member Functions |
Private Attributes |
List of all members
LauAbsFitModel Class Referenceabstract Abstract interface to the fitting and toy MC model. More...
Inheritance diagram for LauAbsFitModel:
![]()
Detailed DescriptionAbstract interface to the fitting and toy MC model. Abstract interface to the fitting and toy MC model Any class inheriting from this must implement the following functions:
Definition at line 87 of file LauAbsFitModel.hh. Member Typedef Documentation
List of parameter pointers. Definition at line 306 of file LauAbsFitModel.hh.
A type to store background classes. Definition at line 312 of file LauAbsFitModel.hh.
List of parameters. Definition at line 310 of file LauAbsFitModel.hh.
List of parameter pointers. Definition at line 304 of file LauAbsFitModel.hh.
Set of parameter pointers. Definition at line 308 of file LauAbsFitModel.hh.
List of Pdfs. Definition at line 302 of file LauAbsFitModel.hh. Constructor & Destructor Documentation
Constructor. Definition at line 55 of file LauAbsFitModel.cc.
Destructor. Definition at line 87 of file LauAbsFitModel.cc.
Copy constructor (not implemented) Member Function Documentation
Add parameters to the list of Gaussian constrained parameters. Definition at line 878 of file LauAbsFitModel.cc.
Add parameters of the PDFs in the list to the list of all fit parameters.
Definition at line 856 of file LauAbsFitModel.cc.
Add a branch to the gen tree for storing a double.
Definition at line 354 of file LauAbsFitModel.cc.
Add a branch to the gen tree for storing an integer.
Definition at line 349 of file LauAbsFitModel.cc.
Add a branch to the sPlot tree for storing a double.
Definition at line 389 of file LauAbsFitModel.cc.
Add a branch to the sPlot tree for storing an integer.
Definition at line 384 of file LauAbsFitModel.cc.
The number assigned to a background class.
Definition at line 197 of file LauAbsFitModel.cc.
Get the name of a background class from the number.
Definition at line 215 of file LauAbsFitModel.cc.
Have all PDFs in the list cache the data.
Definition at line 950 of file LauAbsFitModel.cc.
Cache the input data values to calculate the likelihood during the fit. Implements LauSimFitSlave. Implemented in LauCPFitModel, and LauSimpleFitModel.
Cache the value of the sWeights to be used in the sFit. Definition at line 537 of file LauAbsFitModel.cc.
Calculate the sPlot data. Definition at line 601 of file LauAbsFitModel.cc.
Update initial fit parameters if required. Implemented in LauCPFitModel, and LauSimpleFitModel.
Clear the vectors containing extra ntuple variables. Definition at line 242 of file LauAbsFitModel.cc.
Clear the vectors containing fit parameters. Definition at line 227 of file LauAbsFitModel.cc.
Specify that a toy MC sample should be created for a successful fit to an experiment. Generation uses the fitted parameters so that the user can compare the fit to the data
Definition at line 614 of file LauAbsFitModel.cc.
Const access the Gaussian constrained variables. Definition at line 689 of file LauAbsFitModel.hh.
Access the Gaussian constrained variables. Definition at line 691 of file LauAbsFitModel.hh.
Create a toy MC sample from the fitted parameters.
Definition at line 623 of file LauAbsFitModel.cc.
Determine whether an extended maximum likelihood fit it being performed. Definition at line 116 of file LauAbsFitModel.hh.
Choice to perform an extended maximum likelihood fit.
Definition at line 122 of file LauAbsFitModel.hh.
Determine whether Poisson smearing is enabled for the toy MC generation. Definition at line 125 of file LauAbsFitModel.hh.
Turn Poisson smearing (for the toy MC generation) on or off.
Definition at line 131 of file LauAbsFitModel.hh.
Return the flag to store the status of using an sFit or not. Definition at line 106 of file LauAbsFitModel.hh.
Do an sFit (use sWeights to isolate signal decays rather than using background histograms)
Definition at line 153 of file LauAbsFitModel.cc.
Determine whether embedding of events is enabled in the generation. Definition at line 134 of file LauAbsFitModel.hh.
Turn on or off embedding of events in the generation.
Definition at line 140 of file LauAbsFitModel.hh.
Const access the extra variables. Definition at line 684 of file LauAbsFitModel.hh.
Access the extra variables. Definition at line 686 of file LauAbsFitModel.hh.
Fill the gen tuple branches. Definition at line 379 of file LauAbsFitModel.cc.
Fill the sPlot tuple. Definition at line 404 of file LauAbsFitModel.cc.
Perform all finalisation actions.
Implements LauSimFitSlave. Definition at line 1004 of file LauAbsFitModel.cc.
Write the results of the fit into the ntuple.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Perform the total fit.
Definition at line 409 of file LauAbsFitModel.cc.
Const access the data store. Definition at line 704 of file LauAbsFitModel.hh.
Access the data store. Definition at line 706 of file LauAbsFitModel.hh.
Routine to perform the actual fit for a given experiment. Definition at line 561 of file LauAbsFitModel.cc.
Const access the fit variables. Definition at line 674 of file LauAbsFitModel.hh.
Access the fit variables. Definition at line 676 of file LauAbsFitModel.hh.
Returns the names and yields of species that are fixed in the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
Returns the names and yields of species that are free in the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
Generate toy MC.
Definition at line 274 of file LauAbsFitModel.cc.
The method that actually generates the toy MC events for the given experiment.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Const access the gen ntuple. Definition at line 694 of file LauAbsFitModel.hh.
Access the gen ntuple. Definition at line 696 of file LauAbsFitModel.hh.
Returns the sum of the expected events over all hypotheses; used in the EML fit scenario. Implemented in LauCPFitModel, and LauSimpleFitModel.
Get the value of a double branch in the gen tree.
Definition at line 374 of file LauAbsFitModel.cc.
Get the value of an integer branch in the gen tree.
Definition at line 369 of file LauAbsFitModel.cc.
Calculate the sum of the log-likelihood over the specified events.
Definition at line 771 of file LauAbsFitModel.cc.
Calculate the penalty terms to the log likelihood from Gaussian constraints. Definition at line 755 of file LauAbsFitModel.cc.
Calculates the likelihood for a given event.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Calculates the total negative log-likelihood. This function has to be public since it is called from the global FCN. It should not be called otherwise! Implements LauSimFitSlave. Definition at line 732 of file LauAbsFitModel.cc.
Initialise the fit par vectors. Each class that inherits from this one must implement this sensibly for all vectors specified in clearFitParVectors, i.e. specify parameter names, initial, min, max and fixed values Implements LauSimFitSlave. Implemented in LauCPFitModel, and LauSimpleFitModel.
Initialise the DP models. Implemented in LauCPFitModel, and LauSimpleFitModel.
Returns the number of background classes. Definition at line 188 of file LauAbsFitModel.hh.
Copy assignment operator (not implemented)
Do any of the PDFs have a dependence on the DP?
Definition at line 665 of file LauAbsFitModel.hh.
Do any of the PDFs have a dependence on the DP?
Definition at line 671 of file LauAbsFitModel.hh.
Package the initial fit parameters for transmission to the master.
Implements LauSimFitSlave. Definition at line 984 of file LauAbsFitModel.cc.
Prints the values of all the fit variables for the specified event - useful for diagnostics.
Definition at line 967 of file LauAbsFitModel.cc.
Print the fit parameters for all PDFs in the list.
Definition at line 926 of file LauAbsFitModel.cc.
Same as printEventInfo, but printing out the values of the variables in the fit. Definition at line 976 of file LauAbsFitModel.cc.
Calculate the product of the per-event likelihoods of the PDFs in the list.
Definition at line 957 of file LauAbsFitModel.cc.
This function (specific to each model) calculates anything that depends on the fit parameter values. Implemented in LauCPFitModel, and LauSimpleFitModel.
Read in the data for the current experiment.
Implements LauSimFitSlave. Definition at line 1053 of file LauAbsFitModel.cc.
Recalculate normalisation the signal DP model(s) Implemented in LauCPFitModel, and LauSimpleFitModel.
Const access the fit variables which affect the DP normalisation. Definition at line 679 of file LauAbsFitModel.hh.
Access the fit variables which affect the DP normalisation. Definition at line 681 of file LauAbsFitModel.hh.
Start the toy generation / fitting.
Definition at line 102 of file LauAbsFitModel.cc.
Routine to perform the minimisation.
save files containing graphs of the resonance's PDFs Definition at line 152 of file LauAbsFitModel.hh.
Turn on or off the save of files containing graphs of the resonance's PDFs.
Definition at line 158 of file LauAbsFitModel.hh.
Save the pdf Plots for all the resonances of experiment number fitExp.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Save the pdf Plots for the sum of ressonances correspondint to "sin" of experiment number fitExp.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Check if the mis-reconstructed signal is to be smeared in the DP. Implemented in LauCPFitModel, and LauSimpleFitModel.
Set the DP amplitude coefficients. The name of the coeffSet must match the name of one of the resonances in the DP model. The supplied order of coefficients will be rearranged to match the order in which the resonances are stored in the dynamics, see LauIsobarDynamics::addResonance.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Setup the background class names.
Definition at line 165 of file LauAbsFitModel.cc.
Set the value of a double branch in the gen tree.
Definition at line 364 of file LauAbsFitModel.cc.
Set the value of an integer branch in the gen tree.
Definition at line 359 of file LauAbsFitModel.cc.
Make sure all parameters hold their genValue as the current value. Definition at line 248 of file LauAbsFitModel.cc.
Set named model parameters from a file. Identical to setParametersFromFile, but only import parameters named from parameters set. All others are set to their values specified in the model configuration.
Definition at line 1076 of file LauAbsFitModel.cc.
Set the number of background events. The name of the parameter must be that of the corresponding background category (so that it can be correctly assigned)
Implemented in LauCPFitModel, and LauSimpleFitModel.
Set the number of signal events.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Set named model parameters from a given std::map, with fallback to those from a file. Parameters named in the map are imported with their specified values. All other parameters are set to the values corresponding to the value in the given file.
Definition at line 1084 of file LauAbsFitModel.cc.
Set model parameters from a file.
Definition at line 1063 of file LauAbsFitModel.cc.
Set model parameters from a given std::map. Only parameters named in the map are imported, all others are set to their values specified in the model configuration.
Definition at line 1070 of file LauAbsFitModel.cc.
This function sets the parameter values from Minuit. This function has to be public since it is called from the global FCN. It should not be called otherwise!
Implements LauSimFitSlave. Definition at line 812 of file LauAbsFitModel.cc.
Set the value of a double branch in the sPlot tree.
Definition at line 399 of file LauAbsFitModel.cc.
Set the value of an integer branch in the sPlot tree.
Definition at line 394 of file LauAbsFitModel.cc.
Method to set up the storage for background-related quantities called by setBkgndClassNames. Implemented in LauCPFitModel, and LauSimpleFitModel.
Setup the generation ntuple branches. Implemented in LauCPFitModel, and LauSimpleFitModel.
Setup saving of fit results to ntuple/LaTeX table etc.
Reimplemented from LauSimFitSlave. Definition at line 514 of file LauAbsFitModel.cc.
Setup the branches of the sPlot tuple. Implemented in LauCPFitModel, and LauSimpleFitModel.
Check if the signal is split into well-reconstructed and mis-reconstructed types. Implemented in LauCPFitModel, and LauSimpleFitModel.
Const access the sPlot ntuple. Definition at line 699 of file LauAbsFitModel.hh.
Access the sPlot ntuple. Definition at line 701 of file LauAbsFitModel.hh.
Determine whether the efficiency information should be stored in the sPlot ntuple. Definition at line 173 of file LauAbsFitModel.hh.
Store the per-event likelihood values. Implemented in LauCPFitModel, and LauSimpleFitModel.
Returns the species and variables for all 2D PDFs in the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
For each amp in the fit this function takes its particular parameters and from them calculates the single complex number that is its coefficient. The vector of these coeffs can then be passed to the signal dynamics. Implemented in LauCPFitModel, and LauSimpleFitModel.
Update the fit parameters for all PDFs in the list.
Definition at line 919 of file LauAbsFitModel.cc.
Is the Dalitz plot term in the likelihood. Definition at line 97 of file LauAbsFitModel.hh.
Switch on/off the Dalitz plot term in the Likelihood (allows fits to other quantities, e.g. B mass)
Definition at line 103 of file LauAbsFitModel.hh.
Determine whether the initial values of the fit parameters, in particular the isobar coefficient parameters, are to be randomised. Definition at line 176 of file LauAbsFitModel.hh.
Randomise the initial values of the fit parameters, in particular the isobar coefficient parameters. Definition at line 179 of file LauAbsFitModel.hh.
Check if the given background class is in the list.
Definition at line 180 of file LauAbsFitModel.cc.
Returns the names of all variables in the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
Open the input file and verify that all required variables are present.
Implements LauSimFitSlave. Definition at line 521 of file LauAbsFitModel.cc.
Weighting - allows e.g. MC events to be weighted by the DP model.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Determine whether writing out of the latex table is enabled. Definition at line 143 of file LauAbsFitModel.hh.
Turn on or off the writing out of the latex table.
Definition at line 149 of file LauAbsFitModel.hh.
Write the latex table.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Set up the sPlot ntuple.
Definition at line 257 of file LauAbsFitModel.cc.
Determine whether the sPlot data is to be written out. Definition at line 170 of file LauAbsFitModel.hh. Member Data Documentation
The set of parameters that are imported (either from a file or by value) and not. Definition at line 726 of file LauAbsFitModel.hh.
The background class names. Definition at line 786 of file LauAbsFitModel.hh.
Option to make toy from 1st successful experiment. Definition at line 738 of file LauAbsFitModel.hh.
Internal vectors of Gaussian parameters. Definition at line 772 of file LauAbsFitModel.hh.
The total fit timer. Definition at line 806 of file LauAbsFitModel.hh.
Option to perfom the sFit. Definition at line 793 of file LauAbsFitModel.hh.
Option to perform an extended ML fit. Definition at line 750 of file LauAbsFitModel.hh.
Option to enable embedding. Definition at line 754 of file LauAbsFitModel.hh.
Extra variables that aren't in the fit but are stored in the ntuple. Definition at line 769 of file LauAbsFitModel.hh.
The output file name for Toy MC. Definition at line 814 of file LauAbsFitModel.hh.
Option to perform Poisson smearing. Definition at line 820 of file LauAbsFitModel.hh.
The scaling factor (toy vs data statistics) Definition at line 818 of file LauAbsFitModel.hh.
The output table name for Toy MC. Definition at line 816 of file LauAbsFitModel.hh.
Internal vector of fit parameters. Definition at line 763 of file LauAbsFitModel.hh.
Imported parameters file name. Definition at line 709 of file LauAbsFitModel.hh.
Map from imported parameter name to value. Definition at line 715 of file LauAbsFitModel.hh.
Imported parameter names. Definition at line 718 of file LauAbsFitModel.hh.
Whether to fix the loaded parameters (kTRUE) or leave them floating (kFALSE) Definition at line 721 of file LauAbsFitModel.hh.
Imported parameters tree name. Definition at line 712 of file LauAbsFitModel.hh.
The generated ntuple. Definition at line 779 of file LauAbsFitModel.hh.
The input data. Definition at line 777 of file LauAbsFitModel.hh.
An empty string. Definition at line 788 of file LauAbsFitModel.hh.
The output table name. Definition at line 809 of file LauAbsFitModel.hh.
Option to state if pdfs depend on DP position. Definition at line 758 of file LauAbsFitModel.hh.
Option to perform Poisson smearing. Definition at line 752 of file LauAbsFitModel.hh.
Option to randomise the initial values of the fit parameters. Definition at line 748 of file LauAbsFitModel.hh.
Internal set of fit parameters upon which the DP normalisation depends. Definition at line 766 of file LauAbsFitModel.hh.
Option to output a .C file of PDF's. Definition at line 740 of file LauAbsFitModel.hh.
The name of the sPlot file. Definition at line 825 of file LauAbsFitModel.hh.
The sPlot ntuple. Definition at line 781 of file LauAbsFitModel.hh.
The name of the sPlot tree. Definition at line 827 of file LauAbsFitModel.hh.
Control the verbosity of the sFit. Definition at line 829 of file LauAbsFitModel.hh.
Option to store DP efficiencies in the sPlot ntuple. Definition at line 746 of file LauAbsFitModel.hh.
The name of the sWeight branch. Definition at line 795 of file LauAbsFitModel.hh.
The vector of sWeights. Definition at line 797 of file LauAbsFitModel.hh.
The sWeight scaling factor. Definition at line 799 of file LauAbsFitModel.hh.
The fit timer. Definition at line 804 of file LauAbsFitModel.hh.
Option to include the DP as part of the fit. Definition at line 756 of file LauAbsFitModel.hh.
Option to output a Latex format table. Definition at line 742 of file LauAbsFitModel.hh.
Option to write sPlot data. Definition at line 744 of file LauAbsFitModel.hh. The documentation for this class was generated from the following files:
Generated by ![]() |