You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Dynamic Columns for TOF Beta and Mass](#dynamic-columns-for-tof-beta-and-mass)
22
+
-[Dynamic Columns for nSigma Calculations](#dynamic-columns-for-nsigma-calculations)
16
23
17
24
Here are described the working principles of Particle Identification (PID) in O2 and how to get PID information (expected values, nSigma separation _et cetera_) in your analysis tasks if you plan to identify particles.
18
25
@@ -30,19 +37,62 @@ The ITS PID columns are only dynamical and do not need a task to produce them, h
30
37
31
38
## Usage in user tasks
32
39
33
-
Tables for PID values in O2 are defined in [`PIDResponseITS.h`](https://github.com/AliceO2Group/O2Physics/blob/master/Common/DataModel/PIDResponseITS.h), [`PIDResponseTPC.h`](https://github.com/AliceO2Group/O2Physics/blob/master/Common/DataModel/PIDResponseTPC.h) and [`PIDResponseTOF.h`](https://github.com/AliceO2Group/O2Physics/blob/master/Common/DataModel/PIDResponseTOF.h).
34
-
You can include it in your task with:
40
+
Tables for PID values in O2 are defined in the following header files:
35
41
36
-
```c++
37
-
#include"Common/DataModel/PIDResponseITS.h"// ITS PID information
38
-
#include"Common/DataModel/PIDResponseTPC.h"// TPC PID information
39
-
#include"Common/DataModel/PIDResponseTOF.h"// TOF PID information
40
-
...
42
+
| Detector | Header File | Usage | Description |
43
+
|----------|-------------|----|---------|
44
+
| ITS |[`PIDResponseITS.h`](https://github.com/AliceO2Group/O2Physics/blob/master/Common/DataModel/PIDResponseITS.h)|`#include "Common/DataModel/PIDResponseITS.h"`| ITS PID information|
|**Signal Difference**| Difference between measured and expected |`tofExpSignalDiffXX()`|`tpcExpSignalDiffXX()`| - |
59
+
60
+
61
+
#### Supported Particle Species
62
+
63
+
Where `XX` represents the particle species: `El` (electron), `Mu` (muon), `Pi` (pion), `Ka` (kaon), `Pr` (proton), `De` (deuteron), `Tr` (triton), `He` (helium3), `Al` (alpha, i.e. helium4).
64
+
65
+
| Symbol | Particle | Mass Hypothesis |
66
+
|--------|----------|----------------|
67
+
|`El`| Electron | e⁻ |
68
+
|`Mu`| Muon | μ⁻ |
69
+
|`Pi`| Pion | π± |
70
+
|`Ka`| Kaon | K± |
71
+
|`Pr`| Proton | p |
72
+
|`De`| Deuteron | d |
73
+
|`Tr`| Triton | t |
74
+
|`He`| Helium-3 | ³He |
75
+
|`Al`| Alpha | α (⁴He) |
43
76
44
77
In the process functions, you can join the table to add the PID (per particle mass hypothesis) information to the track.
45
-
In this case, we are using the mass hypothesis of the electron, but tables for nine (9) stable particle species are produced (`El`, `Mu`, `Pi`, `Ka`, `Pr`, `De`, `Tr`, `He`, `Al`).
78
+
In this case, we are using the mass hypothesis of the electron (and only for the **NSigma** information), but tables for nine (9) stable particle species are produced (`El`, `Mu`, `Pi`, `Ka`, `Pr`, `De`, `Tr`, `He`, `Al`).
79
+
80
+
### Additional TOF-Specific Information
81
+
82
+
The TOF detector provides additional specialized information beyond the standard PID methods:
83
+
84
+
| Information Type | Description | TOF Methods | Notes |
|**Beta**| Velocity as fraction of speed of light |`beta()`, `tofBeta()`| β = v/c, fundamental for mass calculation |
87
+
|**Beta Error**| Uncertainty on beta measurement |`betaerror()`| Statistical uncertainty on β |
88
+
|**TOF Mass**| Reconstructed particle mass |`mass()`, `tofMass()`| Calculated from momentum and β |
89
+
|**Event Time**| Collision time for TOF measurement |`tofEvTime()`| Event collision time used for PID |
90
+
|**Event Time Error**| Uncertainty on event time |`tofEvTimeErr()`| Error on collision time determination |
91
+
|**TOF Signal**| Raw TOF signal |`tofSignal()`| Direct detector measurement |
92
+
93
+
> **Note**: For advanced TOF features including dynamic columns for beta, mass, nSigma calculations, see the [Advanced Features](#advanced-features) section.
94
+
95
+
### Usage in analysis tasks
46
96
47
97
- For the **TOF** PID as:
48
98
@@ -60,7 +110,7 @@ In this case, we are using the mass hypothesis of the electron, but tables for n
60
110
}
61
111
```
62
112
63
-
- For both TOF and TPC PID information as:
113
+
- For both **TOF** and **TPC** PID information as:
0 commit comments