histCFDf7_8.C 373 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
void histCFDf7_8()
{
	gSystem->Load("../libData.so");
	TFile *f = new TFile("../data/dataDSR4/analysis_07_8.root");
	TTree *t = (TTree*)f->Get("atree");
	TCanvas *c = new TCanvas("CFD canvas");
	c->Divide(2,2);
	c->cd(1);
	t->Draw("Ach0.fTimeCFD","","");
	c->cd(2);
	t->Draw("Ach2.fTimeCFD","","");
	c->cd(3);
	t->Draw("Ach0.fTimeCFD - Ach2.fTimeCFD","","");
	c->cd(4);

}