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
@@ -68,23 +68,33 @@ In this case, we are using the mass hypothesis of the electron, but tables for n
68
68
}
69
69
```
70
70
71
-
## Task for TOF and TPC PID
71
+
- For the **ITS**PID as:
72
72
73
-
**In short:** O2 tasks dedicated to the filling of the PID tables are called with
74
-
75
-
- Filling TOF PID Table
73
+
```c++
74
+
voidinit(o2::framework::InitContext& context)
75
+
{
76
+
o2::aod::ITSResponse::setParameters(context);
77
+
}
76
78
77
-
```bash
78
-
o2-analysis-pid-tof
79
+
void process(aod::Tracks const& tracks) {
80
+
auto tracksWithPid = soa::Attach<aod::Tracks, aod::pidits::ITSNSigmaEl>(tracks);
81
+
tracksWithPid.iteratorAt(0).tpcNSigmaEl();
82
+
}
79
83
```
80
84
81
-
This requires a helper class for the building of the event time information
85
+
86
+
## Task for TOF, TPC and ITS PID
87
+
88
+
**In short:** O2 tasks dedicated to the filling of the PID tables are called with
89
+
90
+
- Filling TOF PID Table
82
91
83
92
```bash
84
-
o2-analysis-pid-tof-base
93
+
o2-analysis-pid-tof-merge
85
94
```
86
95
87
-
These tasks can be configured according to the needs specified by the detector experts.
96
+
This requires no other tasks.
97
+
This tasks can be configured according to the needs specified by the detector experts.
88
98
If you are in doubt, you can contact them or take the configuration of the Hyperloop as a reference.
89
99
90
100
- Filling the TPC PID Table
@@ -98,24 +108,26 @@ In this case, we are using the mass hypothesis of the electron, but tables for n
98
108
```
99
109
100
110
These tasks can be configured according to the needs specified by the detector experts.
101
-
If you are in doubt, you can contact them or take the configuration of the Hyperloop as a reference.
111
+
If you are in doubt, you can contact them or take the configuration of the Hyperloop [`TOF`](https://alimonitor.cern.ch/hyperloop/view-wagon/12925/wagon-settings), [`TPC`](https://alimonitor.cern.ch/hyperloop/view-wagon/34291/wagon-settings) and [`ITS`](https://alimonitor.cern.ch/hyperloop/view-wagon/21173/wagon-settings) as a reference.
102
112
103
113
## Example of tasks that use the PID tables (and how to run them)
Where by `...` we mean the other tasks in your workflow.
130
+
119
131
## Enabling QA histograms
120
132
121
133
- QA histograms should come with the PID tasks; they can be enabled by including the QA tasks in your workflow when running locally or with the corresponding QA tasks as in:
0 commit comments