Commit 893836d
authored
AOD: Possibility to inject additional meta data (#14362)
Commit provides possibility to inject additional (non-hard-coded)
meta data into AOD. This could be used by MC to add information about
timeframe length used or other specific configurations etc.
The commit relates to https://its.cern.ch/jira/browse/O2-6027
By default this does not change any production behaviour. Existing
meta data is not touched.
This works by generating a simple key-value json (foo.json) like
```
{
"ALIEN_JDL_MC_ORBITS_PER_TF": "4",
"ALIEN_JDL_ANCHOR_SIM_OPTIONS": "-gen pythia8"
}
```
and then exporting an environment variable pointing to this json.
```
export AOD_ADDITIONAL_METADATA_FILE=${PWD}/foo.json
```1 parent ec14f04 commit 893836d
2 files changed
+40
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
1793 | 1795 | | |
1794 | 1796 | | |
1795 | 1797 | | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
1796 | 1830 | | |
1797 | 1831 | | |
1798 | 1832 | | |
| |||
2401 | 2435 | | |
2402 | 2436 | | |
2403 | 2437 | | |
| 2438 | + | |
| 2439 | + | |
2404 | 2440 | | |
2405 | 2441 | | |
2406 | 2442 | | |
| |||
0 commit comments