aboutsummaryrefslogtreecommitdiff
path: root/utils/dc-closure-test
AgeCommit message (Collapse)Author
2021-01-05get rid of --nhit-threshtlatorre
2021-01-05add --fast argument to dm-searchtlatorre
2021-01-05hack to get rid of flasher and muon events in breakdown sampletlatorre
2020-11-16don't apply retrigger cut to MCtlatorre
2020-11-16loop over MC filenamestlatorre
2020-11-01don't apply nhit trigger cut to MCtlatorre
2020-08-31add estimate_errors to chi2 analysistlatorre
This commit updates the estimate_errors() function so that it works without a list of constraints and uses arrays of low and high bounds passed in instead of hardcoded constraints. I can now call this function from the chi2 analysis to get the stepsizes before running the MCMC.
2020-08-30don't sample more instrumentals than there are in the datatlatorre
2020-08-30update dc scriptstlatorre
- delete instrumental tags in both scripts since we already tag them in get_events() - apply the same cuts to the MC as to the data - add a comment about the fitted fraction - quit if we don't have at least 1 type of each instrumental
2020-07-27add 20 MeV cut to dc, dc-closure-test, and plot-dctlatorre
2020-07-27loop over runs in dc, dc-closure-test, and plot-dc to prevent using too much ↵tlatorre
memory
2020-06-14update dc and dc-closure-test to take into account fitted fraction of ↵tlatorre
instrumentals This commit updates the contamination analysis scripts to take into account the fact that we only fit a fraction of some of the instrumental events. Based on the recent rate at which my jobs have been running on the grid, fitting all the events would take *way* too long. Therefore, I'm now planning to only fit 10% of muon, flasher, and neck events. With this commit the contamination analysis will now correctly take into account the fact that we aren't fitting all the instrumental events.
2020-06-02update contamination closure test scripttlatorre
- print out mean acceptance fraction and autocorrelation time - print standard normal distribution pdf with pull plot histograms
2020-05-31update contamination analysis step sizetlatorre
This commit updates the step size used for the MCMC in the contamination analysis to 0.5 times the error returned by scanning near the minimum. I ran some tests and this seemed to be pretty efficient compared to either the full error or 0.1 times the error. I also reduced the number of workers to 10.
2020-05-25update contamination analysis stufftlatorre
- fix Constraint.renormalize_no_fix() which could enter an infinite loop if the fixed parameter was greater than 1 - EPSILON - don't divide by psi twice in get_events() - only use prompt events and cut on nhit_cal < 100
2020-05-12add a script to do a closure test on the contamination analysistlatorre