I’m facing a problem with my code for limit calculations. I have a dataset with variables m, pt, eta, and phi, I’m applying some BDT scores from TMVA training.
The issue I’m encountering is as follows:
: 2-th variable of the event is NaN → return MVA value -999,
: that’s all I can do, please fix or remove this event.
I’m getting this error for different variables in different events. It seems that some of my variables are becoming NaN, and this is causing the MVA value to be set to -999. This behavior is unexpected and is affecting the accuracy of my calculations.
i have scanned all my root file and non of them have a NAN value.
If anyone has encountered a similar issue or has any insights into why this might be happening, I would be incredibly grateful for your help.
Thank you in advance for your assistance!