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**