Dear Rooters,
I have a simple question concerning RooUnfold. How to initialize a 2D response matrix. There are Fill methods for 1D, 2D and 3D, however there is only constructor for 1D case.
Fill
https://gitlab.cern.ch/RooUnfold/RooUnfold/-/blob/2.0.1/src/RooUnfoldResponse.h
Many thanks in advance, Waleed
The answer is to use the constructor RooUnfoldResponse (const TH1* measured, const TH1* truth, const char* name= 0, const char* title= 0);
RooUnfoldResponse (const TH1* measured, const TH1* truth, const char* name= 0, const char* title= 0);
In that last case, measured and truth are used to specify the dimensions of the distributions
measured
truth
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.