aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2019-07-11switch from YAML output to HDF5 to speed things uptlatorre
2019-07-04small updates to plot-energytlatorre
- apply muon follower and muon cuts to atmospheric sample - print warnings in red - fix how events with fmin = nan are counted
2019-06-26update plot-energy scripttlatorre
Tidy up the code in the script by creating a function to plot the energy distributions for each particle combo. Also fixed a bug which was causing the neutron follower cut not to be applied.
2019-06-26plot Michel electrons and muons in plot-energytlatorre
This commit is a major update to the plot-energy script. The most significant changes are: - new prompt event selection We now define prompt events as any event >= 100 nhit which is at least 250 ms away from the last 100 nhit event. - add Michel electron event selection. Michel electrons are now selected as any event between 800 ns and 20 microseconds after a muon or prompt event. Additionally they are required to be >= 100 nhit and pass an extra set of data cleaning cuts (compared to the prompt events). - add an atmospheric "sideband" I also updated the script to plot the energy distribution and particle ID for all events that *do* have a neutron follower as a kind of sideband which should contain only atmospheric events. - plot muon energy spectrum and angular distribution
2019-06-24update plot-energy to apply neutron follower cuttlatorre
2019-06-24add a generator to simulate self destructing dark mattertlatorre
2019-06-24update plot-energy to apply data cleaning cutstlatorre
2019-06-20update cat-grid-jobs to use CDumper to speed things uptlatorre
2019-06-20fix cat-grid-jobs againtlatorre
2019-06-20delete print statementtlatorre
2019-06-20update cat-grid-jobs to work with zdab-cattlatorre
2019-06-20update zdab-cat to emit multiple YAML documentstlatorre
This commit updates zdab-cat to output each event as an individual YAML document. The advantage of this is that we can then iterate over these without loading the entire YAML document in submit-grid-jobs which means that we won't use GB of memory on the grid submission node.
2019-06-20update submit-grid-jobs to send stderr to /dev/nulltlatorre
2019-06-19update plot-energy to include ockham factortlatorre
2019-06-19update cat-grid-jobs to combine all events with fit resultstlatorre
This commit updates the cat-grid-jobs script to call zdab-cat on the zdab file first to get the data cleaning words and SNOMAN fitter results for every single event (regardless of if it's greater than 100 nhit for example), and then add the fit results from the grid jobs output.
2019-06-13add a data cleaning cut to tag incoming muonstlatorre
This commit adds a data cleaning cut to tag incoming muons by looking for early OWL hits. It also significantly updates the flasher cut to catch more flashers. In particular, the flasher cut now does the following: - loops over *all* paddle cards with at least 4 hits instead of just the paddle cards with the most hits - uses QLX to look for charge outliers in the paddle card - fixes a few bugs (for example, uninitialized values in the charge array) - adds a check to to see if the given slot is early with respect to all PMTs within 4 meters to catch the case where the flashing channel is missing from the event
2019-06-06update submit-grid-jobstlatorre
This commit updates submit-grid-jobs so that it keeps track of which files it's already submitted grid jobs for.
2019-06-05fix x labeltlatorre
2019-06-05try to import CLoader if possible since it's *much* fastertlatorre
2019-06-05add a script to plot the total energy of the best fit resulttlatorre
2019-06-02update cat-grid-jobs to sort output based on gtidtlatorre
2019-06-02use yaml.loader.SafeLoadertlatorre
2019-06-02fix another bug in submit-grid-jobstlatorre
2019-06-02use full path in submit-grid-jobstlatorre
2019-06-02update submit-grid-jobs to create a new directorytlatorre
2019-05-24add a script to concatenate output from grid jobstlatorre
2019-05-24add the template for condor submit files to submit-grid-jobstlatorre
2019-05-24add a script to submit jobs to the gridtlatorre
2019-05-14add --plot-likelihood option to fittlatorre
2019-03-26update plotting scripts to handle case when there is no fittlatorre
2019-03-16add GPLv3 licensetlatorre
2019-01-15update zebra library to be able to use linkstlatorre
This commit updates the zebra library files zebra.{c,h} so that it's now possible to traverse the data structure using links! This was originally motivated by wanting to figure out which MC particles were generated from the MCGN bank (from which it's only possible to access the tracks and vertices using structural links). I've also added a new test to test-zebra which checks the consistency of all of the next/up/orig, structural, and reference links in a zebra file.
2018-12-03update plottlatorre
2018-12-03add a goodness of fit parameter psi to the fittlatorre
2018-11-30update plot-fit-results to handle masked arrays properlytlatorre
2018-11-30rename plot.py -> plottlatorre
2018-11-25add a script to plot the fit results as a function of energytlatorre
2018-11-14update plot.py to plot the distribution of fit timestlatorre
2018-11-14update plot.pytlatorre
2018-11-14update plot.pytlatorre
2018-11-14update plot.py to plot the log likelihood ratiotlatorre
2018-11-14update yaml format to store fit results as a dictionary indexed by the ↵tlatorre
particle id
2018-10-22update plot.pytlatorre
2018-10-22update plot.py to plot the angular resolutiontlatorre
2018-10-11update plot.pytlatorre
- determine bin width using the Freedman Diaconis rule - print out error on the standard deviation
2018-10-03move python scripts into utils/ directorytlatorre