Changes between Version 6 and Version 7 of CodingRules
- Timestamp:
- 11/26/13 11:57:14 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingRules
v6 v7 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 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. 29 0. Never define constants as preprocessor directives. Generally avoid preprocessor directives. 29 30 30 31 == Example ==