Yes, you are right, I had not noticed you did the cut on the same variable you are plotting.
I agree that in that case the axis value is in range. I will tell our TTree expert to have a look.
This is somewhat intended. When you do not make any selection on a possibly missing data field, TTreeFormula is not (allowed to) skip any rows and thus insert zero where there is missing data.
When a selection is involved, its value is set to false whenever the data field is missing (and thus in your example they are skipped).
This is somewhat intended. When you do not make any selection on a possibly missing data field, TTreeFormula is not (allowed to) skip any rows and thus insert zero where there is missing data.
When a selection is involved, its value is set to false whenever the data field is missing (and thus in your example they are skipped).
Cheers,
Philippe.[/quote]
I see, but this is really dangerous. Can you add at least a warning?