Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Framework/src/runnerUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion doc/Advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down