Update 'TMsource'

Renata Kopecná 2022-02-10 10:31:32 +01:00
parent 4db24bb8d2
commit 03c99e1099

@ -22,9 +22,9 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* **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()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool B_plus_TM * bool B_plus_TM
@ -36,9 +36,9 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* 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()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool K_star_plus_TM * bool K_star_plus_TM
@ -51,11 +51,11 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* 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()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool K_plus_TM * bool K_plus_TM
@ -66,16 +66,15 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
## pi_zero_IDs ## pi_zero_IDs
* **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()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool pi_zero_TM * bool pi_zero_TM
@ -95,19 +94,19 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* 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()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool gamma_TM * bool gamma_TM
* bool pi_zero_TM * bool pi_zero_TM
* bool K_star_plus_TM * bool K_star_plus_TM
* **Return** * **Return**
* **bool isGammaTrue()** * Returns True if gamma was converted into an electron
* **bool isGammaTrue()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool gamma_TM * bool gamma_TM
@ -119,78 +118,83 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* 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). * 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 ## K_short_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int K_short_TRUEID * int K_short_TRUEID
* int K_short_MOTHER_ID * int K_short_MOTHER_ID
* int K_short_GD_MOTHER_ID * int K_short_GD_MOTHER_ID
*
* **Functions:** ### **Functions:**
* **K_short_IDs()** // constructor * **K_short_IDs()** // constructor
* **~K_short_IDs()** // destructor * **~K_short_IDs()** // destructor
* **bool isKshort()** * **bool isKshort()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
* True if Kshort 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_plus_IDs ## pi_plus_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int pi_plus_TRUEID * int pi_plus_TRUEID
* int pi_plus_MOTHER_ID * int pi_plus_MOTHER_ID
* int pi_plus_GD_MOTHER_ID * int pi_plus_GD_MOTHER_ID
* *
* **Functions:** ### **Functions:**
* **pi_plus_IDs()** // constructor * **pi_plus_IDs()** // constructor
* **~pi_plus_IDs()** // destructor * **~pi_plus_IDs()** // destructor
* **bool isPiPlus()** * **bool isPiPlus()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
* True if pi+ 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
## Ks_pi_IDs ## Ks_pi_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int Ks_pi_TRUEID * int Ks_pi_TRUEID
* int Ks_pi_MOTHER_ID * int Ks_pi_MOTHER_ID
* int Ks_pi_GD_MOTHER_ID * int Ks_pi_GD_MOTHER_ID
* int Ks_pi_GD_GD_MOTHER_ID * int Ks_pi_GD_GD_MOTHER_ID
* *
* **Functions:** ### **Functions:**
* **Ks_pi_IDs()** // constructor * **Ks_pi_IDs()** // constructor
* **~Ks_pi_IDs()** // destructor * **~Ks_pi_IDs()** // destructor
* **bool isKsPi()** * **bool isKsPi()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* **Return** * **Return**
* True if the pion form Kshort 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.
## mu_IDs ## mu_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int mu_TRUEID * int mu_TRUEID
* int mu_MOTHER_ID * int mu_MOTHER_ID
* int mu_GD_MOTHER_ID * int mu_GD_MOTHER_ID
* bool ReferenceChannel = false * bool ReferenceChannel = false
* *
* **Functions:** #### **Functions:**
* **mu_IDs()** * **mu_IDs()**
* **Parameters** * **Parameters**
* bool isRefChan * bool isRefChan
* **Return** * **Return**
* **~mu_IDs()** // destructor * **~mu_IDs()** // destructor
* **bool isMu()** * **bool isMu()**
* **Parameters** * **Parameters**
* counters \*counter * counters \*counter
* bool mu_TM * bool mu_TM
* bool J_psi_TM * bool J_psi_TM
* bool B_plus_TM//flags \*allFlags * bool B_plus_TM//flags \*allFlags
* **Return** * **Return**
* True if muon passes the truth matching, False if not. You can also turn on/off checking the mother particle (
Jpsi or B+) and if ReferenceChannel=true, also the grandmother (B+).
## J_psi_IDs ## J_psi_IDs
* **Private members:**
* **Public members:** * **Public members:**
* int J_psi_TRUEID * int J_psi_TRUEID
* int J_psi_MOTHER_ID * int J_psi_MOTHER_ID
* int J_psi_GD_MOTHER_ID * int J_psi_GD_MOTHER_ID
* bool ReferenceChannel = false * bool ReferenceChannel = false
* *
* **Functions:** ### **Functions:**
* **J_psi_IDs()** * **J_psi_IDs()**
* **Parameters** * **Parameters**
* bool isRefChan * bool isRefChan
@ -202,16 +206,15 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* bool J_psi_TM * bool J_psi_TM
* bool B_plus_TM * bool B_plus_TM
* **Return** * **Return**
* True if Jpsi passes the truth matching, False if not. You can also turn on/off checking the mother particle (B+).
# Functions and their parameters: # Functions and their parameters:
### void counters::printCounters() ### void counters::printCounters()
Prints the vetos.
* **Parameters** * **Parameters**
* bool B0 * bool B0
* bool K1 * bool K1
* **Return**
### bool isBKGCAT() ### bool isBKGCAT()
@ -219,3 +222,4 @@ Class used to save the counters for truth-matching vetos. Given integer shows wh
* int BKGCAT * int BKGCAT
* bool ReferenceChannel * bool ReferenceChannel
* **Return** * **Return**
* True if the background category is signal, false if background.