Skip to content

Andrej-CMS/privateMCproduction

 
 

Repository files navigation

privateMCproduction

Private MC production for CMS

Requirements

  • CMSSW environment
  • Sufficient storage space -- either local or on a grid site
  • Optional access to grid and crab scripts

Receipt for LHEGEN level production

  1. Clone this repository to any folder
  2. Open the trancheprivateproduction.sh script contained in the folder
  3. Adjust the first four parameters until "Do not change anything behind this line" according to your local setup.
  4. NUMBEREVENTS: Defines how many events you want to produce
  5. WORKDIR: Defines in which directory CMSSW installation is set up and where in local production events are stored
  6. GRIDPACKLOC: Defines which gridpack is used, you can choose the Powheg ttbar, semileptonic decay or Powheg ttbar, dileptonic decay gridpack.
  7. USECRAB: False means local production, True results in crab submission
  8. Additional step for crab submission: Check and modify crabconfig_draft.py script:
  9. config.Site.storageSite: Set your grid storage site, e.g. 'T2_DE_DESY' for german users
  10. config.User.voGroup: If you a non-german user, you should comment out this section.
  11. Start the production via ./trancheprivateproduction.sh

Notes

  • The current settings are optimized for a grid submission during which you should produce roughly 400k events per day.
  • If you would like to use other gridpacks, contact me first since the python config file has to be updated then.

Overview of files in framework

  • trancheprivateproduction.sh: Main steering script. Only script which should be edited by user.
  • run_generic_tarball_cvmfs.sh: Generic script to produce LHE events out of gridpacks
  • pythonLHEGEN_cfg_draft.py: CMSSW python run script
  • crabconfig_draft.py: Crab submission script, can be adjusted by user.

About

Private MC production for CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 67.4%
  • Shell 32.6%