Avoid errors in the VirtuaMC version of AliRoot