Adapt to ROOT coding conventions, use anonymous namespace