{ TFile *fout = new TFile("outputfile.root"); TTree *newTree = (TTree*) gDirectory->Get("Tree1"); newTree->SetAlias("SomeNewName", "5. * b"); newTree->Draw("SomeNewName"); }