Update 'TMsource'

Renata Kopecná 2022-02-10 09:59:44 +01:00
parent 90425ad8cc
commit 4db24bb8d2

@ -1,7 +1,5 @@
# Classes # Classes
### counters ## counters
* **Private members:**
* **Public members:** * **Public members:**
* int B_plus_VETO * int B_plus_VETO
* int K_star_plus_VETO * int K_star_plus_VETO
@ -18,26 +16,12 @@
* int pi_plus_VETO * int pi_plus_VETO
* int Kshort_pi_zero_daughters * int Kshort_pi_zero_daughters
* int ReconstructedPionsWhichAreMuons * int ReconstructedPionsWhichAreMuons
* Class used to save the counters for truth-matching vetos. Given integer shows which particle is the culrpit for failed truth-matching.
* **Functions:**
* **counters()** ## B_plus_IDs
* **Parameters**
* //default constructor
* **Return**
* **void printCounters()**
* **Parameters**
* bool B0
* bool K1);
* **Return**
* **~counters()**
* **Parameters**
* ); //destuctor
* **Return**
### B_plus_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int B_plus_TRUEID * int B_plus_TRUEID
* **Functions:** ### **Functions:**
* **B_plus_IDs()** // constructor * **B_plus_IDs()** // constructor
* **~B_plus_IDs()** // destructor * **~B_plus_IDs()** // destructor
* **bool isBplus()** * **bool isBplus()**
@ -45,12 +29,13 @@
* counters \*counter * counters \*counter
* bool B_plus_TM * bool B_plus_TM
* **Return** * **Return**
### K_star_IDs * True if B+ passes the truth matching, False if not
* **Private members:**
## K_star_IDs
* **Public members:** * **Public members:**
* int K_star_plus_TRUEID * int K_star_plus_TRUEID
* int K_star_plus_MOTHER_ID * int K_star_plus_MOTHER_ID
* **Functions:** ### **Functions:**
* **K_star_IDs()** // constructor * **K_star_IDs()** // constructor
* **~K_star_IDs()** // destructor * **~K_star_IDs()** // destructor
* **bool isKstar()** * **bool isKstar()**
@ -59,14 +44,15 @@
* bool K_star_plus_TM * bool K_star_plus_TM
* bool B_plus_TM * bool B_plus_TM
* **Return** * **Return**
### K_plus_IDs * True if K*+ passes the truth matching, False if not. You can also turn off checking the mother particle of K*+ (B+)
* **Private members:**
## K_plus_IDs
* **Public members:** * **Public members:**
* int K_plus_TRUEID * int K_plus_TRUEID
* int K_plus_MOTHER_ID * int K_plus_MOTHER_ID
* int K_plus_GD_MOTHER_ID * int K_plus_GD_MOTHER_ID
* *
* **Functions:** ### **Functions:**
* **K_plus_IDs()** // constructor * **K_plus_IDs()** // constructor
* **~K_plus_IDs()** // destructor * **~K_plus_IDs()** // destructor
* **bool isKplus()** * **bool isKplus()**
@ -74,16 +60,19 @@
* counters \*counter * counters \*counter
* bool K_plus_TM * bool K_plus_TM
* bool K_star_plus_TM * bool K_star_plus_TM
* bool B_plus_TM// flags \*allFlags * bool B_plus_TM
* **Return** * **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:** * **Private members:**
* **Public members:** * **Public members:**
* int pi_zero_TRUEID * int pi_zero_TRUEID
* int pi_zero_MOTHER_ID * int pi_zero_MOTHER_ID
* int pi_zero_GD_MOTHER_ID * int pi_zero_GD_MOTHER_ID
* *
* **Functions:** ### **Functions:**
* **pi_zero_IDs()** // constructor * **pi_zero_IDs()** // constructor
* **~pi_zero_IDs()** // destructor * **~pi_zero_IDs()** // destructor
* **bool isPi0()** * **bool isPi0()**
@ -98,15 +87,17 @@
* TH1D \*h_Bplus_mass_pi0mismatched * TH1D \*h_Bplus_mass_pi0mismatched
* TH1D \*h_pi0_resolved_mass * TH1D \*h_pi0_resolved_mass
* **Return** * **Return**
### gamma_IDs * 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).
* **Private members:**
## gamma_IDs
* **Public members:** * **Public members:**
* int gamma_TRUEID * int gamma_TRUEID
* int gamma_MOTHER_ID * int gamma_MOTHER_ID
* int gamma_GD_MOTHER_ID * int gamma_GD_MOTHER_ID
* int gamma_GD_GD_MOTHER_ID * int gamma_GD_GD_MOTHER_ID
* *
* **Functions:** *
### **Functions:**
* **gamma_IDs()** // constructor * **gamma_IDs()** // constructor
* **~gamma_IDs()** // destructor * **~gamma_IDs()** // destructor
* **bool isGammaConversion()** * **bool isGammaConversion()**
@ -125,7 +116,9 @@
* bool K_star_plus_TM * bool K_star_plus_TM
* bool B_plus_TM * bool B_plus_TM
* **Return** * **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:** * **Private members:**
* **Public members:** * **Public members:**
* int K_short_TRUEID * int K_short_TRUEID
@ -139,7 +132,7 @@
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
### pi_plus_IDs ## pi_plus_IDs
* **Private members:** * **Private members:**
* **Public members:** * **Public members:**
* int pi_plus_TRUEID * int pi_plus_TRUEID
@ -153,7 +146,7 @@
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
### Ks_pi_IDs ## Ks_pi_IDs
* **Private members:** * **Private members:**
* **Public members:** * **Public members:**
* int Ks_pi_TRUEID * int Ks_pi_TRUEID
@ -168,7 +161,7 @@
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
### mu_IDs ## mu_IDs
* **Private members:** * **Private members:**
* **Public members:** * **Public members:**
* int mu_TRUEID * int mu_TRUEID
@ -189,7 +182,7 @@
* bool J_psi_TM * bool J_psi_TM
* bool B_plus_TM//flags \*allFlags * bool B_plus_TM//flags \*allFlags
* **Return** * **Return**
### J_psi_IDs ## J_psi_IDs
* **Private members:** * **Private members:**
* **Public members:** * **Public members:**
* int J_psi_TRUEID * int J_psi_TRUEID
@ -220,12 +213,6 @@
* bool K1 * bool K1
* **Return** * **Return**
### counters::~counters()
* **Parameters**
* //destuctor
* **Return**
### bool isBKGCAT() ### bool isBKGCAT()
* **Parameters** * **Parameters**