Skip to content

Commit

Permalink
Added setting the values of setters in the headers
Browse files Browse the repository at this point in the history
Added setting the values of setters in the headers
  • Loading branch information
tvami authored Feb 26, 2025
2 parents 28cd3ff + 4593345 commit 2237824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/developing/coding-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ When developing code in ldmx-sw please follow the following best practises and s
6. Use `lowercase` for namespaces
7. Run `just format-cpp` so the automated formatting is applied
8. For setters, include the word `set` in the beginning of the function, e.g. `setHitValsX()`
9. Do not use `__` in any c++ variable name
9. Set the value of the setter in the header, i.e. make the relevant quanities class members
10. Do not use `__` in any c++ variable name

## II. Packaging Rules
1. Put the header files with the extension of `.h` into `Package/include/Package/MyFile.h`
Expand Down

0 comments on commit 2237824

Please sign in to comment.