Use new RootManager in pcompiler