calibration1.cxx 472 Bytes
Newer Older
Kostyleva D.A's avatar
Kostyleva D.A committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{
	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");


}