Giter Club home page Giter Club logo

neuttorootracker's Introduction

NeutToRooTracker

A tool for converting the output of the neut simple generator to a rooTracker-like format.

Background:

NEUT is a neutrino event generator. It is not currently open source, but is in use by a number of collaborations in the neutrino physics community. It is often useful to compare the predictions of multiple generators to each other, to facilitate this it is useful to have a common format. The other two major, modern neutrino event generators GENIE (https://github.com/GENIEMC) and NuWro (https://github.com/cjusz/nuwro) are both able to have their outputs converter to a 'rooTracker'-like output with bundled executables. NEUT is able to produce an output in this format, but only when running in full detector geometry simulation mode. This program aims to allow the output of the simple neutrino event generator module of NEUT to be simpley converted to a compatible format for a unified analysis.

ADVERT: See also for GiBUU (https://github.com/luketpickering/GiBUU-t2k-dev).

Building:

Dependencies:

To Build:

Fetch subprojects:

$ git submodule init; git submodule update

Executable:

$ source /<path/to/root>/bin/thisroot.sh
$ source setup.sh
$ cd neut2rootracker;

Documentation:

$ cd neut2rootracker; make [docs|latex_docs]

Usage:

As generated when NeutToRooTracker.exe -h is invoked:

Run like:
  NeutToRooTracker.exe -i <TChain::Add descriptor> [-h] [-o <File Name>{default=vector.ntrac.root}] [-n <-1>: Read all {default=-1}] [-v <0-4>{default=0}] [-G] [-O] [-b] [-L] [-E] [-S] [-I <int,int,...> NEUT modes to save output from.]

  -----------------------------------

[Arg]: (-h|--help)
[Arg]: (-i|--input-file) <TChain::Add descriptor> [Required]
[Arg]: (-o|--output-file) <File Name>{default=vector.ntrac.root}
[Arg]: (-n|--nentries) <-1>: Read all {default=-1}
[Arg]: (-v|--verbosity) <0-4>{default=0}
[Arg]: (-G|--GeV-mode)
[Arg]: (-O|--objectify-output)
[Arg]: (-b|--save-isbound)
[Arg]: (-L|--Lite-Mode)
[Arg]: (-E|--Emulate-NuWro)
[Arg]: (-S|--Skip-non-FS)
[Arg]: (-I|--Ignore-NEUT-Modes) <int,int,...> NEUT modes to save output from.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.