|
| 1 | +# Strangeness table converters |
| 2 | + |
| 3 | +Converter tasks migrate old versions of the strangeness derived-data tables to |
| 4 | +newer ones, so that analyses written against the current data model can still |
| 5 | +run over older derived data. Each task reads one or more legacy tables and |
| 6 | +produces the corresponding newer version, filling any column that did not exist |
| 7 | +in the old table with a dummy value. |
| 8 | + |
| 9 | +Add the workflow you need to your job with `o2-analysis-lf-<name>`; only the |
| 10 | +converters whose *input* tables are actually present in your derived data need |
| 11 | +to be enabled. |
| 12 | + |
| 13 | +The table below is generated automatically from the sources. |
| 14 | + |
| 15 | +| Converter | Reads | Produces | Description | |
| 16 | +|---|---|---|---| |
| 17 | +| `stracentconverter.cxx` | `StraCents_000` | `StraCents_001` | Converts Stra Cents from 000 to 001 | |
| 18 | +| `stracentconverter2.cxx` | `StraCents_001` | `StraCents_002` | Converts Stra Cents from 001 to 002 | |
| 19 | +| `stradautracksconverter.cxx` | `V0Cores` + `V0Extras` + `V0TOFs`, `CascCores` + `CascExtras` + `CascTOFs`, `DauTrackExtras` *(=DauTrackExtras_003)* | `DauTrackTOFPIDs_000` | | |
| 20 | +| `stradautracksextraconverter.cxx` | `DauTrackExtras_000` | `DauTrackExtras_001` | Converts V0 version 001 to 002 | |
| 21 | +| `stradautracksextraconverter2.cxx` | `DauTrackExtras_001` | `DauTrackExtras_002` | Converts daughter TracksExtra from 1 to 2 | |
| 22 | +| `stradautracksextraconverter3.cxx` | `DauTrackExtras_002` | `DauTrackExtras_003` | Converts daughter TracksExtra from 2 to 3 | |
| 23 | +| `stradautrackstofpidconverter.cxx` | `V0Cores` + `V0Extras` + `V0TOFs`, `CascCores` + `CascExtras` + `CascTOFs`, `DauTrackExtras` *(=DauTrackExtras_003)* | `DauTrackTOFPIDs` *(=DauTrackTOFPIDs_003)* | | |
| 24 | +| `stradautrackstofpidconverter2.cxx` | `StraCollisions`, `DauTrackExtras` *(=DauTrackExtras_003)* + `DauTrackTOFPIDs_000`, `V0CollRefs` + `V0Cores` + `V0Extras` | `DauTrackTOFPIDs_001`<br>`StraEvTimes_000` | converts DauTrackTOFPIDs_000 to _001 | |
| 25 | +| `stradautrackstofpidconverter3.cxx` | `DauTrackTOFPIDs_001`, `StraEvTimes_000` | `DauTrackTOFPIDs_002`<br>`StraEvTimes_001` | converts DauTrackTOFPIDs_001 to _002 | |
| 26 | +| `stradautrackstofpidconverter4.cxx` | `DauTrackTOFPIDs_002`, `StraCollisions` + `StraStamps` *(=StraStamps_001)* | `DauTrackTOFPIDs_003` | converts DauTrackTOFPIDs_002 to _003 | |
| 27 | +| `stradautrackstpcpidconverter.cxx` | `DauTrackTPCPIDs_000` | `DauTrackTPCPIDs_001` | converts DauTrackTOFPIDs_000 to _001 | |
| 28 | +| `straevselextrasconverter.cxx` | **processAll**: `StraEvSels_005` + `StraEvSelExtras_000`<br>**processStraEvSelsOnly**: `StraEvSels_005` *(off by default)* | `StraEvSelExtras_001` | | |
| 29 | +| `straevselextrasconverter2.cxx` | `StraEvSels` *(=StraEvSels_006)* | `StraEvSelExtras` *(=StraEvSelExtras_001)* | Produce dummy StraEvSelExtras for analysis subscribing to StraEvSelExtras but not saved in the strangeness derived data (typically when running over pp strangeness derived data) | |
| 30 | +| `straevselsconverter.cxx` | `StraEvSels_000` + `StraRawCents_004` | `StraEvSels_001` | Converts Stra Event selections from 000 to 001 | |
| 31 | +| `straevselsconverter2.cxx` | `StraEvSels_001` | `StraEvSels_002` | Converts Stra Event selections from 000 to 001 | |
| 32 | +| `straevselsconverter2rawcents.cxx` | `StraEvSels_001` | `StraRawCents_004` | Converts V0 version 001 to 002 | |
| 33 | +| `straevselsconverter2rawcents2.cxx` | `StraEvSels_002` | `StraRawCents_004` | Converts V0 version 001 to 002 | |
| 34 | +| `straevselsconverter2rawcents3.cxx` | `StraEvSels_003` | `StraRawCents_004` | Converts V0 version 001 to 002 | |
| 35 | +| `straevselsconverter3.cxx` | `StraEvSels_002` | `StraEvSels_003` | Converts Stra Event selections from 000 to 001 | |
| 36 | +| `straevselsconverter4.cxx` | `StraEvSels_003` | `StraEvSels_004` | Converts Stra Event selections from 000 to 001 | |
| 37 | +| `straevselsconverter5.cxx` | `StraEvSels_004` + `StraStamps` *(=StraStamps_001)* | `StraEvSels_005` | Converts Stra Event selections from 004 to 005 | |
| 38 | +| `straevselsconverter6.cxx` | `StraEvSels_005` | `StraEvSels_006` | Converts Stra Event selections from 005 to 006 | |
| 39 | +| `stramccollisionconverter.cxx` | `StraMCCollisions_000` | `StraMCCollisions_001` | Converts V0 version 001 to 002 | |
| 40 | +| `stramccollisionconverter2.cxx` | `StraMCCollisions_001` | `StraMCCollisions_002` | Converts V0 version 001 to 002 | |
| 41 | +| `stramccollmultconverter.cxx` | `StraMCCollMults_000` | `StraMCCollMults_001` | Converts V0 version 001 to 002 | |
| 42 | +| `stramccollmultconverter2.cxx` | `StraMCCollMults_001` | `StraMCCollMults_002` | Converts V0 version 001 to 002 | |
| 43 | +| `strarawcentsconverter.cxx` | **process000to001**: `StraRawCents_000` *(off by default)*<br>**process002to003**: `StraRawCents_002` *(off by default)* | `StraRawCents_001`<br>`StraRawCents_003` | Converts V0 version 001 to 002 | |
| 44 | +| `strarawcentsconverter2v4.cxx` | `StraRawCents_003` | `StraRawCents_004` | Converts V0 version 001 to 002 | |
| 45 | +| `strastampsconverter.cxx` | `StraStamps_000` | `StraStamps_001` | Converts Stra Stamps from 000 to 001 | |
| 46 | +| `v0coresconverter.cxx` | `V0MCCores_000` | `V0MCCores_001` | Converts V0 version 001 to 002 | |
| 47 | +| `v0coresconverter2.cxx` | `V0MCCores_001` | `V0MCCores_002` | Converts V0 version 001 to 002 | |
| 48 | +| `v0mlscoresconverter.cxx` | `V0Cores` | `V0GammaMLScores`<br>`V0LambdaMLScores`<br>`V0AntiLambdaMLScores`<br>`V0K0ShortMLScores` | Converts V0 version 001 to 002 | |
| 49 | +| `zdcneutronsconverter.cxx` | `StraEvSels` *(=StraEvSels_006)* | `ZDCNeutrons`<br>`ZDCNMCCollRefs` | | |
| 50 | + |
| 51 | +Notes: |
| 52 | + |
| 53 | +* Tables joined with `+` are subscribed together in a single argument |
| 54 | + (`soa::Join<...>`); a comma separates independent arguments. |
| 55 | +* `Name *(=Name_00N)*` means the task subscribes to (or produces) the |
| 56 | + unversioned alias, which currently resolves to version `N` in the data model. |
| 57 | +* Tasks with more than one `process` function list each one separately; |
| 58 | + a switch marked *off by default* must be enabled explicitly. |
0 commit comments