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 88 of file LauAbsFitModel.hh. Member Function Documentation◆ addFitParameters() [1/5]
Add the given parameter(s) to the list of all fit parameters.
Definition at line 955 of file LauAbsFitModel.cc. ◆ addFitParameters() [2/5]
Add the given parameter(s) to the list of all fit parameters.
Definition at line 967 of file LauAbsFitModel.cc. ◆ addFitParameters() [3/5]
Add the given parameter to the list of all fit parameters.
Definition at line 918 of file LauAbsFitModel.cc. ◆ addFitParameters() [4/5]
Add the given parameter(s) to the list of all fit parameters.
Definition at line 944 of file LauAbsFitModel.cc. ◆ addFitParameters() [5/5]
Add parameters of the PDFs in the list to the list of all fit parameters.
Definition at line 978 of file LauAbsFitModel.cc. ◆ addGenNtupleDoubleBranch()
Add a branch to the gen tree for storing a double.
Definition at line 377 of file LauAbsFitModel.cc. ◆ addGenNtupleIntegerBranch()
Add a branch to the gen tree for storing an integer.
Definition at line 372 of file LauAbsFitModel.cc. ◆ addResonanceParameters() [1/2]
Add the given parameter to the list of resonance parameters and the list of all fit parameters.
Definition at line 994 of file LauAbsFitModel.cc. ◆ addResonanceParameters() [2/2]
Add the given parameter(s) to the list of resonance parameters and the list of all fit parameters.
Definition at line 1008 of file LauAbsFitModel.cc. ◆ addSPlotNtupleDoubleBranch()
Add a branch to the sPlot tree for storing a double.
Definition at line 412 of file LauAbsFitModel.cc. ◆ addSPlotNtupleIntegerBranch()
Add a branch to the sPlot tree for storing an integer.
Definition at line 407 of file LauAbsFitModel.cc. ◆ bkgndClassID()
The number assigned to a background class.
Definition at line 206 of file LauAbsFitModel.cc. ◆ bkgndClassName()
Get the name of a background class from the number.
Definition at line 227 of file LauAbsFitModel.cc. ◆ cacheInfo()
Have all PDFs in the list cache the data.
Definition at line 1125 of file LauAbsFitModel.cc. ◆ compareFitData()
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 661 of file LauAbsFitModel.cc. ◆ createFitToyMC()
Create a toy MC sample from the fitted parameters.
Definition at line 673 of file LauAbsFitModel.cc. ◆ doEMLFit()
Choice to perform an extended maximum likelihood fit.
Definition at line 123 of file LauAbsFitModel.hh. ◆ doPoissonSmearing()
Turn Poisson smearing (for the toy MC generation) on or off.
Definition at line 132 of file LauAbsFitModel.hh. ◆ doSFit()
Do an sFit (use sWeights to isolate signal decays rather than using background histograms)
Definition at line 158 of file LauAbsFitModel.cc. ◆ enableEmbedding()
Turn on or off embedding of events in the generation.
Definition at line 141 of file LauAbsFitModel.hh. ◆ finaliseExperiment()
Perform all finalisation actions.
Implements LauSimFitTask. Definition at line 1182 of file LauAbsFitModel.cc. ◆ finaliseFitResults()
Write the results of the fit into the ntuple.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ fit()
Perform the total fit.
Definition at line 432 of file LauAbsFitModel.cc. ◆ generate()
Generate toy MC.
Definition at line 287 of file LauAbsFitModel.cc. ◆ genExpt()
The method that actually generates the toy MC events for the given experiment.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ getDPAmps()
Calculate the DP amplitude(s) for a given DP position. If not already done, this function will initialise the DP models
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ getDPLikelihoods()
Calculate the DP likelihood(s) for a given DP position. If not already done, this function will initialise the DP models
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ getGenNtupleDoubleBranchValue()
Get the value of a double branch in the gen tree.
Definition at line 397 of file LauAbsFitModel.cc. ◆ getGenNtupleIntegerBranchValue()
Get the value of an integer branch in the gen tree.
Definition at line 392 of file LauAbsFitModel.cc. ◆ getLogLikelihood()
Calculate the sum of the log-likelihood over the specified events.
Definition at line 828 of file LauAbsFitModel.cc. ◆ getTotEvtLikelihood()
Calculates the likelihood for a given event.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ getTotNegLogLikelihood()
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 LauSimFitTask. Definition at line 788 of file LauAbsFitModel.cc. ◆ initialise()
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 LauSimFitTask. Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ pdfsDependOnDP() [1/2]
Do any of the PDFs have a dependence on the DP?
Definition at line 756 of file LauAbsFitModel.hh. ◆ pdfsDependOnDP() [2/2]
Do any of the PDFs have a dependence on the DP?
Definition at line 762 of file LauAbsFitModel.hh. ◆ prepareInitialParArray()
Package the initial fit parameters for transmission to the coordinator.
Implements LauSimFitTask. Definition at line 1162 of file LauAbsFitModel.cc. ◆ printEventInfo()
Prints the values of all the fit variables for the specified event - useful for diagnostics.
Definition at line 1142 of file LauAbsFitModel.cc. ◆ printFitParameters()
Print the fit parameters for all PDFs in the list.
Definition at line 1097 of file LauAbsFitModel.cc. ◆ prodPdfValue()
Calculate the product of the per-event likelihoods of the PDFs in the list.
Definition at line 1132 of file LauAbsFitModel.cc. ◆ readExperimentData()
Read in the data for the current experiment.
Implements LauSimFitTask. Definition at line 1238 of file LauAbsFitModel.cc. ◆ run()
Start the toy generation / fitting.
Definition at line 92 of file LauAbsFitModel.cc. ◆ runMinimisation()
Routine to perform the minimisation.
◆ saveFilePDF()
Turn on or off the save of files containing graphs of the resonance's PDFs.
Definition at line 159 of file LauAbsFitModel.hh. ◆ savePDFPlots()
Save the pdf Plots for all the resonances of experiment number fitExp.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ savePDFPlotsWave()
Save the pdf Plots for the sum of ressonances correspondint to "sin" of experiment number fitExp.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ setAmpCoeffSet()
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. ◆ setBkgndClassNames()
Setup the background class names.
Definition at line 171 of file LauAbsFitModel.cc. ◆ setGenNtupleDoubleBranchValue()
Set the value of a double branch in the gen tree.
Definition at line 387 of file LauAbsFitModel.cc. ◆ setGenNtupleIntegerBranchValue()
Set the value of an integer branch in the gen tree.
Definition at line 382 of file LauAbsFitModel.cc. ◆ setNamedParameters()
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 1264 of file LauAbsFitModel.cc. ◆ setNBkgndEvents()
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. ◆ setNSigEvents()
Set the number of signal events.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ setParametersFileFallback()
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 1275 of file LauAbsFitModel.cc. ◆ setParametersFromFile()
Set model parameters from a file.
Definition at line 1248 of file LauAbsFitModel.cc. ◆ setParametersFromMap()
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 1257 of file LauAbsFitModel.cc. ◆ setParsFromMinuit()
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 LauSimFitTask. Definition at line 871 of file LauAbsFitModel.cc. ◆ setSPlotNtupleDoubleBranchValue()
Set the value of a double branch in the sPlot tree.
Definition at line 422 of file LauAbsFitModel.cc. ◆ setSPlotNtupleIntegerBranchValue()
Set the value of an integer branch in the sPlot tree.
Definition at line 417 of file LauAbsFitModel.cc. ◆ setupResultsOutputs()
Setup saving of fit results to ntuple/LaTeX table etc.
Reimplemented from LauSimFitTask. Definition at line 550 of file LauAbsFitModel.cc. ◆ updateCoeffs()
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. ◆ updateFitParameters()
Update the fit parameters for all PDFs in the list.
Definition at line 1090 of file LauAbsFitModel.cc. ◆ useDP()
Switch on/off the Dalitz plot term in the Likelihood (allows fits to other quantities, e.g. B mass)
Definition at line 104 of file LauAbsFitModel.hh. ◆ validBkgndClass()
Check if the given background class is in the list.
Definition at line 187 of file LauAbsFitModel.cc. ◆ verifyFitData()
Open the input file and verify that all required variables are present.
Implements LauSimFitTask. Definition at line 557 of file LauAbsFitModel.cc. ◆ weightEvents()
Weighting - allows e.g. MC events to be weighted by the DP model.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ writeLatexTable()
Turn on or off the writing out of the latex table.
Definition at line 150 of file LauAbsFitModel.hh. ◆ writeOutTable()
Write the latex table.
Implemented in LauCPFitModel, and LauSimpleFitModel. ◆ writeSPlotData()
Set up the sPlot ntuple.
Definition at line 266 of file LauAbsFitModel.cc. The documentation for this class was generated from the following files:
Generated by ![]() |