Skip to content

Commit 7609bc2

Browse files
anigamovaruntingt
authored andcommitted
Update the path
1 parent b68ad28 commit 7609bc2

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/tutorial2026/standardflow.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To get started, you should have a working setup of `Combine`, please follow the
1414

1515
Now we will move to the working directory for this tutorial, which contains all the inputs needed to run the exercises below:
1616
```shell
17-
cd $CMSSW_BASE/src/HiggsAnalysis/CombinedLimit/docs/tutorial2026/
17+
cd $CMSSW_BASE/src/HiggsAnalysis/CombinedLimit/data/tutorials/longexercise/
1818
```
1919

2020
## Part 1: Setting up the datacard and the workspace
@@ -549,3 +549,4 @@ python3 printTestStatPlots.py test_stat_distributions.root
549549

550550

551551

552+

src/RooSimultaneousOpt.cc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ std::unique_ptr<RooAbsReal>
1212
RooSimultaneousOpt::createNLLImpl(RooAbsData& data, const RooLinkedList& cmdList)
1313
#endif
1414
{
15-
RooCmdConfig pc(Form("RooSimultaneousOpt::createNLL(%s)",GetName())) ;
16-
pc.defineSet("cPars","Constrain",0,0);
17-
RooArgSet *cPars = pc.getSet("cPars");
18-
auto nll = std::make_unique<cacheutils::CachingSimNLL>(this, &data, cPars);
19-
nll->setChannelMasks(this->channelMasks());
15+
#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 36, 0)
16+
auto timingScope = std::make_unique<ROOT::Math::Util::TimingScope>(
17+
[this](std::string const& msg) { oocoutI(this, Fitting) << msg << std::endl; }, "Creation of NLL object took");
18+
#endif
19+
RooCmdConfig pc(Form("RooSimultaneousOpt::createNLL(%s)", GetName()));
20+
pc.defineSet("cPars", "Constrain", 0, 0);
21+
RooArgSet* cPars = pc.getSet("cPars");
22+
auto nll = std::make_unique<cacheutils::CachingSimNLL>(this, &data, cPars);
23+
nll->setChannelMasks(this->channelMasks());
2024
#if ROOT_VERSION_CODE < ROOT_VERSION(6,30,0)
2125
return nll.release();
2226
#else

0 commit comments

Comments
 (0)