Add 'Plot TMVA'

Renata Kopecná 2022-01-25 17:52:05 +01:00
parent c952d2fea7
commit 8dd4d692a5

273
Plot-TMVA.md Normal file

@ -0,0 +1,273 @@
Welcome to the Wiki.
## Global variables:
*}
*return v_var
# Classes
# Functions and their parameters:
### TFile \*GetTMVAfile()
* **Parameters**
* int year
* int Run
* bool SplitYears
* bool KShortDecaysInVelo
* int nConfiguration
* bool UseLowQ2Range
* string customTMbranch
* bool gammaTM
* **Return**
### TH2F \*GetCorrelationMatrix()
* **Parameters**
* TFile \*file
* string type //type = S
* B
* **Return**
### TH2F \*GetCorrelationMatrixSignal()
* **Parameters**
* TFile \*file
* **Return**
### TH2F \*GetCorrelationMatrixBackground()
* **Parameters**
* TFile \*file
* **Return**
### string oberFolder()
* **Parameters**
* string method
* **Return**
### TH1F \*GetTMVAresponse()
* **Parameters**
* TFile \*file
* string method
* string type //type = S
* B
* Train_S
* Train_B
* **Return**
### TH1F \*GetTMVAresponseSignal()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetTMVAresponseBackground()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetTMVAresponseTrainingSignal()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetTMVAresponseTrainingBackground()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetVariableSignal()
* **Parameters**
* TFile \*file
* string variable
* **Return**
### TH1F \*GetVariableBackground()
* **Parameters**
* TFile \*file
* string variable
* **Return**
### TH1F \*GetEfficiencySignal()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetEfficiencyBackground()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TH1F \*GetROC()
* **Parameters**
* TFile \*file
* string method
* **Return**
### TTree \*GetTrainTree()
* **Parameters**
* TFile \*file
* **Return**
### TTree \*GetTestTree()
* **Parameters**
* TFile \*file
* **Return**
### int GetTrainEvents()
* **Parameters**
* TFile \*file
* **Return**
### int GetTrainSignalEvents()
* **Parameters**
* TFile \*file
* **Return**
### int GetTrainBackgroundEvents()
* **Parameters**
* TFile \*file
* **Return**
### bool SaveCorrelationPlot()
* **Parameters**
* TFile \*file
* string type
* string savePath
* **Return**
### vector <string> v_variables()
* **Parameters**
* string DL=""
* **Return**
### bool SaveVariablesSignalVsBackground()
* **Parameters**
* TFile \*file
* string savePath
* string DL=""
* **Return**
### bool SaveMVAResponse()
* **Parameters**
* TFile \*file
* string savePath
* string method //Check if folder for the plots exists and if not
* create one
* **Return**
### bool SaveMVAOvertraining()
* **Parameters**
* TFile \*file
* string savePath
* string method //Check if folder for the plots exists and if not
* create one
* **Return**
### bool SaveEfficiency()
* **Parameters**
* TFile \*file
* string savePath
* string method
* int nSig
* int nBkg
* **Return**
### string getROCmethod()
* **Parameters**
* TH1F \*h_ROC
* **Return**
### bool SaveROCs()
* **Parameters**
* TFile \*file
* string savePath
* vector <string> methods
* **Return**
### bool SaveMultipleROCS()
* **Parameters**
* vector <TFile \*> files
* string savePath
* string method
* **Return**
### void nEvents()
* **Parameters**
* int year
* int Run
* bool SplitYears
* bool KshortDecaysInVelo
* int nConfiguration
* bool UseLowQ2Range
* int& nSig
* int& nBkg
* **Return**
### bool SaveAllFromOneFile()
* **Parameters**
* int year
* int Run
* bool SplitYears
* bool KshortDecaysInVelo
* int nConfiguration
* bool UseLowQ2Range
* string customTMbranch
* bool gammaTM
* **Return**
### bool SaveMultipleROCS()
* **Parameters**
* int Run =1
* int nLow = 0
* int nHigh = 3
* **Return**
### bool testFunction()
* **Parameters**
* int Run =1
* **Return**
### void test()
* **Parameters**
*
* **Return**