Classes |
Public Member Functions |
Protected Types |
Protected Member Functions |
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 79 of file LauAbsFitModel.hh. Member Typedef Documentation
List of parameter pointers. Definition at line 328 of file LauAbsFitModel.hh.
A type to store background classes. Definition at line 334 of file LauAbsFitModel.hh.
List of parameters. Definition at line 332 of file LauAbsFitModel.hh.
List of parameter pointers. Definition at line 326 of file LauAbsFitModel.hh.
Set of parameter pointers. Definition at line 330 of file LauAbsFitModel.hh.
List of Pdfs. Definition at line 324 of file LauAbsFitModel.hh. Constructor & Destructor Documentation
Constructor. Definition at line 43 of file LauAbsFitModel.cc.
Destructor. Definition at line 93 of file LauAbsFitModel.cc.
Copy constructor (not implemented) Member Function Documentation
Add parameters to the list of Gaussian constrained parameters. Definition at line 1174 of file LauAbsFitModel.cc.
Store constraint information for fit parameters.
Implements LauFitObject. Definition at line 1164 of file LauAbsFitModel.cc.
Add parameters of the PDFs in the list to the list of all fit parameters.
Definition at line 1141 of file LauAbsFitModel.cc.
Add a branch to the gen tree for storing a double.
Definition at line 408 of file LauAbsFitModel.cc.
Add a branch to the gen tree for storing an integer.
Definition at line 403 of file LauAbsFitModel.cc.
Add a branch to the sPlot tree for storing a double.
Definition at line 443 of file LauAbsFitModel.cc.
Add a branch to the sPlot tree for storing an integer.
Definition at line 438 of file LauAbsFitModel.cc.
The number assigned to a background class.
Definition at line 254 of file LauAbsFitModel.cc.
Get the name of a background class from the number.
Definition at line 272 of file LauAbsFitModel.cc.
Store variables from the input file into the internal data storage.
Definition at line 795 of file LauAbsFitModel.cc.
Have all PDFs in the list cache the data.
Definition at line 1245 of file LauAbsFitModel.cc.
Cache the input data values to calculate the likelihood during the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
Cache the value of the sWeights to be used in the sFit. Definition at line 811 of file LauAbsFitModel.cc.
Calculate the sPlot data. Definition at line 898 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 299 of file LauAbsFitModel.cc.
Clear the vectors containing fit parameters. Definition at line 284 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 911 of file LauAbsFitModel.cc.
Access the Gaussian constrained variables. Definition at line 674 of file LauAbsFitModel.hh.
Definition at line 675 of file LauAbsFitModel.hh.
Access the fit covariance matrix. Definition at line 700 of file LauAbsFitModel.hh.
Create a toy MC sample from the fitted parameters.
Definition at line 920 of file LauAbsFitModel.cc.
Determine whether an extended maximum likelihood fit it being performed. Definition at line 108 of file LauAbsFitModel.hh.
Choice to perform an extended maximum likelihood fit.
Definition at line 114 of file LauAbsFitModel.hh.
Determine whether Poisson smearing is enabled for the toy MC generation. Definition at line 142 of file LauAbsFitModel.hh.
Turn Poisson smearing (for the toy MC generation) on or off.
Definition at line 148 of file LauAbsFitModel.hh.
Return the flag to store the status of using an sFit or not. Definition at line 98 of file LauAbsFitModel.hh.
Do an sFit (use sWeights to isolate signal decays rather than using background histograms)
Definition at line 210 of file LauAbsFitModel.cc.
Determine whether embedding of events is enabled in the generation. Definition at line 151 of file LauAbsFitModel.hh.
Turn on or off embedding of events in the generation.
Definition at line 157 of file LauAbsFitModel.hh.
Obtain the total number of events in the current experiment. Definition at line 209 of file LauAbsFitModel.hh.
Set the number of events in the current experiment. Definition at line 514 of file LauAbsFitModel.hh.
Access the extra variables. Definition at line 670 of file LauAbsFitModel.hh.
Definition at line 671 of file LauAbsFitModel.hh.
Fill the gen tuple branches. Definition at line 433 of file LauAbsFitModel.cc.
Fill the sPlot tuple. Definition at line 458 of file LauAbsFitModel.cc.
Write the results of the fit into the ntuple.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Obtain the number of the first experiment. Definition at line 215 of file LauAbsFitModel.hh.
Perform the total fit.
Definition at line 463 of file LauAbsFitModel.cc.
Access the data store. Definition at line 690 of file LauAbsFitModel.hh.
Definition at line 691 of file LauAbsFitModel.hh.
Routine to perform the actual fit for a given experiment. Definition at line 835 of file LauAbsFitModel.cc.
Access the fit ntuple. Definition at line 678 of file LauAbsFitModel.hh.
Definition at line 679 of file LauAbsFitModel.hh.
Access the fit variables. Definition at line 662 of file LauAbsFitModel.hh.
Definition at line 663 of file LauAbsFitModel.hh.
Slaves required when performing a simultaneous fit.
Definition at line 578 of file LauAbsFitModel.cc.
Access the fit status information. Definition at line 697 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 331 of file LauAbsFitModel.cc.
The method that actually generates the toy MC events for the given experiment.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Access the gen ntuple. Definition at line 682 of file LauAbsFitModel.hh.
Definition at line 683 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 428 of file LauAbsFitModel.cc.
Get the value of an integer branch in the gen tree.
Definition at line 423 of file LauAbsFitModel.cc.
Calculate the sum of the log-likelihood over the specified events.
Definition at line 1058 of file LauAbsFitModel.cc.
Calculate the penalty terms to the log likelihood from Gaussian constraints. Definition at line 1042 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 LauFitObject. Definition at line 1019 of file LauAbsFitModel.cc.
Obtain the number of the current experiment. Definition at line 218 of file LauAbsFitModel.hh.
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 Implemented in LauCPFitModel, and LauSimpleFitModel.
Initialise the DP models. Implemented in LauCPFitModel, and LauSimpleFitModel.
Initialise socket connections for the slaves.
Returns the number of background classes. Definition at line 227 of file LauAbsFitModel.hh.
Obtain the number of experiments. Definition at line 212 of file LauAbsFitModel.hh.
Access the current NLL value. Definition at line 694 of file LauAbsFitModel.hh.
Copy assignment operator (not implemented)
Do any of the PDFs have a dependence on the DP?
Definition at line 653 of file LauAbsFitModel.hh.
Do any of the PDFs have a dependence on the DP?
Definition at line 659 of file LauAbsFitModel.hh.
Prints the values of all the fit variables for the specified event - useful for diagnostics.
Definition at line 1262 of file LauAbsFitModel.cc.
Print the fit parameters for all PDFs in the list.
Definition at line 1221 of file LauAbsFitModel.cc.
Same as printEventInfo, but printing out the values of the variables in the fit. Definition at line 1271 of file LauAbsFitModel.cc.
Calculate the product of the per-event likelihoods of the PDFs in the list.
Definition at line 1252 of file LauAbsFitModel.cc.
This function (specific to each model) calculates anything that depends on the fit parameter values. Implemented in LauCPFitModel, and LauSimpleFitModel.
Recalculate normalisation the signal DP model(s) Implemented in LauCPFitModel, and LauSimpleFitModel.
Access the fit variables which affect the DP normalisation. Definition at line 666 of file LauAbsFitModel.hh.
Definition at line 667 of file LauAbsFitModel.hh.
Start the toy generation / fitting.
Definition at line 111 of file LauAbsFitModel.cc.
Routine to perform the minimisation.
Start the slave process for simultaneous fitting.
Definition at line 158 of file LauAbsFitModel.cc.
Check if the mis-reconstructed signal is to be smeared in the DP. Implemented in LauCPFitModel, and LauSimpleFitModel.
Set the DP amplitude coefficients.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Setup the background class names.
Definition at line 222 of file LauAbsFitModel.cc.
Set the value of a double branch in the gen tree.
Definition at line 418 of file LauAbsFitModel.cc.
Set the value of an integer branch in the gen tree.
Definition at line 413 of file LauAbsFitModel.cc.
Make sure all parameters hold their genValue as the current value. Definition at line 305 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 experiments and the first experiment.
Definition at line 203 of file LauAbsFitModel.hh.
Set the number of signal events.
Implemented in LauCPFitModel, and LauSimpleFitModel.
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 LauFitObject. Definition at line 1098 of file LauAbsFitModel.cc.
Set the value of a double branch in the sPlot tree.
Definition at line 453 of file LauAbsFitModel.cc.
Set the value of an integer branch in the sPlot tree.
Definition at line 448 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 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.
Access the sPlot ntuple. Definition at line 686 of file LauAbsFitModel.hh.
Definition at line 687 of file LauAbsFitModel.hh.
Determine whether the efficiency information should be stored in the sPlot ntuple. Definition at line 190 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.
Determine whether the two-stage fit is enabled. Definition at line 117 of file LauAbsFitModel.hh.
Turn on or off the two stage fit. The two-stage fit allows certain parameters to be fixed in one stage and floated in another stage of the fit. Can be used, for example, in a CP fit where the CP-parameters are fixed to zero in the first stage (while the CP-average parameters are determined), then floated in the second.
Definition at line 130 of file LauAbsFitModel.hh.
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 1214 of file LauAbsFitModel.cc.
Determine whether calculation of asymmetric errors is enabled. Definition at line 133 of file LauAbsFitModel.hh.
Turn on or off the computation of asymmetric errors (e.g. MINOS routine in Minuit)
Definition at line 139 of file LauAbsFitModel.hh.
Is the Dalitz plot term in the likelihood. Definition at line 89 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 95 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 193 of file LauAbsFitModel.hh.
Randomise the initial values of the fit parameters, in particular the isobar coefficient parameters. Definition at line 196 of file LauAbsFitModel.hh.
Check if the given background class is in the list.
Definition at line 237 of file LauAbsFitModel.cc.
Returns the names of all variables in the fit. Implemented in LauCPFitModel, and LauSimpleFitModel.
Reweighting - allows e.g. MC events to be weighted by the DP model.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Mark that the fit is calculating asymmetric errors. This is called by the fitter interface to mark when entering and exiting the asymmetric error calculation
Implements LauFitObject. Definition at line 166 of file LauAbsFitModel.hh.
Determine whether writing out of the latex table is enabled. Definition at line 169 of file LauAbsFitModel.hh.
Turn on or off the writing out of the latex table.
Definition at line 175 of file LauAbsFitModel.hh.
Write out any fit results. Definition at line 890 of file LauAbsFitModel.cc.
Write the latex table.
Implemented in LauCPFitModel, and LauSimpleFitModel.
Set up the sPlot ntuple.
Definition at line 314 of file LauAbsFitModel.cc.
Determine whether the sPlot data is to be written out. Definition at line 187 of file LauAbsFitModel.hh. Member Data Documentation
The background class names. Definition at line 812 of file LauAbsFitModel.hh.
Option to make toy from 1st successful experiment. Definition at line 735 of file LauAbsFitModel.hh.
Internal vectors of Gaussian parameters. Definition at line 776 of file LauAbsFitModel.hh.
The fit covariance matrix. Definition at line 796 of file LauAbsFitModel.hh.
The total fit timer. Definition at line 832 of file LauAbsFitModel.hh.
Option to perfom the sFit. Definition at line 819 of file LauAbsFitModel.hh.
Option to perform an extended ML fit. Definition at line 745 of file LauAbsFitModel.hh.
Option to enable embedding. Definition at line 749 of file LauAbsFitModel.hh.
The number of events per experiment. Definition at line 762 of file LauAbsFitModel.hh.
Extra variables that aren't in the fit but are stored in the ntuple. Definition at line 773 of file LauAbsFitModel.hh.
The number of the first experiment to consider. Definition at line 758 of file LauAbsFitModel.hh.
The fit ntuple. Definition at line 783 of file LauAbsFitModel.hh.
The status of the fit. Definition at line 792 of file LauAbsFitModel.hh.
The output file name for Toy MC. Definition at line 837 of file LauAbsFitModel.hh.
Option to perform Poisson smearing. Definition at line 843 of file LauAbsFitModel.hh.
The scaling factor (toy vs data statistics) Definition at line 841 of file LauAbsFitModel.hh.
The output table name for Toy MC. Definition at line 839 of file LauAbsFitModel.hh.
Internal vector of fit parameters. Definition at line 767 of file LauAbsFitModel.hh.
The generated ntuple. Definition at line 785 of file LauAbsFitModel.hh.
The number of the current experiment. Definition at line 764 of file LauAbsFitModel.hh.
The input data. Definition at line 781 of file LauAbsFitModel.hh.
Message from master to the slaves. Definition at line 859 of file LauAbsFitModel.hh.
The number of experiments to consider. Definition at line 760 of file LauAbsFitModel.hh.
The number of free fit parameters. Definition at line 804 of file LauAbsFitModel.hh.
The negative log-likelihood. Definition at line 794 of file LauAbsFitModel.hh.
The number of fit parameters. Definition at line 802 of file LauAbsFitModel.hh.
The total number of slaves. Definition at line 863 of file LauAbsFitModel.hh.
An empty string. Definition at line 814 of file LauAbsFitModel.hh.
The number of bad fits. Definition at line 800 of file LauAbsFitModel.hh.
The number of good fits. Definition at line 798 of file LauAbsFitModel.hh.
Parameter values array (for reading from the master) Definition at line 865 of file LauAbsFitModel.hh.
Option to state if pdfs depend on DP position. Definition at line 753 of file LauAbsFitModel.hh.
Option to perform Poisson smearing. Definition at line 747 of file LauAbsFitModel.hh.
Option to randomise the initial values of the fit parameters. Definition at line 743 of file LauAbsFitModel.hh.
Internal set of fit parameters upon which the DP normalisation depends. Definition at line 770 of file LauAbsFitModel.hh.
Slave id number. Definition at line 861 of file LauAbsFitModel.hh.
A socket to enable parallel setup. Definition at line 857 of file LauAbsFitModel.hh.
The name of the sPlot file. Definition at line 848 of file LauAbsFitModel.hh.
The sPlot ntuple. Definition at line 787 of file LauAbsFitModel.hh.
The name of the sPlot tree. Definition at line 850 of file LauAbsFitModel.hh.
Control the verbosity of the sFit. Definition at line 852 of file LauAbsFitModel.hh.
Store the constraints for fit parameters until initialisation is complete. Definition at line 726 of file LauAbsFitModel.hh.
Option to store DP efficiencies in the sPlot ntuple. Definition at line 741 of file LauAbsFitModel.hh.
The name of the sWeight branch. Definition at line 821 of file LauAbsFitModel.hh.
The vector of sWeights. Definition at line 823 of file LauAbsFitModel.hh.
The sWeight scaling factor. Definition at line 825 of file LauAbsFitModel.hh.
The fit timer. Definition at line 830 of file LauAbsFitModel.hh.
Option to perform a two stage fit. Definition at line 731 of file LauAbsFitModel.hh.
Option to use asymmetric errors. Definition at line 733 of file LauAbsFitModel.hh.
Option to include the DP as part of the fit. Definition at line 751 of file LauAbsFitModel.hh.
Flag to indicate if the asymmetric error calculation (e.g. MINOS) is currently running. Definition at line 808 of file LauAbsFitModel.hh.
The worst LL value found so far. Definition at line 806 of file LauAbsFitModel.hh.
Option to output a Latex format table. Definition at line 737 of file LauAbsFitModel.hh.
Option to write sPlot data. Definition at line 739 of file LauAbsFitModel.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |