make .root file for datacard