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
Copy file name to clipboardExpand all lines: docs/tutorials/indexTables.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Related information can be contained in different tables. And in order to associ
18
18
19
19
<aname="ProduceEtaPhi"></a>
20
20
21
-
###ProduceEtaPhi, ProduceColExtra, and ConsumeEtaPhi
21
+
## ProduceEtaPhi, ProduceColExtra, and ConsumeEtaPhi
22
22
23
23
The tutorial example starts with the declaration and production of three tables, EtaPhi and CollisionsExtra, which are normal tables, and HMPIDTracksIndex, an index table.
In task ConsumeColExtra the basic usage of indices is demonstrated. Tracks are
36
36
associated to collisions via the index column o2::aod::track::CollisionId (see
@@ -63,7 +63,7 @@ struct ConsumeColExtra {
63
63
64
64
<aname="partitioncolextra"></a>
65
65
66
-
###PartitionColExtra
66
+
## PartitionColExtra
67
67
68
68
Index columns allow to easily select e.g. all tracks belonging to a given collision using the `sliceBy()` method (see also [DECLARE_SOA_TABLE](creatingTables.md#declareTables)). groupedTracks contains only tracks which belong to Collision col.
69
69
The slicing needs to be pre-declared using `Preslice` (or `PresliceUnsorted` if the index is not sorted) so that the framework can prepare and add it to the internal cache.
@@ -80,7 +80,7 @@ struct Task {
80
80
81
81
<a name="hmpidtask"></a>
82
82
83
-
### BuildHmpidIndex and ConsumeHmpidIndex
83
+
## BuildHmpidIndex and ConsumeHmpidIndex
84
84
85
85
Builds<T> is used to prepare an index column of type T. This has to be performed
86
86
before the index table can be used. Note the declaration of the init() function
0 commit comments