I would like to delete a histogram within a root file. The following didn’t work. Does anyone have a suggestion of what would be the best way to delete the histogram Summary_ClusterWidth_OffTrack_in_TEC ?
Cheers,
Jeff
TFile *f = new TFile(“change70659.root”,“update”);
TH1* h = (TH1*) file->Get(“DQMData/Run70659/SiStrip/Runsummary/MechanicalView/TEC/Summary_ClusterWidth_OffTrack_in_TEC”);