Skip to content

Commit f47fb66

Browse files
committed
Update README
1 parent 1bf1392 commit f47fb66

1 file changed

Lines changed: 21 additions & 12 deletions

File tree

Detectors/Upgrades/ITS3/README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Events can be simulated using the `o2-sim` workflow. To include ITS3 in the simu
1313

1414
The following command can be used to generate heavy-ion collisions:
1515
```bash
16-
o2-sim -j 1 \
16+
o2-sim -j 8 \
1717
-n 10 -g pythia8hi --field ccdb \
1818
--configKeyValues "Diamond.width[2]=6.;DescriptorInnerBarrelITS3.mVersion=ThreeLayers" \
1919
--run 311935
@@ -22,14 +22,16 @@ In the previous command:
2222
- `-j` is used to set the number of threads;
2323
- `-n` is used to set the number of events to simulate;
2424
- `-g` is used to set the event generator, in this case `pythia8hi`. To simulate pp collisions one can use `pythia8pp`.
25-
- `--configKeyValues` is needed to set internal parameters of the workflow. Among these parameters, the geometry of the ITS3 inner barrel can be set.
25+
- `--configKeyValues` is needed to set internal parameters of the workflow. Among these parameters, the geometry of the ITS3 inner barrel can be set:
26+
- `DescriptorInnerBarrel.mVersion` is the geometry version of the ITS3 inner barrel (`ThreeLayersNoDeadZones`, `ThreeLayers`, or `FourLayers`)
27+
- `DescriptorInnerBarrel.mRadii` is a 4-element vector with the radii of the ITS3 layers
28+
- `DescriptorInnerBarrel.mLength` is the length of the ITS3 in the Z direction
29+
- `DescriptorInnerBarrel.mGapY` is a 4-element vector with the values of gap between the two hemicylinders, described by a translation of the hemicylinders in the vertical direction
30+
- `DescriptorInnerBarrel.mGapPhi` is a 4-element vector with the values of gap of azimuthal angle between the two hemicylinders, described by the maximum distance between the two hemicylinders. Differently from `mGapY`, in this case there no shift in the vertical direction, but a smaller coverage in the azimuthal angle of the half layers.
31+
- `DescriptorInnerBarrel.mGapXDirection4thLayer` is the gap in the horizontal direction for the fourth layer, analogous to the `mGapY`.
32+
- `SuperAlpideParams.mDetectorThickness` is the thickness of the chip
2633
- `--run` is needed to set the run number.
2734

28-
Currently, three different geometries of the ITS3 inner barrel are available:
29-
- `ThreeLayersNoDeadZones`
30-
- `ThreeLayers`
31-
- `FourLayers`
32-
3335
The run number is needed to retrieve objects from the CCDB. There are specific ranges of run-numbers, according to the collision system and to the selected geometry if the ITS3 inner barrel:
3436

3537
- **pp** collisions:
@@ -42,7 +44,6 @@ The run number is needed to retrieve objects from the CCDB. There are specific r
4244
- 311934—311966 (`ThreeLayers`)
4345
- 311967—311999 (`FourLayers`)
4446

45-
4647
### Using external generators based on AliRoot
4748
It is also possible to simulate heavy-ion collision using external generators based on AliRoot. In this case, it is necessary to load both O2 and AliROOT (the order is important):
4849

@@ -77,17 +78,25 @@ o2-sim-digitizer-workflow -b --run --interactionRate 50000 \
7778
```
7879
As above, it is important to set the correct interaction rate and run number.
7980
81+
In addition, some parameters related to the segmentation of the chips can be set with the `--configKeyValues` argument:
82+
- `SuperAlpideParams.mPitchCol` is the pitch of the column (Z direction)
83+
- `SuperAlpideParams.mPitchRow` is the pitch of the row (r$\phi$ direction)
84+
- `SuperAlpideParams.mDetectorThickness` is the thickness of the chip
85+
86+
If some parameters of the geometry changed in the simulation, they should be set similarly for the digitisation. In particular, the `mVersion`, `mRadii`, and `mLength` must be set if different from the default ones.
87+
8088
# Reconstruction
8189
8290
In this step, clustering, vertexing and tracking are performed. This is obtained with the `o2-its3-reco-workflow`:
8391
8492
```bash
8593
o2-its3-reco-workflow --tracking-mode async -b --run \
8694
-—configKeyValues "
87-
HBFUtils.runNumber=311935;ITSCATrackerParam.trackletsPerClusterLimit=20;ITSCATrackerParam.cellsPerC
88-
lusterLimit=20;ITSVertexerParam.lowMultXYcut2=0."
95+
HBFUtils.runNumber=311935;ITSCATrackerParam.trackletsPerClusterLimit=20;ITSCATrackerParam.cellsPerClusterLimit=20;ITSVertexerParam.lowMultXYcut2=0."
8996
```
9097
91-
As above, it is important to provide the correct run number using `-—configKeyValues`, to retrieve the correct files from the CCDB. The other internal parameters provided `-—configKeyValues` via are specific to the cased here considered (Pb-Pb) and are inherited from ITS2.
98+
As above, it is important to provide the correct run number using `-—configKeyValues`, to retrieve the correct files from the CCDB. The other internal parameters for the vertexer and the tracker are provided `-—configKeyValues` via are specific to the cased here considered (Pb-Pb) and are inherited from ITS2.
99+
100+
If the `FourLayers` geometry was used in the simulation, it should be set also for the reconstruction to set properly the tracker to work with the additional layer. If something else of the geometry was set differently (`mRadii`, `mLength`, `mGapY`, `mGapPhi`, `mGapXDirection4thLayer`, or `mDetectorThickness`), it is necessary to remap the file with the geometry to replace the one on the CCDB, which would be different. This can be done by copying the `o2sim_geometry-aligned.root` file created during the simulation to a directory called `GLO/Config/GeometryAligned`, with the name `snapshot.root` in a local path of choice. Then, the following argument has to be added to the reco workflow: `--condition-remap "file://local_path=GLO/Config/GeometryAligned"`.
92101
93-
> **_NOTE:_** reconstruction for the `FourLayers` geometry is not implemented yet.
102+
<!-- > **_NOTE:_** reconstruction for the `FourLayers` geometry is not implemented yet. -->

0 commit comments

Comments
 (0)