Skip to content

Commit 774147f

Browse files
committed
Update PID part with ITS, TPC, TOF
1 parent c288f15 commit 774147f

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/analysis-tools/PID.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ title: Particle identification (PID)
77

88
Table of contents:
99

10-
* [Introduction](#introduction)
11-
* [Usage in user tasks](#usage-in-user-tasks)
12-
* [Task for TOF and TPC PID](#task-for-tof-and-tpc-pid)
13-
* [Example of tasks that use the PID tables (and how to run them)](#example-of-tasks-that-use-the-pid-tables-and-how-to-run-them)
10+
- [Particle identification (PID)](#particle-identification-pid)
11+
- [Introduction](#introduction)
12+
- [Usage in user tasks](#usage-in-user-tasks)
13+
- [Task for TOF and TPC PID](#task-for-tof-and-tpc-pid)
14+
- [Example of tasks that use the PID tables (and how to run them)](#example-of-tasks-that-use-the-pid-tables-and-how-to-run-them)
15+
- [Enabling QA histograms](#enabling-qa-histograms)
1416

1517
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.
1618

@@ -19,19 +21,22 @@ Here are described the working principles of Particle Identification (PID) in O2
1921
PID is handled in analysis by filling helper tables that can be joined to tracks (propagated or not).
2022
The parameterization of the expected detector response (e.g. signal, resolution, separation) is used in the PID tasks to fill the PID tables.
2123
These parameterizations are detector specific and handled by the detector experts; usually, they are shipped to the PID helper tasks from the CCDB to match the data-taking conditions.
22-
The interface between the detector and the Analysis Framework (i.e. your tracks) is fully enclosed in [`PIDResponse.h`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/DataModel/PIDResponse.h).
24+
The interface between the detector and the Analysis Framework (i.e. your tracks) is enclosed in [`PIDResponseITS.h`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/DataModel/PIDResponseITS.h), [`PIDResponseTPC.h`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/DataModel/PIDResponseTPC.h) and [`PIDResponseTOF.h`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/DataModel/PIDResponseTOF.h) for ITS, TPC and TOF columns, respectively.
2325
Here are the defined tables for the PID information for all the detectors.
2426

2527
The filling of the PID tables is delegated to dedicated tasks in [`Common/TableProducer/PID/`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID)
26-
Examples of these tasks can be found in [`pidTOF.cxx`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID/pidTOF.cxx) and [`pidTPC.cxx`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID/pidTPC.cxx) for TOF and TPC tables, respectively.
28+
Examples of these tasks can be found in [`pidTOFMerge.cxx`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID/pidTOFMerge.cxx) and [`pidTPC.cxx`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID/pidTPC.cxx) for TOF and TPC tables, respectively.
29+
The ITS PID columns are only dynamical and do not need a task to produce them, however the configuration is taken from [`pidITS.cxx`](https://github.com/AliceO2Group/O2Physics/tree/master/Common/TableProducer/PID/pidITS.cxx)
2730

2831
## Usage in user tasks
2932

30-
Tables for PID values in O2 are defined in [`PIDResponse.h`](https://github.com/AliceO2Group/O2Physics/blob/master/Common/DataModel/PIDResponse.h).
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).
3134
You can include it in your task with:
3235

3336
``` c++
34-
#include "Common/DataModel/PIDResponse.h"
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
3540
...
3641

3742
```

0 commit comments

Comments
 (0)