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 32 and Version 33 of HowToNeut


Ignore:
Timestamp:
Feb 28, 2017, 1:36:26 PM (7 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToNeut

    v32 v33  
    5050
    5151=== Running the executable ===
    52 You can now run the main executable (`neutroot2`) by:
     52You can now run the main executable `neutroot2`, which lives in `$NEUT_ROOT/src/neutsmpl/neutroot2`. Do
    5353
    5454{{{
     
    5656}}}
    5757 
    58 where `NEUT_CARD_FILE.card` is a card file compliant with your chosen NEUT version, and `OUTPUT_ROOT_FILE.root` is the ROOT output file where the events are to be saved.
    59 
    60 This output file contains all the event information and is the input for NUISANCE analyses.
    61 
    62 === Card-file examples ===
     58where `NEUT_CARD_FILE.card` is a card file compliant with your chosen NEUT version
     59`OUTPUT_ROOT_FILE.root` is the ROOT output file where the events are to be saved.
     60
     61The output file contains all the event information and is the input for NUISANCE analyses.
     62
     63=== NEUT card-file examples ===
    6364Examples of NEUT card files can be found in the `$NEUT_ROOT/src/neutsmpl/Cards` directory.
    6465
     
    7172NEUT has a load of defaults set on run-time if the user does not supply them, which means you're running with default NEUT.
    7273
    73 Selecting different models is done in the cardfile, and all the inputs that a user can specify is found in `src/neutcore/necard.F`.
    74 
    75 The user can specify how many events to generate, the input flux in a `TH1D`, the incoming neutrino type, the flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on.
    76 
    77 Here's a list for generating all modes on T2K H,,2,,O. The "C" at the start of each line is just a comment and will not be parsed by NEUT.
     74Selecting different models is done in the card-file, and all the inputs that a user can specify is found in `src/neutcore/necard.F`.
     75
     76The user can specify how many events to generate, the incoming neutrino type, the input flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on.
     77
     78Here's an example card-file for generating all modes on T2K H,,2,,O. The "C" at the start of each line is just a comment and will not be parsed by NEUT.
    7879
    7980
     
    114115
    115116== Compiling NUISANCE against NEUT ==
     117
    116118Once you have a working NEUT installation and generated events (see [#point_compile above], you can link NUISANCE against NEUT.
    117119
    118120=== Environment variables ===
     121
    119122To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERN`, `$CERN_LEVEL` and `$ROOTSYS`.
    120123
     
    158161
    159162=== NEUT output required by NUISANCE ===
     163
    160164The output of `neutroot2`, contains a ROOT file containing `nevents` `neutvect` objects which has all the information about each event in it. This is read in by NUISANCE to generate predictions.
    161165
     
    163167
    164168=== Using NEUT events with NUISANCE ===
     169
    165170To read NEUT inputs the generator needs to be specified in the NUISANCE input card file when specifying a sample. e.g. for MiniBooNE CCQE
    166171
     
    171176
    172177== Using NEUT !ReWeight with NUISANCE ==
     178
    173179NUISANCE has full support of running NEUT with its reweighting library.
    174180
     
    176182
    177183=== Compiling the reweight classes in NEUT ===
     184
    178185To compile NEUT's reweighting engine, make sure you've got the main executables compiled (see [#point_compile above]), set your `$ROOTSYS` environment varaible and do
    179186
     
    187194
    188195=== Running NUISANCE with NEUT !ReWeight ===
     196
    189197{{{
    190198#!div class="important"