MiT-HEP / MonoX

Common repository for mono-X searches
1 stars 8 forks source link

Parallelization of makeJson.py #7

Closed dabercro closed 8 years ago

dabercro commented 8 years ago

This pull request is mostly for an example of running makeJson.py in parallel. MonoX/common/parallelMakeJson.sh is the main script, with the directory to run over as the argument. @yiiyama feel free to change things to your liking, such as making the paths more generic. (I couldn't figure out to use wildcards.)

A test on SingleElectron+Run2015D-PromptReco-v3+AOD gives 0.575/fb recorded luminosity. I think that looks about right.

yiiyama commented 8 years ago

I'm cool with the scripts, but did you actually want to bundle all the other updates with this PR? Just worried that merging this might do something unintended.

dabercro commented 8 years ago

The selectionCuts.py was just something I was using for plotting before because I was too lazy to make PYTHONPATH point somewhere else. I figured I should take that out of common. All the other things are in monojet and worked earlier this week. They are even more significantly changed on my current working branch. I would be very surprised if the other changes cause anything to break (I generally don't commit to master unless in the middle of working or if everything runs), but they are already obsolete anyway.