Project

General

Profile

How to use CAFAna

Check out and build for the first time

From a dunegpvmXX.fnal.gov machine:

git clone https://${MY_GITHUB_USERNAME}@github.com/DUNE/lblpwgtools.git
cd lblpwgtools/code/CAFAna
./checkout.sh
source setup.sh

Start by reading tute/demo0.C and then execute it with cafe tute/demo0.C. See the tutorial videos below for further explanations.

  • If you omit the github username you can still checkout, but will need more contortions to push back to the repository
  • Next time you log in, just cd to the directory and source the setup script
  • The setup script currently prints a variety of warnings which are harmless
  • If you change any CAFAna compiled code, simply type make in the CAFAna/ directory to update the build

If you have SL6 and CVMFS locally these instructions also work offsite, but you will need to copy the CAF files locally and adjust the paths in the macros.

Tutorial videos

Covering demo0.C to demo3.C (basic plotting and fitting):
https://youtu.be/odecD0pCvLg

Covering demo4.C to demo7.C (systematics):
https://youtu.be/QfvCkzbzrEQ

Other resources

Join #cafana on slack

Talks on CAFAna:
https://indico.fnal.gov/event/10641/contribution/192
https://indico.fnal.gov/event/14227/contribution/1
https://indico.fnal.gov/event/14362/contribution/2
https://indico.fnal.gov/event/14477/contribution/11
https://indico.fnal.gov/event/12345/contribution/85
https://indico.fnal.gov/event/13293/contribution/87
https://indico.fnal.gov/event/15686/contribution/20

NOvA documentation is in general still applicable to DUNE:
https://cdcvs.fnal.gov/redmine/projects/novaart/wiki/CAFAna_overview
https://cdcvs.fnal.gov/redmine/projects/novaart/wiki/CAFAna_systematics
http://nusoft.fnal.gov/nova/novasoft/doxygen/html/namespaceana.html