Project

General

Profile

Wiki » History » Version 48

« Previous - Version 48/61 (diff) - Next » - Current version
Robert Hatcher, 12/04/2015 02:53 PM


NuMI Beam Simulations

This area is devoted to work on the simulation of the NuMI Beamline. This wiki should serve to facilitate those efforts by documenting how to get, configure and run the code.

Simulations

g4numi a pure Geant4 based simulation of the beamline
flugg uses the same g4numi geometry, but interfaces to fluka for the actual particle physics
gnumi the obsolete GEANT3 based simulation
pbeam a fast FORTRAN based simulation (also obsolete)
mars an alternative simulation (while mars itself is kept up-to-date, the NuMI code to use it has probably fallen into disrepair).

Data Products

The most commonly used output of the first three of the simulations is an ntuple that represents hadrons and muons that decay to give neutrinos. At present these give 4 different variants of the ntuple (Minerva's version of g4numi is not reflected in the mainline branch of the code). These ntuples are very similar in form but not exactly interchangeable in general. The GENIE neutrino interaction generator can by default read all three (but not the Minerva variant without modification). Ongoing work is has a long-term goal of migrating the first two simulations (g4numi and flugg) to a common, extensible ntuple format: Dk2nu

Naming Convention

The names of simulation configurations take the following form: [l/m][e/n][nnn]z[nnn]i

  • [l/m]: l = low energy horn 2 position, m = medium energy horn 2 position
  • [e/n]: e = MINOS target, n = NOvA target. In the event of target design changes, we have 24 letters left in the alphabet
  • [nnn]z = pull back (unchanged for MINOS target, relative to nominal pos. for NOvA target)
  • [nnn]i = horn current in kA (same as for MINOS)

A standard MINOS run would have been le010z185i; a standard NOvA run will be mn000z200i.

Files, Files, Files

Locations of shared files

Dude, where's my code?

Instructions for: Access to the repository

Overview of the repository

width,300,NuMI-X-2015-03-05-RepoPlans.jpg

Build instructions

How to build the Geant4 code (proto1-numix branch)
[[minerva-sw:G4NuMI_instructions| How to build the Geant4 code - minerva branch]]
How to build the FLUGG code (proto2-numix branch)

Building enough so that geometry can be extracted to GDML file

Geometry with G4StandAlone

GDML Overlap Script

GDML Ray Tracing Script

Resources

NuMI Beamline

NuMI Technical Design Handbook

is the followup on the TDR; contains later information; section 4.4 has diagrams, photos and references to CAD drawing numbers that might be of particular interest.

Drawings Database Note: not available from offsite...

is a source of "released" CAD drawings; try this, but it is an incomplete source. To access drawings click on "query" on left; enter a search string. If you have a drawing number try that; otherwise try strings involving names such as "numi" and "horn", etc. [VPN in to access]

Table of document numbers in the drawings database

Other Drawing Sources

https://numix-docdb.fnal.gov:440/cgi-bin/ShowDocument?docid=21

Other Documentation

https://cdcvs.fnal.gov/redmine/projects/numi-beam/wiki/NuMI_beamline_documentation

Task List

NumiSoft Tag Release
Geometry
DK2NU
FluxReader