I have just read the post
"Trying a simultaneous fit in RooFit"
and I have a question that How to realize that
"put both data samples in one single data set with the flags “A” and “B”."
now I need to deal with the same problem.
I have two RooDataHists,
RooDataHist datadp("datadp", "dataset with xd0 ", x ,hhdp); RooDataHist datad0("datad0", "dataset with xd0 ", x ,hhd0);
and I want to construct such a RooDataHist which comprises of that two RooDataHists.
so I can do the simultaneous fit.
any one could help me. thx