Skip to content

Commit 04aa5c9

Browse files
committed
add faketheoryid to docs
1 parent 0234169 commit 04aa5c9

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

doc/sphinx/source/tutorials/closuretest.rst

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,16 @@ Before you've made any changes, a typical ``closuretest`` section will be as fol
5959
filterseed : 0 # Random seed to be used in filtering data partitions
6060
fakedata : False
6161
fakepdf : MMHT2014nnlo68cl
62+
faketheoryid: 41_000_000
6263
fakenoise : False
6364
64-
Setting ``fakedata`` to ``True`` will cause closure test pseudodata to be generated
65-
and subsequently fitted. The PDf which the pseudodata will be generated from
66-
is specified by the ``fakepdf`` key. It is strongly advised to set the ``fakepdf``
67-
and ``t0pdfset``, found under ``datacuts`` to be the same PDF, unless specifically
68-
testing the impact of the t0 procedure.
65+
Setting ``fakedata`` to ``True`` will cause closure test pseudodata to be
66+
generated and subsequently fitted. The PDF which the pseudodata will be
67+
generated from is specified by the ``fakepdf`` key and the theory is specified
68+
by the ``faketheoryid`` key. It is strongly advised to set the ``fakepdf`` and
69+
``t0pdfset`` found under ``datacuts`` to be the same PDF, as well as setting
70+
``t0theoryid`` found under ``theory`` and ``faketheoryid`` to be the same
71+
theoryid, unless specifically testing the impact of the t0 procedure.
6972

7073
The ``fakenoise`` key specifies whether or not the level 1 shift η will be
7174
add to the pseudodata during the filtering step, this is require for
@@ -79,6 +82,7 @@ An example of a typical level 1 or level 2 ``closuretest`` specification is give
7982
filterseed : 0 # Random seed to be used in filtering data partitions
8083
fakedata : True
8184
fakepdf : MMHT2014nnlo68cl
85+
faketheoryid: 41_000_000
8286
fakenoise : True
8387
8488
Note that it is *critical* that two closure tests which are to be compared have
@@ -89,15 +93,20 @@ example a `report <https://vp.nnpdf.science/mbcTUd6-TQmQFvaGd37bkg==/>`_
8993
comparing two level 2 closure tests with identical settings apart from
9094
``filterseed``.
9195

92-
There are still some relevant settings to the closure test. For the above example
93-
we would choose that the t0 set was the same as the underlying law:
96+
There are still some relevant settings to the closure test. For the above
97+
example we would choose that the t0 pdf and the t0 theoryid are the same as the
98+
underlying law:
9499

95100
.. code:: yaml
96101
97102
datacuts:
98103
t0pdfset : MMHT2014nnlo68cl # PDF set to generate t0 covmat
99104
...
100105
106+
theory:
107+
t0theoryid : 41_000_000 # theoryID to generate t0 covmat
108+
...
109+
101110
Finally we need to specify whether or not MC replicas will be generated in the
102111
fit, differentiating between a level 1 and level 2 closure test. This can be achieved
103112
by setting ``genrep`` to be ``True``

0 commit comments

Comments
 (0)