20140129 Move ROOT macros in repository, add calculation of PDF envelope