Hi, all:
I want to get a five-dimentional RooHistPdf.
Take 3-dimentiona example:
==>
TH3F* h3 = new TH3F(“h3”, “h3”, 100, 0.0, 2.5, 25, 0.0, 2.5, 16, -1.0, 1.0);
RooDataHist hist3(“hist3”, “hist3”, RooArgSet(m2,q2,cosV), h3);
RooHistPdf bkg(“bkg”, “bkg”, RooArgSet(m2,q2,cosV), hist3);
I find it is fine. But it is going wrong when I use five-dimentianl histogram defined as:
THnSparseF* h5 = new THnSparseF(“h5”, “h5”, dim, bins, xmin, xmax);
It result “RooDataHist hist5(“hist5”, “hist5”, RooArgSet(m2,q2,cosV,cosL,chi), h5);”
Please help me out of here. Thank you!
Volcano