diff --git a/Framework/src/runnerUtils.cxx b/Framework/src/runnerUtils.cxx index 4532ef33d8..7408ddb63b 100644 --- a/Framework/src/runnerUtils.cxx +++ b/Framework/src/runnerUtils.cxx @@ -101,6 +101,8 @@ std::string translateBeamType(const std::string& pdpBeamType) result = "Pb-Pb"; } else if (pdpBeamType == "pPb") { result = "Pb-PROTON"; + } else if (pdpBeamType == "cosmic") { + result = "cosmic"; } else { ILOG(Warning, Ops) << "Failed to convert the pdp beam type ('" << pdpBeamType << "'), returning an empty string" << ENDM; } diff --git a/doc/Advanced.md b/doc/Advanced.md index 38c67576e5..6203b85ec6 100644 --- a/doc/Advanced.md +++ b/doc/Advanced.md @@ -1310,7 +1310,7 @@ The new syntax is ``` 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 to ignore the run or the beam type. -The beam type is one of the following: `PROTON-PROTON`, `Pb-Pb`, `Pb-PROTON` +The beam type is one of the following: `PROTON-PROTON`, `Pb-Pb`, `Pb-PROTON`, `cosmic`. The values can be accessed in various ways described in the following sub-sections.