Have two weights when using RooUnfold Package

Hi,
I would like to use RooUnfold package to do the unfolding.
now I have generated variables and reconstructed variables. For generated variables, the weight is A=(xs weight * pileup weight), while for reconstructed variables, the weight is B=(xs weight * pileup weight * trigger efficiency scale factors).

And I would like to use the following way to do unfolding ,

RooUnfoldResponse (const TH1 *measured, const TH1 *truth, const TH2 *response, const char *name=0, const char *title=0)

which is “constructing using a 2D response histogram (TH2D) and 1D truth and measured projections”
(https://roounfold.web.cern.ch/classRooUnfoldResponse.html#aa7d275a36547f4324debdc5234123dbe)

So which weight should I apply when I fill the TH2D ? Which weight should I apply to the generated TH1D and reconstructed TH1D?

Cheers,
Jen

Hi,
RooUnfold is not part of ROOT. I am sorry I am not expert enough on this to help you,. I would suggest you to contact directly the RooUnfold author
Best regards
Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.