nuisance is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 6 and Version 7 of CardFileExamples


Ignore:
Timestamp:
Jun 13, 2017, 12:51:47 PM (7 years ago)
Author:
Patrick Stowell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CardFileExamples

    v6 v7  
    2323
    2424=== Sample Structure ===
    25 Data comparison samples are specified by including the 'sample structure, listing the name of the sample and the input.
     25Data comparison samples are specified by including the 'sample structure, listing the name of the sample and the input. These structures are read by '''nuiscomp''', '''nuismin''', and '''nuissyst'''
    2626{{{
    2727sample   NAME   TYPE:/path/to/FILE   [OPTION]   [NORM]
     
    6363}}}
    6464
    65 **Example 6** : MiniBooNE CCQE comparison using a NuWro, shifting the MC by 0.9 / 1.0 buy also adding a normalisation penalty (option=NORM)
     65**Example 6** : MiniBooNE CCQE comparison using a NuWro, shifting the MC by 0.9 / 1.0 but also adding a normalisation penalty to the likelihood (option=NORM)
    6666{{{
    6767sample  MiniBooNE_CCQE_XSec_1DQ2_nu  NEUT:/path/to/my/neutfile.root  NORM  0.9
    6868}}}
    6969
     70**Example 7** : Include both MiniBooNE CCQE and CC1pip data
     71{{{
     72sample  MiniBooNE_CC1pi_XSec_1DTpi_nu  NEUT:/path/to/my/neutfile.root 
     73sample  MiniBooNE_CCQE_XSec_1DQ2_nu    NEUT:/path/to/my/neutfile.root
     74}}}
    7075
    7176=== Fixed Parameter Structure ===
    72 Fixed parameters can be specified by using any of the 'parameter' type structures. You must specify the type of parameter first, before listing the name, starting value, and state.
     77Fixed parameters can be specified by using any of the 'parameter' type structures. You must specify the type of parameter first, before listing the name, starting value, and state. These structures are read by '''nuiscomp''', '''nuismin''', and '''nuissyst'''
    7378{{{
    7479TYPE_parameter  NAME   VALUE  STATE
     
    8590
    8691
     92Multiple parameter structures can be listed in the nuisance card file to make comparisons with many model parmaeters changed at once.
     93
     94
     95{{{
     96#!div class="important"
     97NOTE: Running with RW parameters changed in Generators requires that specific Generator to be built and have NUISANCE built against it. E.g. to using GENIE RW, you need to have a working install of GENIE+GENIE-RW and NUISANCE built against that version.
     98}}}
     99
    87100
    88101**Example 1** : Fixed GENIE RW 'MaCCQE' to +1 sigma
    89102{{{
     103genie_parameter MaCCQE  +1.0  FIX
     104}}}
    90105
     106**Example 2** : Fixed NuWro RW 'kNuwro_Ma_CCQE' to -1 sigma
     107{{{
     108nuwro_parameter kNuwro_Ma_CCQE  -1.0  FIX
     109}}}
     110
     111**Example 2** : Shift both 'MaCCQE' and 'MaCCRES' in NEUT by 1 sigma
     112{{{
     113neut_parameter MaCCQE  -1.0  FIX
     114neut_parameter MaCCRES +1.0  FIX
    91115}}}
    92116
    93117=== Free Parameter Structure ===
    94 
     118Free parameters can be specified by using any of the 'parameter' type structures. You must specify the type of parameter first, before listing the name, starting value, lower and upper limits, step size and state. This is an extension of the fixed parameter case to include extra information needed by routines that vary parameters.
     119These structures are read by '''nuismin''', and '''nuissyst'''. It is possible to use these structures also in nuiscomp, but the dial limits and step sizes will be ignored, fixing the parameter at the chosen value instead.
    95120{{{
    96121TYPE_parameter  NAME  VALUE  LOW  HIGH STEP STATE
    97122}}}
     123
     124
     125- **TYPE** : Type of RW parameter, (e.g. genie_parameter, neut_parameter, norm_parameter)
     126- **NAME** : Name of RW parameter, can be any string given in the RW engine. In GENIE this list is given in $GENIE/src/ReWeight/GSyst.h.
     127
     128For normalisation parameters the name of the dial corresponds to SAMPLENAME_norm. (e.g. 'MiniBooNE_CCQELike_XSec_1DQ2_nu_norm')
     129
     130- **VALUE** : Starting value for the dial. In general for RW engine parameters this is given in terms of 1-sigma variations away from the nominal, so that VALUE=0.0 is the nominal generator value. For everything else, like normalisation parameters, this value is in units of the true value.
     131
     132- **LOW**  : Lower limit of the dial in the same units as **VALUE**
     133- **HIGH** : Upper limit of the dial in the same units as **VALUE**
     134- **STEP** : Starting step size of the dial in the same units as **VALUE**. This is the stepsize passed to the minimizer, as well as the step size used in various functions that randomly scan the parameter space.
     135
     136- **STATE** : State of the dial. This can be left as FREE or FIX. If FREE this tells NUISANCE that we will allow the dial to be varied. If FIX then NUISANCE will make sure it is left at  **VALUE** for the entire time. FIX is a useful option if you decide you would like to stop a single parameter being floated but would like to keep its limit definitions in case you would like to vary it at a later point.
     137
     138
    98139
    99140