void nanh() { TFile *f = new TFile("run01.root"); TTree *t1 = (TTree*)f->Get("AnalysisxTree"); // t1->Print(); t1->Show(1); UShort_t abc[16]; t1->SetBranchAddress("NeEvent.PPAC[16]",abc); t1->GetEntry(1); cout<Close(); delete f; }