In RooFit, I would like o use the sigma() function from a simple dataset to calculate its RMS. I want to specify the range of the variable for this.
According to the reference, it is possible: https://root.cern.ch/root/html/RooAbsData.html#RooAbsData:sigma
But I don’t understand how to skip the cutSpec argument and how to specify the cutRange properly. These don’t work for me:
ds.sigma(var, None, "myRangeName")
ds.sigma(var, "", "myRangeName")
Any help would be great.