Skip to content

Commit 30f1315

Browse files
committed
[1272] Add missing beam type (cosmic) (#2527)
1 parent 3709d4d commit 30f1315

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Framework/src/runnerUtils.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ std::string translateBeamType(const std::string& pdpBeamType)
101101
result = "Pb-Pb";
102102
} else if (pdpBeamType == "pPb") {
103103
result = "Pb-PROTON";
104+
} else if (pdpBeamType == "cosmic") {
105+
result = "cosmic";
104106
} else {
105107
ILOG(Warning, Ops) << "Failed to convert the pdp beam type ('" << pdpBeamType << "'), returning an empty string" << ENDM;
106108
}

doc/Advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ The new syntax is
13101310
```
13111311
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
13121312
to ignore the run or the beam type.
1313-
The beam type is one of the following: `PROTON-PROTON`, `Pb-Pb`, `Pb-PROTON`
1313+
The beam type is one of the following: `PROTON-PROTON`, `Pb-Pb`, `Pb-PROTON`, `cosmic`.
13141314

13151315
The values can be accessed in various ways described in the following sub-sections.
13161316

0 commit comments

Comments
 (0)