If I have a histogram defined between A and B, and I have a range A1-B1, where A1 > A and B1 < B, so that this sub-range is included in the histogram one, can I create a dataset from this histogram with only the bins outside the interval A1-B1?
Could you be more specific on what you mean about “create a dataset”? Are you referring to RooFit? Are you meaning something like creating a RooHistPdf from a histogram and generate from it? Or you you speaking about plain TH1 histograms (and then I’m not sure what you mean about creating a dataset)…