openChain.cxx 481 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
//void openChain(const Long64_t drawEntries = 100000)
{

//	TFile *fr = new TFile("~/data/exp1804/h5_11_00.root");
	TChain *tr = new TChain("AnalysisxTree");
	tr->Add("~/data/exp1804/h5_14_0?.root");


	TChain *trCal = new TChain("cal");
//	trCal->Add("~/data/exp1804/h5_11_0?_calib.root");
	trCal->Add("~/data/exp1804/h5_14_0?_calib.root");

	tr->AddFriend(trCal);

15 16
	TFile *fcal = new TFile("~/data/exp1804/calib/si_20_03_calib.root");
	TTree *tcal = (TTree*)fcal->Get("cal");
17 18

}