2022-10-11 18:52:39 -04:00
|
|
|
The code uses two approaches to fit the experimental data with gamma distribution .
|
|
|
|
|
|
|
|
1) find a0 + a2*P2 + a4*P4, then use a0 to search for mini delta, the mixing ratio
|
2022-10-12 18:26:36 -04:00
|
|
|
2) fit the a0, delta, and sigma simultaniously.
|
2022-10-11 18:52:39 -04:00
|
|
|
|
2022-10-13 15:08:21 -04:00
|
|
|
# simply make to compile the ad++.cpp
|
2022-10-11 18:52:39 -04:00
|
|
|
|
2022-10-12 18:26:36 -04:00
|
|
|
The settings and data are hard coded.
|
|
|
|
|
2022-10-13 15:08:21 -04:00
|
|
|
# or, using root, load ad++.h as macro
|
|
|
|
|
|
|
|
# for mac user, please use d71f18d branch
|