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
- Machine learning response classes are implemented in [`HfMlResponse(...).h`](https://github.com/AliceO2Group/O2Physics/tree/master/PWGHF/Core) files.
-`error` for problems that lead to an unwanted behaviour of the code,
193
207
-`fatal` for critical problems that make further running of the code impossible or useless.
194
208
- Include only needed headers but do not rely on implicitly included headers. See [Include What You Use](https://github.com/AliceO2Group/O2Physics/issues/8357).
195
-
- Sort `#include`s from most specific to least specific and organise them into groups (separated by a blank line) in the following order (can be done automatically with[clang-format](../tools/README.md#pre-commit-hooks)):
209
+
- Sort `#include`s from most specific to least specific and organise them into groups (separated by a blank line) in the following order (done automatically by[clang-format](../tools/README.md#pre-commit-hooks)):
@@ -259,7 +273,7 @@ Organising the code in a well defined structure makes it easier to navigate thro
259
273
260
274
### Naming conventions
261
275
262
-
- Use the `<object><attribute>` (or `<general><specific>`) naming scheme, so that names of the same kind of objects start with same string and the different attributes follow.
276
+
- Use the `<object><attribute>` (or `<general><specific>`) naming scheme, so that names of the same kind of objects start with same string and the different attributes follow (imagine a tree hierarchy).
263
277
This scheme makes names more readable, searchable and sortable.
264
278
- Example: `ptTrackMin`, `etaTrackMax`, `trackPos`, `trackNeg` is more readable and sortable than `minTrackPt`, `maxTrackEta`, `posTrack`, `negTrack`.
265
279
- Word-like strings (acronyms, abbreviations, particle names, mathematical variables) are treated as words; i.e. capitalise only the first letter.
0 commit comments