Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 918 Bytes

dev_modelgeneral.adoc

File metadata and controls

20 lines (15 loc) · 918 Bytes

General Issues in Model Development

There are a number of conventions for organizing details of the model. Developers should strive to implement their code in accordance with these conventions to promote maintainability.

Conventions for Organization
  1. Developers should be aware of the Utils/KineUtils class. This class collects kinematic limits and methods, for example, channel specific (QEL vs Coherent, etc.) limits on \(Q^2\), \(W\), and others as well as methods for variable transformations, etc.

  2. The Interaction/KPhaseSpace class collects kinematic limits in from KineUtils and offers them through a more generic interface in addition to making calculations as to whether the required phase space is available for a reaction to occur (for example, is there enough energy to produce all the final state particles, etc.).