Inconsistencies of number of entries for each branch


Please read tips for efficient and successful posting and posting code


I am reading a root file using two methods:

  1. Print the branches of the TTree named “Events”
  2. Use TBrowser and check the number of entries
    The root file exceeds the file size allowed here so the link to it is [here].(ROOT Question – Google Drive)

And both of them gave me different numbers of entries! How is this possible?
Print

It seems that “Muon_phi” is not just a simple “Float_t” value, but a variable size array “Float_t Muon_phi[nMuon]”.
Try: Events->Scan("Muon_phi");

Yes, as @Wile_E_Coyote said, 2572 is probably the number of events, and 3413 is the number of muons in these events.