Skip to content

Commit 2237824

Browse files
authored
Added setting the values of setters in the headers
Added setting the values of setters in the headers
2 parents 28cd3ff + 4593345 commit 2237824

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/developing/coding-rules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ When developing code in ldmx-sw please follow the following best practises and s
1111
6. Use `lowercase` for namespaces
1212
7. Run `just format-cpp` so the automated formatting is applied
1313
8. For setters, include the word `set` in the beginning of the function, e.g. `setHitValsX()`
14-
9. Do not use `__` in any c++ variable name
14+
9. Set the value of the setter in the header, i.e. make the relevant quanities class members
15+
10. Do not use `__` in any c++ variable name
1516

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

0 commit comments

Comments
 (0)