User Tools

Site Tools


software:coding_rules

Coding Rules

  1. All .cc and .hh files should start with “PRIMA”
  2. All classes should start with “PRIMA”
  3. 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.txt · Last modified: 2022/01/14 18:44 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki