Project

General

Profile

Wiki » History » Version 47

Robert Hatcher, 10/09/2015 11:45 AM

1 2 Robert Hatcher
{{toc}}
2 2 Robert Hatcher
3 1 Robert Hatcher
h1. NuMI Beam Simulations
4 1 Robert Hatcher
5 4 Robert Hatcher
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.
6 4 Robert Hatcher
7 4 Robert Hatcher
h2. Simulations
8 4 Robert Hatcher
9 14 Robert Hatcher
| [[g4numi]]  | a pure @Geant4@ based simulation of the beamline |
10 13 Robert Hatcher
| [[flugg]]      | uses the same @g4numi@ geometry, but interfaces to "fluka":http://www.fluka.org/fluka.php for the actual particle physics |
11 14 Robert Hatcher
| [[gnumi]]    | the obsolete @GEANT3@ based simulation |
12 14 Robert Hatcher
| [[pbeam]]    | a fast FORTRAN based simulation (also obsolete) |
13 14 Robert Hatcher
| [[mars]]       | an alternative simulation (while @mars@ itself is kept up-to-date, the NuMI code to use it has probably fallen into disrepair). |
14 1 Robert Hatcher
15 1 Robert Hatcher
h2. Data Products
16 1 Robert Hatcher
17 1 Robert Hatcher
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@":https://cdcvs.fnal.gov/redmine/projects/genie/wiki 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":https://cdcvs.fnal.gov/redmine/projects/nusoftart/wiki/Dk2nu 
18 8 Robert Hatcher
19 10 Robert Hatcher
h3. Naming Convention
20 10 Robert Hatcher
21 11 Robert Hatcher
The names of simulation configurations take the following form:  [l/m][e/n][nnn]z[nnn]i
22 10 Robert Hatcher
23 10 Robert Hatcher
* [l/m]: l = low energy horn 2 position, m = medium energy horn 2 position
24 10 Robert Hatcher
* [e/n]: e = MINOS target, n = NOvA target.  In the event of target design changes, we have 24 letters left in the alphabet
25 10 Robert Hatcher
* [nnn]z = pull back (unchanged for MINOS target, relative to nominal pos. for NOvA target)
26 10 Robert Hatcher
* [nnn]i = horn current in kA (same as for MINOS)
27 10 Robert Hatcher
28 10 Robert Hatcher
A standard MINOS run would have been le010z185i; a standard NOvA run will be mn000z200i.
29 10 Robert Hatcher
30 9 Robert Hatcher
h3. Files, Files, Files
31 9 Robert Hatcher
32 9 Robert Hatcher
[[Locations of shared files]]
33 9 Robert Hatcher
34 8 Robert Hatcher
h2. Dude, where's my code?
35 8 Robert Hatcher
36 8 Robert Hatcher
Instructions for:   [[Access to the repository]]
37 15 Robert Hatcher
38 18 Robert Hatcher
h2. Build instructions
39 18 Robert Hatcher
40 46 Robert Hatcher
[[How to build the Geant4 code]] (@proto1-numix@ branch)
41 45 Robert Hatcher
[[minerva-sw:G4NuMI_instructions| How to build the Geant4 code - minerva branch]] 
42 45 Robert Hatcher
[[How to build the FLUGG code]] (@proto2-numix@ branch)
43 18 Robert Hatcher
44 43 Robert Hatcher
h3. Building enough so that geometry can be extracted to GDML file
45 19 Robert Hatcher
46 20 Robert Hatcher
[[Geometry with G4StandAlone]]
47 19 Robert Hatcher
48 28 Gareth Kafka
[[GDML Overlap Script]]
49 28 Gareth Kafka
50 29 Gareth Kafka
[[GDML Ray Tracing Script]]
51 29 Gareth Kafka
52 15 Robert Hatcher
h2. Resources
53 15 Robert Hatcher
54 15 Robert Hatcher
h3. NuMI Beamline 
55 15 Robert Hatcher
56 15 Robert Hatcher
h4. "NuMI Technical Design Handbook":http://www-numi.fnal.gov/numwork/tdh/tdh_index.html 
57 15 Robert Hatcher
58 15 Robert Hatcher
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.
59 15 Robert Hatcher
60 41 Michael Kordosky
h4. "Drawings Database":http://www-admscad.fnal.gov/  *Note: not available from offsite...*
61 15 Robert Hatcher
62 17 Robert Hatcher
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]
63 16 Robert Hatcher
64 27 Gareth Kafka
[[Table of document numbers in the drawings database]]
65 22 Gareth Kafka
66 16 Robert Hatcher
h4. [[Other Drawing Sources]]
67 21 Robert Hatcher
68 21 Robert Hatcher
https://numix-docdb.fnal.gov:440/cgi-bin/ShowDocument?docid=21
69 30 Raphael Schroeter
70 42 Robert Hatcher
h4. Other Documentation
71 42 Robert Hatcher
72 42 Robert Hatcher
https://cdcvs.fnal.gov/redmine/projects/numi-beam/wiki/NuMI_beamline_documentation
73 42 Robert Hatcher
74 30 Raphael Schroeter
h2. Task List
75 30 Raphael Schroeter
76 40 Raphael Schroeter
[[Task List#NumiSoft Tag Release|NumiSoft Tag Release]]
77 38 Raphael Schroeter
[[Task List#Geometry|Geometry]]
78 38 Raphael Schroeter
[[Task List#DK2NU|DK2NU]]
79 38 Raphael Schroeter
[[Task List#FluxReader|FluxReader]]
80 47 Robert Hatcher
81 47 Robert Hatcher
----
82 47 Robert Hatcher
83 47 Robert Hatcher
{{collapse(View wiki structure...)
84 47 Robert Hatcher
  bq. {{child_pages}}
85 47 Robert Hatcher
}}