From 236659e76aa9ecde1e5a45989de3db556c1dd98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Mon, 31 Jan 2022 13:46:44 +0100 Subject: [PATCH] Update 'MVA Class' --- MVA-Class.md | 81 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 69 insertions(+), 12 deletions(-) diff --git a/MVA-Class.md b/MVA-Class.md index 531af50..674558a 100644 --- a/MVA-Class.md +++ b/MVA-Class.md @@ -1,5 +1,74 @@ +The classes are defined in MVAclass.hpp, the functions performing the training are in MVA.cpp. +# Classes +### struct MVAconfiguration +Defines basic properties of the used sample +* **Members:** + * bool SplitYears = false //Train MVA for each year? + * Int_t Run = 1 + * std::vector years = {2011} + * Int_t KShortDecaysInVelo = 1 //LL? + * bool SplitInQ2Range = SplitInQ2 //Split the training in Q2 below and above Q2? + * bool UseLowQ2Range = true //If split, use Q2 AllVariables // Vector of all variables used in the MVA training + * vector \ AllBranches // Vector of all branches that needs to be read from the tree +* **Functions:** + * **MVA_variables()** //default constructor + * **MVA_variables(std::string DL)** // constructor + * **~MVA_variables()** //destuctor + * **void print()** + * **vector \ GetAllReaderNames()** + * **int NumberOfVariables()** // Returns `NoVariables` + * **int NumberOfBranches()** // Returns `NoBranches` + * **vector \ GetAllBranches()** //Returns `AllBranches` + + + +# Functions and their parameters: +### MVA_variables::MVA_variables() + +* **Parameters** + * std::string DL +* **Return** + +### MVA_variables::~MVA_variables() + +* **Parameters** + * +* **Return** + +### void MVA_variables::print() + +* **Parameters** + * +* **Return** + +### vector \ MVA_variables::GetAllReaderNames() + +* **Parameters** + * +* **Return** + # Functions and their parameters: ### Int_t MVA_b2kmm() @@ -33,15 +102,3 @@ * **Parameters** * Int_t Run = 1 * **Return** - -### if() - -* **Parameters** - * Kst2Kspiplus)return RunDDandLLKshort -* **Return** - -### if() - -* **Parameters** - * Kst2Kpluspi0Resolved -* **Return**