Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make running doAll_Zp more flexible and setup for condor jobs #57

Merged
merged 18 commits into from
Sep 19, 2022

Conversation

VourMa
Copy link
Collaborator

@VourMa VourMa commented Aug 17, 2022

This PR adds command line arguments to doAll_Zp and includes a wrapper for running it. The wrapper can be used locally but can also be the basis for running on batch.

  • cpp/runOutput_Zp.sh = Wrapper for running locally, taking at least 7 arguments:
  1. Output directory
  2. Year (also "all")
  3. Run data
  4. Run bkg MC
  5. Run signal MC
  6. Run BFF signal MC
  7. Run specific sample (also "all" and should agree with the previous 4 flags)
  8. Run variations (check doAll_Zp function definition for details)
  • utils/condor/create_package.sh = Script to package the working directory into a tarball to be sent to condor nodes.

  • utils/condor/test_package.sh = Script to test the packaged locally.

  • utils/condor/runOutput_Zp_onCondor.sh = Wrapper for running on condor, creating the tarball file and the needed output directories, then submitting the condor jobs. It takes 1 argument:

  1. Name of output directory
  • utils/condor/runOutput_Zp_onCondor.sub = Condor submit file, including the list of jobs to be run (arguments for the cpp/runOutput_Zp.sh script).

  • utils/condor/condor_executable.sh = Script to be run on the condor nodes.

IMPORTANT NOTES:

  • The scripts above use the CMSSW_BASE environmental variable, so it is important to have cmsenved in the CMSSW area under the ZPrime directory.
  • For submitting the jobs on condor, the x509userproxy needs to have been set. Please export X509_USER_PROXY=/absolute/path/to/proxy/location before running.

Additionally, the option to run two more uncertainties was added:

  • Muon momentum resolution
  • Unclustered energy

@VourMa VourMa marked this pull request as ready for review August 24, 2022 16:47
@VourMa VourMa changed the title Make running doAll_Zp more flexible Make running doAll_Zp more flexible and setup for condor jobs Aug 24, 2022
@mmasciov mmasciov merged commit 2dd051d into main Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants