Difference between revisions of "MOLLERsim application coding guidelines"

From Hall A Wiki
Jump to: navigation, search
(General)
Line 9: Line 9:
 
### We want to be able to use GNUMake?
 
### We want to be able to use GNUMake?
 
## if someone gets it working on other platforms, may offer support
 
## if someone gets it working on other platforms, may offer support
 +
# when you make a change, you need to make sure that it works!
 +
## on the farm...
 +
## with the "approved" environment variables
  
 
== Geometry ==
 
== Geometry ==

Revision as of 15:06, 30 November 2012

General

  1. comment for DOxygen
  2. use object-oriented code
  3. use GEANT4 classes - don't reinvent the wheel
  4. guarantee that it works on the farm
    1. use "central" GEANT4 installation
      1. We like OpenInventor?
      2. We want to be able to use GNUMake?
    2. if someone gets it working on other platforms, may offer support
  5. when you make a change, you need to make sure that it works!
    1. on the farm...
    2. with the "approved" environment variables

Geometry

  1. use GDML (need to decide about how to do modular geometry)

Generators

Analysis

  1. Define tracking in correct places (step, event, run, etc.)