Add 'Efficiency Class'

Renata Kopecná 2022-01-25 17:49:34 +01:00
parent 5979f22d2d
commit 14c7d02339

94
Efficiency-Class.md Normal file

@ -0,0 +1,94 @@
Welcome to the Wiki.
## Global variables:
# Classes
### EffAndError
* **Private members:**
* **Public members:**
* **Functions:**
* **EffAndError()**
* **Parameters**
* //default constructor
* **Return**
* **EffAndError()**
* **Parameters**
* double val //default constructor
* **Return**
* **EffAndError()**
* **Parameters**
* double val
* double highErr
* double lowErr //default constructor
* **Return**
* **~EffAndError()**
* **Parameters**
* ); //destuctor
* **Return**
# Functions and their parameters:
### EffAndError::~EffAndError()
* **Parameters**
* //destuctor
* **Return**
### EffAndError GetEfficiency()
* **Parameters**
* TFile \*fitFileNumerator
* string nameNumerator
* TFile \*fitFileDenominator
* string nameDenominator
* **Return**
### EffAndError getTMEfficiencySimple()
* **Parameters**
* string year
* int Run
* bool UseOnlyMuMuEvents
* bool PHSP
* bool KshortDecaysInVelo
* bool RemoveMultiple
* bool weighted
* string sExtraVar
* int nExtraBin
* string customTMbranch
* bool gammaTM //TODO: add customTMbranch and gammaTM
* **Return**
### EffAndError getBDTEfficiencySimple()
* **Parameters**
* string year
* Double_t TMVAcut
* int Run
* bool UseOnlyMuMuEvents
* bool PHSP
* bool KshortDecaysInVelo
* bool IncludeMultipleEff
* bool weighted
* string sExtraVar
* int nExtraBin //TODO: check weight
* **Return**
### EffAndError getSelectionEfficiencySimple()
* **Parameters**
* bool full
* string year
* int Run
* bool UseOnlyMuMuEvents
* bool useRefChannel
* bool PHSP
* bool KshortDecaysInVelo
* bool RemoveMultiple
* bool weighted
* string sExtraVar
* int nExtraBin
* string customTMbranch
* bool gammaTM //For studies on variables
* **Return**