Update 'MassFit.cpp'
parent
bf1bfce36b
commit
589eda329c
@ -68,7 +68,7 @@ Retrieves and returns the path of the sWeight plots.
|
|||||||
* sWeight plot path
|
* sWeight plot path
|
||||||
|
|
||||||
### double massFit()
|
### double massFit()
|
||||||
Performs the fit. Loads the already compiled source files (see [[B mass model|b-mass-model]]), performs basic sanity checks. If the parameters need to be taken from MC/MVAed data, perform the MC/MVA data fit (unless loopFit is true, than it performs the fit only when running the code for the first time!). The fit shape is defined by SigType and BkgType, creates all the RooVars and RooPDFs needed for the fit. Performs the fit and calculates the signal and background yields together with their errors. Saves these values, together with the effective sigma, in a separate file and calculates significance from this. Then, the fit is plotted, including the pulls, and saved.
|
Performs the fit. Loads the already compiled source files (see [[B mass model|B-mass-model]]), performs basic sanity checks. If the parameters need to be taken from MC/MVAed data, perform the MC/MVA data fit (unless loopFit is true, than it performs the fit only when running the code for the first time!). The fit shape is defined by SigType and BkgType, creates all the RooVars and RooPDFs needed for the fit. Performs the fit and calculates the signal and background yields together with their errors. Saves these values, together with the effective sigma, in a separate file and calculates significance from this. Then, the fit is plotted, including the pulls, and saved.
|
||||||
Furthermore, when sWeight is set to true, it calculates and saves the sWeights in the data tuple and creates control plots.
|
Furthermore, when sWeight is set to true, it calculates and saves the sWeights in the data tuple and creates control plots.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user