Giter Club home page Giter Club logo

madgraphcardsforcmssw's Introduction

MadGraph Gridpack Producer For CMSSW

This program contains input cards for MadGraph (more specifically, MadGraph5_aMC@NLO) and programs that use these cards to produce gridpacks for Monte Carlo production in CMSSW. For a more complete and update date gridpack generator that can use programs other than MadGraph, please refer to https://github.com/cms-sw/genproductions/tree/pre2017 and for more in detail instructions and documentation, please refer to https://twiki.cern.ch/twiki/bin/viewauth/CMS/QuickGuideMadGraph5aMCatNLO

Instructions

These programs should be run on CERN's lxplus or Fermilab's lpc. Gridpacks must be created outside of CMSSW and without the cmsenv. For an example on how to use these gridpacks to produce root files, please see https://github.com/bregnery/hhMCgenerator

Installation

To obtain these programs, simply clone this git repository

git clone https://github.com/bregnery/MadGraphCardsForCMSSW

Gridpack Generation

To generate a gridpack, first update permissions to run shell scripts

chmod u+x gridpack_generation.sh

Then, update gridpack_generation.sh to make sure all fifo pipes are directed to /tmp directory. Next, generate a gridpack using the desired data cards

./gridpack_generation.sh <name of process card without _proc_card.dat> <folder containing cards relative to current location>

For example,

./gridpack_generation.sh Radion_hh_WWWW_jets_narrow_M3500 cards/Radion_hh_WWWW_jets_narrow_M3500/

Using Cluster to Create Gridpacks

To submit jobs on lxplus and store them locally, use the submit_gridpack_generation_local.sh

./submit_gridpack_generation_local.sh <memory> <queue for master job> <name of process card without _proc_card.dat> <folder containing cards relative to current location> <queue>

For example,

./submit_gridpack_generation_local.sh 15000 2nw Radion_hh_WWWW_jets_narrow_M3500 cards/Radion_hh_WWWW_jets_narrow_M3500/ 8nh

Creating/Editing Data Cards

When creating or editing data cards, make sure to create four cards with the name as your repository.

<repository>_proc_card.dat
<repository>_run_card.dat
<repository>_customizecards.dat
<repository>_extramodels.dat

Make sure to less models needed in extra models if running beyond Standard Model. Number of events is listed listed in run_card.dat. When using the gridpacks DO NOT generate more events than what is listed in run_card.dat.

madgraphcardsforcmssw's People

Contributors

bregnery avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.