@fra_root, @Wile_E_Coyote is correct. Every time the TChain switch from one file to another the underlying TTree object and all its branch and leafs are deleted. Only the address register via SetBranchAddress are carried from one file to the other. Any addresses set directly to the TBranch or TLeaf object needs to be set again at the beginning of each file.