*** Error in `./src/ReconDistribution/MomchDraw': corrupted double-linked list: 0x0000000003de8110 ***
file→Close()
を忘れていたGraph;1
のように現れてうまく開けない TFile *file = new TFile("test,root", "recreate"); TGraph *g = new TGraph(); g->SetName("g"); // これが必要 file->cd(); g->Write(); file->Close();