I want to read i_th and j_th entry from a Ttree using a for loop, for example:
for (Long64_t entryi = 0; entryi < tree_sig->GetEntries(); ++entryi) {
tree_sig->GetEntry(entryi);
entryj=4;
tree_sig->GetEntry(entryj);
}
But this give me break segmentation error. Could you please help me.