makeClassFromTree.cxx 203 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "TROOT.h"

void makeClassFromTree()
{
	gSystem->Load("../libAculData.so");

	TFile fr("clb01_0001.root");
	TTree *tr = (TTree*)fr.Get("AnalysisxTree");

	tr->MakeClass();

//	tr->MakeCode();

}