RUNNING NuWro. Cezary Juszczak. Institute for Theoretical Physics, University of Wrocław pl. M. Borna 9, Wrocław, Poland

Similar documents
HADRON PRODUCTION IN WROCŁAW NEUTRINO EVENT GENERATOR

arxiv: v1 [hep-ex] 30 Nov 2009

PRELIMINARY RESULTS OF NEUTRINO INTERACTIONS STUDY USING GENIE EVENT GENERATOR *

NEUTRINO ENERGY RECONSTRUCTION IN NEUTRINO-NUCLEUS INTERACTIONS

DIS/Hadronization. Jarek Nowak

Charged Current Quasielastic Analysis from MINERνA

arxiv:hep-ph/ v1 29 Dec 2005

Many-Body Theory of the Electroweak Nuclear Response

The Study of ν-nucleus Scattering Physics Interplay of Cross sections and Nuclear Effects

Why understanding neutrino interactions is important for oscillation physics

Neutrino Event Tagging Based On Nucleon Energy Spectra

Neutrino Cross Sections and Scattering Physics

Camillo Mariani Center for Neutrino Physics, Virginia Tech

Z 0 Resonance Analysis Program in ROOT

Neutrino-Nucleus Scattering at MINERvA

arxiv: v1 [nucl-ex] 7 Sep 2009

Quasi-Elastic Scattering in MINERvA

DYRes: version Introduction

Neutrino-Nucleus Interactions and Oscillations

Neutrino interaction at K2K

Study of Strange Quark in the Nucleon with Neutrino Scattering

A few words by Arie Bodek - University of Rochester

Introduction to Neutrino Interaction Physics NUFACT08 Summer School June 2008 Benasque, Spain Paul Soler

Recent Developments in Geant4 Hadronics. Geant4/Spenvis Workshop at JPL 6 November 2006 Dennis Wright

PoS(NOW2016)003. T2K oscillation results. Lorenzo Magaletti. INFN Sezione di Bari

MINOS. Luke A. Corwin, for MINOS Collaboration Indiana University XIV International Workshop On Neutrino Telescopes 2011 March 15

Effective spectral function for quasielastic scattering on nuclei

Neutrino interactions and cross sections

Neutrino Interaction Physics for Oscillation Analyses

Neutrino Shadow Play Neutrino interactions for oscillation measurements

CHARGED AND NEUTRAL CURRENT NEUTRINO INDUCED NUCLEON EMISSION REACTIONS

Neutrino Cross Section Measurements for Long-Baseline Acceleratorbased Neutrino Oscillation Experiments

Recent Developments in Geant4 Hadronic Physics

O problemach z opisem produkcji pionów w oddziaªywaniach neutrin

The Neutron Structure Function from BoNuS

PHOKHARA version 9.1

Tina Leitner Oliver Buß, Ulrich Mosel und Luis Alvarez-Ruso

SHiP: a new facility with a dedicated detector for neutrino physics

Neutrino-Nucleus Interactions. Ulrich Mosel

GENIE models and global fits of neutrino scattering data

DYNNLO version Introduction

Chapter V: Interactions of neutrons with matter

arxiv: v1 [hep-ph] 19 Aug 2009

Neutrino Responses and the Long Baseline Program

QCD cross section measurements with the OPAL and ATLAS detectors

Long Baseline Neutrinos

Single π production in MiniBooNE and K2K

Quasi-Elastic Cross Sections Pittsburgh Neutrino Flux Workshop

Hadronization model. Teppei Katori Queen Mary University of London CETUP neutrino interaction workshop, Rapid City, SD, USA, July 28, 2014

ECT GENIE FSI overview. Trento 13 July, GENIE FSI strategy features comparisons looking to future

Jan T. Sobczyk. (in collaboration with K. Niewczas, T. Golan, C. Juszczak) (many discussions with Rik Gran) INT Workshop, March 5, 2018

Nuclear effects on the determination of neutrino oscillation parameters

MBR Monte Carlo Simulation in PYTHIA8

Particles and Deep Inelastic Scattering

Weak interactions. Chapter 7

GEANT4 HADRONIC PHYSICS

Status of Neutrino Cross Sections

Results obtained with nuclear models of Geant4 in IAEA Benchmark of Spallation

Geant Hadronic Physics I. Geant4 Tutorial at Lund University. 6 September 2018 Dennis Wright

High Energy Physics. Lecture 9. Deep Inelastic Scattering Scaling Violation. HEP Lecture 9 1

Meson Exchange Current (MEC) model in Neutrino Interaction Generator

INCL INTRA-NUCLEAR CASCADE AND ABLA DE-EXCITATION MODELS IN GEANT4

Photonuclear Reaction Cross Sections for Gallium Isotopes. Serkan Akkoyun 1, Tuncay Bayram 2

arxiv: v1 [hep-ex] 18 Jul 2016

Determining Strangeness Quark Spin in Neutrino-Nucleon Scattering at J-PARC

Neutron Interactions Part I. Rebecca M. Howell, Ph.D. Radiation Physics Y2.5321

NUCLEAR EFFECTS IN NEUTRINO STUDIES

Nuclear effects in neutrino scattering

Quasi-elastic scattering, either with neutrinos or with anti-neutrinos, provides

Outline. Charged Leptonic Weak Interaction. Charged Weak Interactions of Quarks. Neutral Weak Interaction. Electroweak Unification

Search for Neutron Antineutron Oscillations at Super Kamiokande I. Brandon Hartfiel Cal State Dominguez Hills May

Resolving the axial mass anomaly

arxiv: v2 [physics.ins-det] 24 Jun 2016

The Development of Particle Physics. Dr. Vitaly Kudryavtsev E45, Tel.:

OUTLINE. CHARGED LEPTONIC WEAK INTERACTION - Decay of the Muon - Decay of the Neutron - Decay of the Pion

R3B simulations status

Semi-inclusive neutrino-nucleus reactions

Heavy Ion Interactions. Beginners FLUKA Course

Ulrich Mosel TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAA

XI SERC School on Experimental High-Energy Physics NISER Bhubaneswar November 07-27, 2017 Event Generators Session

Upcoming features in Serpent photon transport mode

Heavy Ions Interactions. FLUKA Beginner s Course

Simulation Studies Toward the Search for Neutron Antineutron Oscillation

Error Budget in π + e + ν Experiment

SECOND PUBLIC EXAMINATION. Honour School of Physics Part C: 4 Year Course. Honour School of Physics and Philosophy Part C C4: PARTICLE PHYSICS

R. P. Redwine. Bates Linear Accelerator Center Laboratory for Nuclear Science Department of Physics Massachusetts Institute of Technology

Lecture 6-4 momentum transfer and the kinematics of two body scattering

Neutrino Cross Sections for (Future) Oscillation Experiments. Pittsburgh Flux Workshop December 7, 2012 Deborah Harris Fermilab

arxiv: v2 [nucl-th] 16 Jul 2018

Neutrino cross sections for future oscillation experiments

Decays and Scattering. Decay Rates Cross Sections Calculating Decays Scattering Lifetime of Particles

Improvements and developments of physics models in PHITS for radiotherapy and space applications

An Alternative Approach to the Extraction of Structure Functions in Deep Inelastic e-p Scattering at 5 to 20 GeV

Geant4 version 10.0.p01. Hadronic Physics I. Geant4 Tutorial: version 10.0.p01. Michael Kelsey, Wed 5 Mar 2014

Recent results from MINERvA

Interactions of Neutrinos. Kevin McFarland University of Rochester INSS 2013, Beijing 6-8 August 2013

Charged Current Inclusive Scattering in MINERnA

Tools for LHC. MadGraph/MadEvent. Ian-Woo Kim, Ji-Hun Kim. Seoul National University. SNU, Mar 31, 2007

Standard Model of Particle Physics SS 2013

Transcription:

Vol. 40 (2009) ACTA PHYSICA POLONICA B No 9 RUNNING NuWro Cezary Juszczak Institute for Theoretical Physics, University of Wrocław pl. M. Borna 9, 50-204 Wrocław, Poland (Received July 21, 2009) The NuWro Neutrino Event Generator developed by the Wrocław Neutrino Group (WNG) is lightweight but full featured. It handles all interaction types important in neutrino nucleus scattering as well as DIS hadronization and intranuclear cascade. Its input file, by default params.txt, is a plain text file and the output file, by default eventsout.root, is a root 1 file which can be analyzed by means of the included myroot program, or by standard root, after loading supplied dictionary library event1.so. PACS numbers: 13.15.+g 1. Installing NuWro NuWro is a neutrino event generator developed by the Wrocław Neutrino Group. It can be downloaded as a tar ball from: http://borg.ift.uni.wroc.pl/websvn/pub Alternatively, the subversion command: svn export svn://borg.ift.uni.wroc.pl/pub/nuwro can be used to create a directory nuwro containing the copy of the current NuWro sources. Then it should be enough to type: cd nuwro make to build the program, provided the root software configured with the Pythia6 library is installed on one s computer. Presented at the 45th Winter School in Theoretical Physics Neutrino Interactions: From Theory to Monte Carlo Simulations, Lądek-Zdrój, Poland, February 2 11, 2009. 1 root and rootcint are parts of the CERN software http://root.cern.ch/ and.root is the file extension of data files used and produced by the software. (2507)

2508 C. Juszczak 1.1. Installing root with Pythia6 Unfortunately the libpythia6.so library is not included in the root distribution. It must be downloaded and built separately before building root. It is best done by typing either build_pythia6.sh 2 gfortran or build_pythia6.sh g77 depending on which fortran compiler you have. The resulting libpythia6.so file should be placed in the lib directory of the root source tree 3. Then the root software should be configured and build with the following commands 4 issued in the root sources directory:./configure --with-pythia6-libdir= pwd /lib make To be able to run root from any location and compile root based programs like nuwro, the following lines should be added to one s.bash_profile 5 export ROOTSYS= path to directory where you made root export PATH=$PATH:$ROOTSYS/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib 2. Running Nuwro To run the program in the default mode type:./nuwro and to use non-default input and output type:./nuwro -i myinput.txt -o myoutput.root Any number of values of the parameters defined in the input file may be overwritten by values specified on the command line as follows:./nuwro -p "parname1=parvalue1" -p "parname2=parvalue2"... which is very useful when running nuwro in batch mode with changing parameter values and output locations. 2 build_pythia6.sh is a script by Robert Hatcher <rhatcher@fnal.gov> which can be downloaded from http://home.fnal.gov/ rhatcher/build_pythia6.sh.txt 3 Obtain root sources from http://root.cern.ch/drupal/content/downloading-root 4 Several libraries are needed to build root and Pythia6. Under Ubuntu 9.04 the following packages must be installed: g++, gfortran, libx11-dev, libxft-dev, x11proto-xext-dev, libxpm-dev, libxext-dev 5 For a system wide installation, a file root.sh consisting of these three lines should be placed in /etc/profile.d/ directory, instead. Under Ubuntu it is convenient to put them to.bashrc

Running NuWro 2509 NuWro input file All the parameters of the NuWro generator are read from a file, usually params.txt. The structure of this file is quite simple each line is either a comment (if it begins with #): # This is an example of a comment line or a substitution: parameter_name = parameter_value Parameter names coincide with the corresponding C++ variable names inside the program. Only four parameter types are used: int (integer number), double (floating point number), vec (3D vector initialized by three white space separated numbers) and string (stretches to the end of line). The meaning of the parameters is briefly explained and their possible values listed in the commented lines of the params.txt file itself. Let us summarize the meaning of the most important the parameters here. Basic parameters The test events are not stored in the output file, but the average of their weights becomes the total cross-section in each channel: number_of_test_events = 1000000 The number of unweighted events to be stored in the output is given by: number_of_events = 500000 The beam definition At present, only beams of identical neutrinos flying in the same direction are allowed. The beam direction coordinates x, y, z and neutrino PDG code must be specified e.g. beam_direction = 0 0 1 beam_particle = 14 The neutrino energy given in MeV can be either fixed e.g. beam_energy = 1000 or given as a histogram encoded in the sequence of numbers: E min, E max, n 1, n 2, n 3..., n k. beam_energy = 1000 4000 1 2 3 The number of beans k is inferred from the length of the sequence and the bean width is (E max E min )/k. Definitions of a few popular beams are included in the params.txt file and it is enough to uncomment the corresponding (sometimes very long) line to use one of them.

2510 C. Juszczak The target nucleus definition The target nucleus is defined by the following parameters: nucleus_p = 8 // number of protons nucleus_n = 8 // number of neutrons nucleus_density = 1 // 1 - constant, 2 - realistic density and the switch identifying the nucleus model to be used: nucleus_target = 1 with the following allowed values: 0 free nucleon; 1 Fermi gas; 2 local Fermi gas; 3 FG with Bodek Ritchie momentum distribution; 4 effective spectral function (carbon or oxygen); 5 deuterium. In cases where the Fermi Gas model is used it is possible to specify: nucleus_e_b = 27 // nucleon bounding Energy in MeV nucleus_kf = 225 // Fermi momentum in MeV Nonzero values of the switches: The physics effects switches dyn_qel_cc, dyn_res_cc, dyn_dis_cc, dyn_coh_cc, dyn_qel_nc, dyn_res_nc, dyn_dis_nc, dyn_coh_nc indicate that quasi elastic, resonant, deep inelastic, and coherent events should be generated. There are nc/cc variants to separately control generation of neural current and charge current events. The quasi-elastic cross-sections depend on the values of axial masses: qel_nc_axial_mass= 1030 qel_cc_axial_mass= 1100 //MeV //MeV and the choice of the form factors: qel_cc_vector_ff_set = 1 qel_cc_axial_ff_set = 1 // only 1 is possible // 1 - dipole form factors, // 2,3,4 - two-fold parabolic modifications By specifying a nonzero value of the parameters: flux_correction = 1 qel_relat = 1

Running NuWro 2511 the difference in neutrino flux between nucleon and nucleus frames is accounted for. Finally, running the cascade code with Pauli-blocking of the intermediate nucleons, is achieved by the lines: kaskada_on = 1 pauli_blocking = 1 Some parameters are not listed here because they are used only for testing nuwro and setting them to nondefault values would result in obtaining incorrect results. 3. Analysing the output The output of nuwro is a root file, usually eventsout.root. This file contains only one object treeout which is a TTree with a single branch e containing the event objects. The easiest way to access this file is by means of the myroot program:./myroot eventsout.root which is build together with nuwro. It is a version of root containing a dictionary for the class event and all its dependencies. Each event contains the following data: params parameters read from the input file and the command line, flags set of booleans (coh, qel, dis, res, nc, cc, anty) to easily filter events based on primary vertex interaction type, dyn integer identifying the dynamics used in the primary vertex, in, tmp, out, post, all are STL 6 vectors of particles (incoming, temporary, outgoing, post, and all the particles including the intermediate cascade particles), weight a number proportional to the cross-section. It has also a number of useful methods: q2(), s(), n(), W(), nof(), etc. A particle is a Lorentz four-vector with coordinates t, x, y, z denoting its energy and momentum components, supplied with is pdg code, mass, position four-vector r (used only by the cascade code) and some less important attributes. Several methods are added with self explanatory names like E(), Ek(), momentum(), v(),.... 6 STL stands for the C++ Standard Template Library.

2512 C. Juszczak By convention in[0] is always the beam particle and out[0] is the outgoing lepton. Thanks to the way the root interpreter handles STL vectors, that you can type out[0].t for the outgoing lepton energy, out.ek() for the energy of all outgoing particles and @out.size() for the number of outgoing particles (here out[0] stands for the first outgoing particle, out for any outgoing particle and @out for the whole vector of outgoing particles). The possibility to use native C++ methods from the root interpreter significantly simplifies the analysis. It is possible to obtain many interesting plots with just one command: treeout->draw("out.mass()"); // masses of outgoing particles, treeout->draw("n()"); // number of outgoing particles, treeout->draw("nof(111)","flag.dis*flag.cc"); // number of π 0 produced in deep inelastic charge current events, treeout->draw("out.momentum()","out.pdg==111"); // momenta of outgoing π 0, treeout->draw("all.r.x:all.r.y:all.r.z"); // places where the interactions took place in the cascade code, treeout->draw("q2()","flag.dis"); // proportional to dσ/dq 2 differential cross-section in the DIS channel. In more complicated cases it is possible to write a script or a root based C++ program to perform the analysis. It is also possible to add more methods to the particle and event classes. More information on NuWro can be found at http://wng.ift.uni.wroc.pl/nuwro REFERENCES [1] J.A. Nowak, PhD thesis (in Polish), Wrocław University, 2006, http://wng.ift.uni.wroc.pl/wng/papers/nowak_phd.ps [2] J.A. Nowak, Phys. Scr. T127, 70 (2006). [3] J.A. Nowak, J.T. Sobczyk, Acta Phys. Pol. B 37, 2371 (2006). [4] J. Sobczyk, NuWro Monte Carlo generator of neutrino interactions, in proceedings of the 10th International Workshop on Neutrino Factories, Super beams and Beta beams (NuFact08), PoS (NUFACT08) 141. [5] C. Juszczak, J.A. Nowak, J.T. Sobczyk, Nucl. Phys. B Proc. Suppl 159, 211 (2006).