initial version
Tagged version for the HAWC2-12.9 release tests
- 2021-10-01 Mads M. Pedersen switch from standard call to c call