{ gSystem->Load("/home/dariak/Utilities/libAculData.so"); AculCalibration cal; cal.SetInputParameters(); cal.CalculateCalibParameters("clb01_0001.root", "SQ22", 22, "AnalysisxTree", 50, 700); TCanvas *c1 = new TCanvas(); // cal->ShowRawSpectra("clb01_0001.root", 22, c1); // cal.ShowSpectra("SQ22[].root", c1, "", 300, 800, 10); // TFile filerootE("SQ22[]E.root"); // TFile filecal("SQ22[].cal"); // TDirectory dir("dir","dash"); // dir.Add("SQ22[].root"); }