Changes between Version 4 and Version 5 of CodingRules
- Timestamp:
- 11/26/13 11:45:11 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingRules
v4 v5 26 26 0. Whenever possible propagate const-references instead of copying the argument. This is an optimization issue. 27 27 0. Use gRandom and do not define your own TRandom object. The global scope will take care of that. A major advantage of simulations is to be able to set a global(!) seed. 28 0. For proper documentation, please have a look at other classes. Note that FACT++ and Mars style is slightly different. Mars is using THtml with some Mars specific setup, FACT++ is using doxygen. 28 29 29 30