Dear experts, I have a workspace that has dataset in the format - RooDataHist. In first step, I would like to read it and the second step, I want convert RooDataHist to RooDataSet. Is it some way to make it?
Thanks in advance, Sandro Fonseca UERJ/Brazil
See $ROOTSYS/tutorials/roofit/* Maybe something like:
TFile* f = new TFile("rf903_numintcache.root") ; RooWorkspace *w; f->GetObject("w",w); if (!w) return some_error_code; RooDataHist* hhcache = dynamic_cast<RooDataHist*> ( w1->expensiveObjectCache().getObj( uniqueIdOfDataHist ) );
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.