This is a C++ version of the Fortran AD code. AD stands for angular distribution.
Go to file
2022-10-13 15:08:21 -04:00
.gitignore change w(m), fitAD can fit sigma 2022-10-12 18:24:52 -04:00
ad++.cpp change w(m), fitAD can fit sigma 2022-10-12 18:24:52 -04:00
ad++.h add the cmath for all header, just in case 2022-10-13 13:22:52 -04:00
jSymbol.h AD code in C++ with ROOT compatible 2022-10-11 18:47:31 -04:00
makefile pull out the functions to ad++.h, so that it can be loaded as root marco 2022-10-12 13:48:17 -04:00
Qk.h add the cmath for all header, just in case 2022-10-13 13:22:52 -04:00
README.md Update 'README.md' 2022-10-13 15:08:21 -04:00

The code uses two approaches to fit the experimental data with gamma distribution .

  1. find a0 + a2P2 + a4P4, then use a0 to search for mini delta, the mixing ratio
  2. fit the a0, delta, and sigma simultaniously.

simply make to compile the ad++.cpp

The settings and data are hard coded.

or, using root, load ad++.h as macro

for mac user, please use d71f18d branch