Hello Rooters,
I need to get the Min and Max value from the tree variable.
I have 4 variables.
QSq,xBj , ixB(xB bin numbers), jQ2(QSq bin numbers)
I can read the variables properly.
But I need to find the QSq min and max values from each bin.
When I introduce following line.my root session exit unexpectedly.
Q2Min[j]= tree->GetMinimum(“QSq”);
Please see attached code and my root file.Could you please help me to figure this out?
Hello,
Yes,I can do what you mentioned without introducing binning.
But I need to find the Q2 [min,max] value inside each bin and generate some uniform random numbers.