Ricochet: Difference between revisions

From LZ Computing
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:


== RAT for Ricochet ==
== RAT for Ricochet ==
1. '''Install Prerequisites''' - Before downloading RAT, make sure you [https://github.com/rat-pac/rat-pac/blob/master/doc/installation.rst '''install the software packages in this order'''].


2. '''Download RAT''' - By running git clone in your working directory. This puts RAT in a new directory called rat.


3. '''Set up ROOT and GEANT4 by sourcing their respective environment scripts'''
=== Before Downloading ===
::*$ROOTSYS/bin/thisroot.sh and $G4INSTALL/bin/geant4.sh <br>
Before downloading RAT, make sure that you have the following software packages installed and it is done in this order

#
4.'''Run the following commands in the rat directory to build RAT'''
# Run configure script<br>./configure
# Setup Environment<br>source env.sh
# Compile<br>scons


=== Set up Environment ===
=== Set up Environment ===

Revision as of 23:59, 10 June 2017

The instructions on this page assume that you already have a local computing account; if not, see First Steps for New Users.

Getting Started

The following Ricochet accounts are needed

Slack

Please contact Kim Palladino to send you an invitation to join Ricochet on Slack.

Basecamp

Sign in here.

Ricochet email list from MIT

Reading list

Coherent Neutrino Scattering with Low Temperature Bolometers at Chooz Reactor Complex.
J.Billard (Lyon, IPN) et al..  Dec 25, 2016.  13 pp.
e-Print: arXiv:1612.09035 [physics.ins-det] https://arxiv.org/pdf/1612.09035.pdf
Sterile Neutrinos, Coherent Scattering and Oscillometry Measurements with Low-temperature Bolometers.
Joseph A. Formaggio, E. Figueroa-Feliciano, A.J. Anderson (MIT, LNS).  Jul 2011.  14 pp.
Published in Phys.Rev. D85 (2012) 013009.
e-Print: arXiv:1107.3512 [hep-ph] https://arxiv.org/pdf/1107.3512.pdf


RAT for Ricochet

1. Install Prerequisites - Before downloading RAT, make sure you install the software packages in this order.

2. Download RAT - By running git clone in your working directory. This puts RAT in a new directory called rat.

3. Set up ROOT and GEANT4 by sourcing their respective environment scripts

  • $ROOTSYS/bin/thisroot.sh and $G4INSTALL/bin/geant4.sh

4.Run the following commands in the rat directory to build RAT

# Run configure script
./configure # Setup Environment
source env.sh # Compile
scons

Set up Environment

Download

Download RAT from GitHub


Example testCfneutrons.mac

# Set environment variables with
source /afs/hep.wisc.edu/ddm/ratcage/env.sh # The neutron detector at the MIT reactor geometry is at
cd /afs/hep.wisc.edu/ddm/ratcage/rat/data/Ricochet/NCD_MITR.geo
# and other info is in the /data directory (MATERIALS, SPECTRUM, ELEMENTS) # Run the macro example by typing
rat testCfneutrons.mac
# You will see an output root file and it is useful to make a ROOT program to make histograms from it # To see the outcome plots, you need to execute makeNeutronPlotsNCD.C # Follow these commands root -l root[0] .L makeNeutronPlotsNCD.C+ root[1] makeNeutronPlotsNCD("testNeutronCf.root","histTestneutronCfNew.root")

You can learn a lot about a ROOT file with the TBrowser() but it's all listed in https://deapclean.org/rat/trac/wiki/UserGuide/DataStructure/MC

Useful RAT info