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
// for a complete list of the properties provided by ECS, see here: https://github.com/AliceO2Group/Control/blob/master/docs/handbook/configuration.md#variables-pushed-to-controlled-tasks
Copy file name to clipboardExpand all lines: doc/Advanced.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1295,10 +1295,10 @@ The new syntax is
1295
1295
"myOwnKey1": "myOwnValue1b",
1296
1296
"myOwnKey2": "myOwnValue2b"
1297
1297
},
1298
-
"PROTON-PROTON": {
1298
+
"pp": {
1299
1299
"myOwnKey1": "myOwnValue1c"
1300
1300
},
1301
-
"Pb-Pb": {
1301
+
"PbPb": {
1302
1302
"myOwnKey1": "myOwnValue1d"
1303
1303
}
1304
1304
},
@@ -1310,7 +1310,7 @@ The new syntax is
1310
1310
```
1311
1311
It allows to have variations of the parameters depending on the run and beam types. The proper run types can be found here: [ECSDataAdapters.h](https://github.com/AliceO2Group/AliceO2/blob/dev/DataFormats/Parameters/include/DataFormatsParameters/ECSDataAdapters.h#L54). The `default` can be used
1312
1312
to ignore the run or the beam type.
1313
-
The beam type is one of the following: `PROTON-PROTON`, `Pb-Pb`, `Pb-PROTON`, `cosmic`.
1313
+
The beam type is one of the following: `pp`, `PbPb`, `pPb`, `cosmic`.
1314
1314
1315
1315
The values can be accessed in various ways described in the following sub-sections.
1316
1316
@@ -1322,9 +1322,9 @@ However, before returning an empty value we try to substitute the runType and th
1322
1322
```c++
1323
1323
// returns an Optional<string> if it finds the key `myOwnKey` for the runType and beamType of the provided activity,
1324
1324
// or if it can find the key with the runType or beamType substituted with "default".
1325
-
auto param = mCustomParameters.atOptional("myOwnKey1", activity); // activity is "PHYSICS", "Pb-Pb" , returns "myOwnValue1d"
1325
+
auto param = mCustomParameters.atOptional("myOwnKey1", activity); // activity is "PHYSICS", "PbPb" , returns "myOwnValue1d"
1326
1326
// same but passing directly the run and beam types
1327
-
auto param = mCustomParameters.atOptional("myOwnKey1", "PHYSICS", "Pb-Pb"); // returns "myOwnValue1d"
1327
+
auto param = mCustomParameters.atOptional("myOwnKey1", "PHYSICS", "PbPb"); // returns "myOwnValue1d"
1328
1328
// or with only the run type
1329
1329
auto param = mCustomParameters.atOptional("myOwnKey1", "PHYSICS"); // returns "myOwnValue1b"
0 commit comments