00001 #include "../interface/RooSimultaneousOpt.h" 00002 #include "../interface/CachingNLL.h" 00003 #include <RooCmdConfig.h> 00004 00005 RooAbsReal* 00006 RooSimultaneousOpt::createNLL(RooAbsData& data, const RooLinkedList& cmdList) 00007 { 00008 RooCmdConfig pc(Form("RooSimultaneousOpt::createNLL(%s)",GetName())) ; 00009 pc.defineSet("cPars","Constrain",0,0); 00010 RooArgSet *cPars = pc.getSet("cPars"); 00011 return new cacheutils::CachingSimNLL(this, &data, cPars); 00012 }