Values bigger than 1 in boolean branch

Dear rooters!

I have many root files created with TFileService. Files contain a TTree in a subfolder. One of the branches is declared as a boolean array.

When I read most of the files, I get the expected values of 0 and 1. However, some in some files this branch contains values greater, than 1. How could that be?

Note: even in these files, I do not receive any warnings about recovery, and f->TestBit(TFile::kRecovered ) returns 0.

I’m just guessing, but AFAIK C++ takes any value greater than 0 as true, so this should not be a problem at all :slight_smile:

I do explicitly fill this branch with either 0 or 1.

The real problem is that my PROOF analisys crashes on this type of files :frowning: