Update 'AddVariable.cpp'

Renata Kopecná 2022-01-27 14:36:44 +01:00
parent c34a58edab
commit cc21d7cad2

@ -54,7 +54,7 @@ Calls [addPi0TRUEVariablesAllMC()](#int-addpi0truevariablesallmc) for all MC sam
* If something fails 0, otherwise 1.
### int addVariable()
Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
Adds PX, PY, PZ, PE, PT to the `particle` specified as input.
* **Parameters**
* string year
* int Run
@ -71,7 +71,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllVariables()
Calls [addVariable()](#int-addvariable) for B_plus, K_star_plus, pi_zero_resolved, K_plus, gamma1, gamma2, mu_minus and mu_plus.
* **Parameters**
* string year
* int Run
@ -87,7 +87,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllVariablesAllYearMC()
Calls [addAllVariables()](#int-addallvariables) for all possible polarities.
* **Parameters**
* string year
* bool ReferenceChannel
@ -97,7 +97,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllVariablesAllMC()
Calls [addAllVariablesAllYearMC()](#int-addallvariablesallyearmc) for all years for a given `Run`.
* **Parameters**
* int Run
* bool ReferenceChannel
@ -107,21 +107,15 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllVariablesAllMCSamples()
Calls [addAllVariablesAllMC()](#int-addallvariablesallmc) for signal, reference and PHSP.
* **Parameters**
* int Run
* **Return**
* If something fails 0, otherwise 1.
### int testFunction()
* **Parameters**
*
* **Return**
### int addXMuMuMass()
Calculates KplusMuMu (Kplus=True) or pi0MuMu mass (Kplus=False) and adds the branch to the tree. Moreover, takes the existing K+, pi0, mu+ and mu- branches, add PX, PY, PZ and PE to them.
* **Parameters**
* bool Kplus
* bool DTF
@ -137,7 +131,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllXMuMuMass()
Calls [addXMuMuMass()](int-addxmumumass) for all years for the given `Run`.
* **Parameters**
* bool Kplus
* bool DTF
@ -150,7 +144,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int addAllXMuMuMass()
Calls [addAllXMuMuMass()](int-addallxmumumass) for data, signal MC, reference MC and PHSP MC.
* **Parameters**
* bool Kplus
* bool DTF
@ -160,7 +154,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int applyVetoKplusMuMuMass()
Removes all events with 5179 MeV < M_KplusMuMu < 5379 MeV.
* **Parameters**
* string year
* string magnet
@ -174,6 +168,7 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
### int applyAllVetoKplusMuMuMass()
Calls [applyVetoKplusMuMuMass()](int-applyvetokplusmumumass) for all years for the given `Run`.
* **Parameters**
* int Run
@ -181,24 +176,29 @@ Adds PX, PY, PZ, PE, PT, M, P, ETA, PHI
* bool ReferenceChannel
* bool PHSP
* **Return**
* If something fails 0, otherwise 1.
### int applyAllVetoKplusMuMuMass()
Calls [applyAllVetoKplusMuMuMass()](int-applyallvetokplusmumumass) for data, signal MC, reference MC and PHSP MC.
* **Parameters**
* int Run
* **Return**
* If something fails 0, otherwise 1.
### int applyVetoPizMuMuMass()
Removes all events with M_PizMuMu < 3700 MeV in the Jpsi Q2 region.
* **Parameters**
* string year
* string magnet
* int Run
* bool MC
* **Return**
* If something fails 0, otherwise 1.
### int applyVetoPizMuMuMass()
Calls [applyVetoPizMuMuMass()](int-applyvetopizmumumass()) for all years and polarities for given `Run`.
* **Parameters**
* int Run
* **Return**
* If something fails 0, otherwise 1.