From 4db24bb8d283ec477102c61ca77836b55db0f6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Thu, 10 Feb 2022 09:59:44 +0100 Subject: [PATCH] Update 'TMsource' --- TMsource.md | 75 ++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 44 deletions(-) diff --git a/TMsource.md b/TMsource.md index 07c2a30..b5c2286 100644 --- a/TMsource.md +++ b/TMsource.md @@ -1,7 +1,5 @@ - # Classes -### counters -* **Private members:** +## counters * **Public members:** * int B_plus_VETO * int K_star_plus_VETO @@ -18,26 +16,12 @@ * int pi_plus_VETO * int Kshort_pi_zero_daughters * int ReconstructedPionsWhichAreMuons - * -* **Functions:** - * **counters()** - * **Parameters** - * //default constructor - * **Return** - * **void printCounters()** - * **Parameters** - * bool B0 - * bool K1); - * **Return** - * **~counters()** - * **Parameters** - * ); //destuctor - * **Return** -### B_plus_IDs -* **Private members:** +Class used to save the counters for truth-matching vetos. Given integer shows which particle is the culrpit for failed truth-matching. + +## B_plus_IDs * **Public members:** * int B_plus_TRUEID -* **Functions:** +### **Functions:** * **B_plus_IDs()** // constructor * **~B_plus_IDs()** // destructor * **bool isBplus()** @@ -45,12 +29,13 @@ * counters \*counter * bool B_plus_TM * **Return** -### K_star_IDs -* **Private members:** + * True if B+ passes the truth matching, False if not + +## K_star_IDs * **Public members:** * int K_star_plus_TRUEID * int K_star_plus_MOTHER_ID -* **Functions:** +### **Functions:** * **K_star_IDs()** // constructor * **~K_star_IDs()** // destructor * **bool isKstar()** @@ -59,14 +44,15 @@ * bool K_star_plus_TM * bool B_plus_TM * **Return** -### K_plus_IDs -* **Private members:** + * True if K*+ passes the truth matching, False if not. You can also turn off checking the mother particle of K*+ (B+) + +## K_plus_IDs * **Public members:** * int K_plus_TRUEID * int K_plus_MOTHER_ID * int K_plus_GD_MOTHER_ID * -* **Functions:** +### **Functions:** * **K_plus_IDs()** // constructor * **~K_plus_IDs()** // destructor * **bool isKplus()** @@ -74,16 +60,19 @@ * counters \*counter * bool K_plus_TM * bool K_star_plus_TM - * bool B_plus_TM// flags \*allFlags + * bool B_plus_TM * **Return** -### pi_zero_IDs + * True if K+ passes the truth matching, False if not. You can also turn on/off checking the mother particle (K*+) an grandmother (B+) via the input parameters + + +## pi_zero_IDs * **Private members:** * **Public members:** * int pi_zero_TRUEID * int pi_zero_MOTHER_ID * int pi_zero_GD_MOTHER_ID * -* **Functions:** +### **Functions:** * **pi_zero_IDs()** // constructor * **~pi_zero_IDs()** // destructor * **bool isPi0()** @@ -98,15 +87,17 @@ * TH1D \*h_Bplus_mass_pi0mismatched * TH1D \*h_pi0_resolved_mass * **Return** -### gamma_IDs -* **Private members:** + * True if pi0 passes the truth matching, False if not. You can also turn on/off checking the mother particle, grandmother and great-grandmother via the input parameters. In the histograms, the masses for (not) matched events are ssaved (that is why you need masses as input). + +## gamma_IDs * **Public members:** * int gamma_TRUEID * int gamma_MOTHER_ID * int gamma_GD_MOTHER_ID * int gamma_GD_GD_MOTHER_ID * -* **Functions:** + * +### **Functions:** * **gamma_IDs()** // constructor * **~gamma_IDs()** // destructor * **bool isGammaConversion()** @@ -125,7 +116,9 @@ * bool K_star_plus_TM * bool B_plus_TM * **Return** -### K_short_IDs + * True if gamma passes the truth matching, False if not. You can also turn on/off checking the mother particle, grandmother, great-grandmother and great-great-grandmother via the input parameters. In the histograms, the masses for (not) matched events are ssaved (that is why you need masses as input). + +## K_short_IDs * **Private members:** * **Public members:** * int K_short_TRUEID @@ -139,7 +132,7 @@ * **Parameters** * counters \*counter * **Return** -### pi_plus_IDs +## pi_plus_IDs * **Private members:** * **Public members:** * int pi_plus_TRUEID @@ -153,7 +146,7 @@ * **Parameters** * counters \*counter * **Return** -### Ks_pi_IDs +## Ks_pi_IDs * **Private members:** * **Public members:** * int Ks_pi_TRUEID @@ -168,7 +161,7 @@ * **Parameters** * counters \*counter * **Return** -### mu_IDs +## mu_IDs * **Private members:** * **Public members:** * int mu_TRUEID @@ -189,7 +182,7 @@ * bool J_psi_TM * bool B_plus_TM//flags \*allFlags * **Return** -### J_psi_IDs +## J_psi_IDs * **Private members:** * **Public members:** * int J_psi_TRUEID @@ -220,12 +213,6 @@ * bool K1 * **Return** -### counters::~counters() - -* **Parameters** - * //destuctor -* **Return** - ### bool isBKGCAT() * **Parameters**