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 4 and Version 5 of HowToNeut


Ignore:
Timestamp:
Dec 21, 2016, 11:28:32 AM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToNeut

    v4 v5  
    66== Compiling NEUT and running neutsmpl ==
    77
    8 The main neutrino-nucleus interaction generator lives in src/neutsmpl/neutroot. NEUT has two dependecies: ROOT and the lesser known CERNLIB. You need to have $ROOTSYS, $CERN and $CERN_LEVEL environment variables set-up to compile NEUT. Compilation is done (somewhat inconveniently) by running ./Makeneutsmpl in src/neutsmpl/. This calls a host of makefiles, sets up symlinks and so on. If you want to fix this and have the time, please contact us or Hayato-san.
     8The main neutrino-nucleus interaction generator lives in $NEUT_ROOT/src/neutsmpl/neutroot. NEUT has two dependencies: ROOT and the lesser known CERNLIB. You need to have $ROOTSYS, $CERN and $CERN_LEVEL environment variables set-up to compile NEUT. These are all specified in $NEUT_ROOT/src/neutsmpl/Envmakeneutsmpl.csh.
    99
    10 Running the main executable is done by ./neutroot CARD_FILE.card OUTPUT_ROOT_FILE.root, where CARD_FILE.card is a card file compliant with your chosen NEUT version, and OUTPUT_ROOT_FILE.root is the output file where the events are to be saved.
     10Compilation is done (somewhat inconveniently) by running ./Makeneutsmpl in src/neutsmpl/: this calls a host of makefiles, sets up symlinks and so on. If you have some time on your hands and want to fix this, please contact us or Hayato-san.
     11
     12Running the main executable is done by ./neutroot2 NEUT_CARD_FILE.card OUTPUT_ROOT_FILE.root, where CARD_FILE.card is a card file compliant with your chosen NEUT version, and OUTPUT_ROOT_FILE.root is the output file where the events are to be saved.
     13
     14Examples of NEUT card files can be found in the $NEUT_ROOT/src/neutsmpl/Cards directory, or have a look at what we used for 2016 at https://nuisance.hepforge.org/trac/wiki/Winter2016 and https://imperialcollegelondon.app.box.com/files/0/f/13226969736/neut_cards
    1115
    1216Hot tip: NEUT can be quite verbose and you might want to pipe the output to file (or /dev/null...) rather than dump it to screen. This can actually speed up NEUT considerably.
     
    1721
    1822= NEUT inputs for NUISANCE =
     23
    1924The output of neutroot, a neutvect, can be read in by NUISANCE to generate predictions. neutroot also saves the predicted flux and event rate predictions automatically into the neutvect files so NUISANCE already has everything it needs.
    2025
     
    2429}}}
    2530
    26 = Using NEUT ReWeight =
     31= Using NEUT \ReWeight =
    2732
    2833