Request from Kuhan Wang (ATLAS phd student) to add the AD test for histograms to have more sensitivity to tails in low statistics regimes
from a private email:
I have attached the code (AD_Test.C), I also attached a macro that generates pairs of histograms with data drawn at random from Gaussian distributions and then compares the two pairs by means of the AD Test and KologmorovTest given in TH1. The paper I took this from is here: http://arxiv.org/pdf/0804.0380v1.pdf. Page 16.
I hope I haven't written any bugs into the code but let me know if you guys see something.
I wrote this on my own so I am not sure if there is some ROOT coding convention that I may or may not be following.