Ricochet: Difference between revisions

From LZ Computing
Jump to navigation Jump to search
Line 38: Line 38:


===SUMMARY OF STEPS FOR EVERY LOGIN SESSION===
===SUMMARY OF STEPS FOR EVERY LOGIN SESSION===
cd /afs/hep.wisc.edu/ddm/ratcage

source env.sh
=== Set up Environment ===
Note: The sourcing of env.sh only has to be done '''once per login session'''.







Revision as of 00:14, 11 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 - Run 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/geant4.10.01.p02-build/InstallTreeFiles/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

SUMMARY OF STEPS FOR EVERY LOGIN SESSION

cd /afs/hep.wisc.edu/ddm/ratcage
source env.sh

Note: The sourcing of env.sh only has to be done once per login session.


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