CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/HiggsAnalysis/CombinedLimit/src/RooSimultaneousOpt.cc

Go to the documentation of this file.
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 }