From 0508ce42e7267022bc3eb7c173d02e8654d7bf46 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 20 Jan 2020 16:57:06 -0600 Subject: add some comments to analyze-genie-mc --- utils/analyze-genie-mc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'utils/analyze-genie-mc') diff --git a/utils/analyze-genie-mc b/utils/analyze-genie-mc index 7fdb948..92fdd92 100755 --- a/utils/analyze-genie-mc +++ b/utils/analyze-genie-mc @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # Copyright (c) 2019, Anthony Latorre # # This program is free software: you can redistribute it and/or modify it @@ -13,6 +13,21 @@ # # You should have received a copy of the GNU General Public License along with # this program. If not, see . +""" +Very simple script to analyze GENIE MC to estimate the expected event rate from +atmospheric neutrino events before and after different cuts. To run it simply +pass the filename of a GENIE ntuple file: + + $ ./analyze-genie-mc mc_atm_nu_genie_010000_0.gst.root + +Note: The input files should be in the GENIE "ntuple" format which you can +create by using the gntpc utility. For example: + + $ gntpc -i /sno/output/d2o-leta/mc_atmospherics/atmospheric_neutrinos_genie/root/mc_atm_nu_genie_010000_0.root -f gst + +will create a new file mc_atm_nu_genie_010000_0.gst.root in the current working +directory in the ntuple file format. +""" import ROOT import numpy as np -- cgit