{ // Connect file generated in $ROOTSYS/test TFile f("toto.root"); TLeaf *leaf_eln = physics->GetLeaf("el_n"); TLeaf *leaf_elpt = physics->GetLeaf("el_pt"); cout<<"el_n is "<GetTypeName()<GetTypeName()<GetBranch()->GetEntry(i); int nbel = leaf_eln->GetValue(); cout<<"Number of electrons "<GetBranch()->GetEntry(i); if(!address) { for(int j=0;jGetValue(j)<