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 12 and Version 13 of HowToNeut


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToNeut

    v12 v13  
    99== Compiling NEUT and running neutroot2 ==
    1010
    11 The 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`.
     11The 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 should all be specified by the user in `$NEUT_ROOT/src/neutsmpl/EnvMakeneutsmpl.csh`.
    1212
    13 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 have some time on your hands and want to fix this, please contact us or Hayato-san.
     13Compilation is done (somewhat inconveniently) by running `./Makeneutsmpl` in `src/neutsmpl/`: this sources the above `EnvMakeneutsmpl.csh`, runs through a host of makefiles, sets up symlinks and builds the project. If you have some time on your hands and want to fix this by e.g. CMake, please contact us or Hayato-san.
    1414
    1515Running the main executable is done by `./neutroot2 NEUT_CARD_FILE.card OUTPUT_ROOT_FILE.root`, 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, and is the input for NUISANCE analyses.
     
    1717Examples of NEUT card files can be found in the `$NEUT_ROOT/src/neutsmpl/Cards` directory, or have a look at what team NUISANCE used for 2016 analyses at
    1818[wiki:Winter2016] and https://imperialcollegelondon.app.box.com/files/0/f/13226969736/neut_cards
     19
    1920
    2021Hot 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.
     
    2526NEUT has a load of defaults set on run-time if the user does not supply them, which means you're running with "reference" NEUT.
    2627
    27 Some things are good to specify though, and here's a list for generating all modes on T2K H2O. We can specify how many events we want, the incoming neutrino type, the flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on.
     28Some things are good to specify though, and here's a list for generating all modes on T2K H2O. We can specify how many events we want, the input flux in TH1D format, the incoming neutrino type, the flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on.
    2829
    2930The "C" at the start of each line is just a comment and will not be parsed by NEUT.
     31
     32The `EVCT-MPV 3` says the flux is coming from a file, `EVCT-FILENM` specifies the file location of the flux, `EVCT-HISTNM` is the name of the TH1D inside `EVCT-FILENM`, and `EVCT-INMEV` specifies if the input histogram is in MeV or not.
     33
    3034{{{
    3135C Number of events ; EVCT-NEVT