I am looking for a way to get the bin content of a RooDataHist for a specific category of data. When using a function like plotOn() you get the Cut() option to select the category you want to plot. If I understood correctly from the documentation, the bin content in a RooDataHist can be obtained through weight(). Is there something similar to Cut() for the weight() function?