Adapt to ROOT6 change in ROOT API

Adapt to a change in the ROOT API between ROOT 5 and ROOT 6.  Without this change, the package does not compile against ROOT 6.