Skip to content

Commit

Permalink
Merge pull request #844 from kcormi/param_tutorial_docs_discrete_free…
Browse files Browse the repository at this point in the history
…ze_fix

Fix arguments for setting pdfindex for toys in tutorial
  • Loading branch information
anigamova authored Jul 25, 2023
2 parents cf9e6e6 + 99b4ed9 commit a849c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial2023/parametric_exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ Compile the datacard with:
text2workspace.py datacard_part5.txt -m 125
```

The `RooMultiPdf` is a handy object for performing bias studies as all functions can be stored in a single workspace. You can then set which function is used for generating the toys with the `--setParameters pdfindex=i` option, and which function is used for fitting with `--setParameters pdfindex=i --freezeParameters pdfindex=j` options.
The `RooMultiPdf` is a handy object for performing bias studies as all functions can be stored in a single workspace. You can then set which function is used for generating the toys with the `--setParameters pdfindex_Tag0=i` option, and which function is used for fitting with `--setParameters pdfindex_Tag0=j --freezeParameters pdfindex_Tag0` options.

* It would be a useful exercise to repeat the bias studies from part 4 but using the RooMultiPdf workspace. What happens when you do not freeze the index in the fitting step?

Expand Down

0 comments on commit a849c26

Please sign in to comment.