software:coding_rules
This is an old revision of the document!
Coding Rules
- All .cc and .hh files should start with “PRIMA”
- All classes should start with “PRIMA”
- Indentation with spaces not tabs
Before you push please check:
- compile:
make
- make a trial simulation
primag4sim primag4sim.conf
- once with the default settings:
geometry-file geometry/primageom.root use-tagger 0 use-clorimeter 1 do-radiation-studies 0 macro-file run.mac root-output-file test_bwec.root primary-generator primaUniform
- once with the settings where you consider what you have changed (e.g. new geometry, new gun,…)
software/coding_rules.1594303582.txt.gz · Last modified: (external edit)