parTest.cxx 589 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
//#include "../../AculCalib/AculCalPars.h"

void parTest()
{
	gSystem->Load("../../libAculCalib.so");

	AculCalParsScint p;
	p.SetParFile("SQ13Alpha.par");

	AculCalibScint c;
	c.SetParFile("SQ13Alpha.par");
	c.Init();
//	return;

//	c.PrintParameters("all");

//	c.OpenFiles();

//	c.LoadTrees();
	c.PrintTrees();

//	c.DrawVariable(.........)

//	c.PrintFiles();
//	c.PrintCuts();

//	TCanvas *c1 = new TCanvas("c1", "Plain");
//	c.GetPeakMean("SQ13", 0, 0, c1, "cutSQ13Alpha16Amp", 256);

//	TCanvas *cCal = new TCanvas("cCal", "calibration Alpha");
//	cal.Calibrate(cCal);

	return;
}