Update 'MassFit.cpp'

Renata Kopecná 2022-02-07 17:12:23 +01:00
parent fa0f23dd76
commit 231d0642fa

@ -76,7 +76,7 @@ Checks whether the size of the binEdges (or binEdgesEqudistant if isEquidistant
### bool useExtraVarBool()
This functions checks whether the used extra variable is listed in the binning scheme defined in the TMefficiencyClass. **ṪODO** add a link
This functions checks whether the used extra variable is listed in the binning scheme defined in the [TMefficiencyClass](#tmefficiencyclass-tmefficiencyclass).
* **Parameters**
* string extraVar
* **Return**
@ -221,53 +221,53 @@ Calls [massFit](#double-massfit). For the details the fastest is to see the code
* string year
* int Run
* bool MC
* bool PHSP
* //input/output file selectionbool UseOnlyJpsiEvents
* bool UseOnlyMuMuEvents
* //signal/referencebool GetShapeFromMC
* bool PHSP
* bool UseOnlyJpsiEvents
* bool UseOnlyMuMuEvents
* bool GetShapeFromMC
* string SigType
* string BkgType
* bool ConstrainParameters
* //shapebool KshortDecaysInVelo
* bool KshortDecaysInVelo
* bool UseLowQ2Range
* //LL/DD? q2range?Double_t TMVAcut
* //TMVA optionsbool fixedMassRegion
* Double_t TMVAcut
* bool fixedMassRegion
* bool loopFit
* //yield calculation regionbool removeMultiple //remove multiple candidates //TODO: shape from MC if TMVA cut?
* bool removeMultiple
* **Return**
* Signal yield is everything went well, 0 if something failed.
### int basicYieldFitAllYears()
Calls [massFit](#double-massfit). For the details the fastest is to see the code.
* **Parameters**
* //Fits all years separatelybool MC = true
* **Parameters**
* bool MC = true
* bool PHSP = false
* //input/output file selectionbool UseOnlyJpsiEvents = false
* bool UseOnlyJpsiEvents = false
* bool UseOnlyMuMuEvents = false
* //signal/referencebool GetShapeFromMC = false
* bool GetShapeFromMC = false
* string SigType = "OneCB"
* string BkgType = "SingleExponential"
* bool ConstrainParameters = false
* //shapebool KshortDecaysInVelo = Kst2Kspiplus
* bool KshortDecaysInVelo = Kst2Kspiplus
* bool UseLowQ2Range =false
* //LL/DD? q2range?Double_t TMVAcut = -1.0
* //TMVA optionsbool fixedMassRegion = !Kst2Kspiplus
* Double_t TMVAcut = -1.
* bool fixedMassRegion = !Kst2Kspiplus
* bool loopFit = false
* //yield calculation regionbool removeMultiple = false //remove multiple candidates
* bool removeMultiple = false
### int basicFitAllYearsAndRegions()
Calls [massFit](#double-massfit). For the details the fastest is to see the code.
* **Parameters**
* bool MC = true
* bool PHSP = false
* //input/output file selectionbool GetShapeFromMC = false
* bool GetShapeFromMC = false
* string SigType = "OneCB"
* string BkgType = "SingleExponential"
* bool ConstrainParameters = false
* //shapebool KshortDecaysInVelo = Kst2Kspiplus
* bool KshortDecaysInVelo = Kst2Kspiplus
* bool UseLowQ2Range =false
* //LL/DD? q2range?Double_t TMVAcut = -1.0
* bool removeMultiple = false //TMVA options
* Double_t TMVAcut = -1.0
* bool removeMultiple = false
* **Return**
* Signal yield is everything went well, 0 if something failed.
@ -303,20 +303,20 @@ Calls [massFit](#double-massfit). For the details the fastest is to see the code
### int basicYieldFitAllRuns()
Calls [massFit](#double-massfit). For the details the fastest is to see the code.
* **Parameters**
* //Fits data per yearbool MC = true
* bool MC = true
* bool PHSP = false
* //input/output file selectionbool UseOnlyJpsiEvents = false
* bool UseOnlyJpsiEvents = false
* bool UseOnlyMuMuEvents = false
* //signal/referencebool GetShapeFromMC = false
* bool GetShapeFromMC = false
* string SigType = "OneCB"
* string BkgType = "SingleExponential"
* bool ConstrainParameters = false
* //shapebool KshortDecaysInVelo = Kst2Kspiplus
* bool KshortDecaysInVelo = Kst2Kspiplus
* bool UseLowQ2Range =false
* //LL/DD? q2range?Double_t TMVAcut = -1.0
* //TMVA optionsbool fixedMassRegion = !Kst2Kspiplus
* Double_t TMVAcut = -1.0
* bool fixedMassRegion = !Kst2Kspiplus
* bool loopFit = false
* //yield calculation regionbool removeMultiple = false //remove multiple candidates
* bool removeMultiple = false
* **Return**
* Signal yield is everything went well, 0 if something failed.