User Tools

Site Tools


software:coding_rules

This is an old revision of the document!


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.1594303518.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki