ROOT macros to perform the WH analysis in ATLAS