*** Error in `./src/ReconDistribution/MomchDraw': corrupted double-linked list: 0x0000000003de8110 ***
  TFile *file = new TFile("test,root", "recreate");
  TGraph *g = new TGraph();
  g->SetName("g"); // これが必要
  file->cd();
  g->Write();
  file->Close();