{ TFile* f = new TFile("scan_summary.root"); TTree* tree = (TTree*) f -> Get("T"); tree -> Draw("DeltaY:Poutre>>graph", "site == \"ALU\" && serialNumber == 1", "goff"); TGraph* graph = (TGraph*) gDirectory -> Get("graph"); graph -> Draw(); graph -> GetXaxis() -> SetTitle("Poutre (mm)"); graph -> GetYaxis() -> SetTitle("ML Distance (mm)"); gPad -> Update(); }