{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/genproductions/issues/569","labels_url":"https://api.github.com/repos/cms-sw/genproductions/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/genproductions/issues/569/comments","events_url":"https://api.github.com/repos/cms-sw/genproductions/issues/569/events","html_url":"https://github.com/cms-sw/genproductions/pull/569","id":98105470,"number":569,"title":"Enabling powheg + madspin","user":{"login":"maierbenedikt","id":6848384,"avatar_url":"https://avatars.githubusercontent.com/u/6848384?v=3","gravatar_id":"","url":"https://api.github.com/users/maierbenedikt","html_url":"https://github.com/maierbenedikt","followers_url":"https://api.github.com/users/maierbenedikt/followers","following_url":"https://api.github.com/users/maierbenedikt/following{/other_user}","gists_url":"https://api.github.com/users/maierbenedikt/gists{/gist_id}","starred_url":"https://api.github.com/users/maierbenedikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maierbenedikt/subscriptions","organizations_url":"https://api.github.com/users/maierbenedikt/orgs","repos_url":"https://api.github.com/users/maierbenedikt/repos","events_url":"https://api.github.com/users/maierbenedikt/events{/privacy}","received_events_url":"https://api.github.com/users/maierbenedikt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-30T07:49:20Z","updated_at":"2015-08-03T16:48:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cms-sw/genproductions/pulls/569","html_url":"https://github.com/cms-sw/genproductions/pull/569","diff_url":"https://github.com/cms-sw/genproductions/pull/569.diff","patch_url":"https://github.com/cms-sw/genproductions/pull/569.patch"},"body":"Modified are:\r\n\r\n1.) the create_powheg_tarball.sh: if a madspin_card.dat and a proc_card.dat are lying in the directory from which the script is executed, they are copied into the final tarball. A link to how a proc_card should look like is given in the script as well. (The folder does not exist yet, but is part of this pull request.)\r\n\r\n2.) the runcmsgrid_powheg.sh: if it detects the madspin_card, it will at the end download MadGraph v2.2.2, splice the proc_card into the header of the cmsgrid_final.lhe and run MadSpin on it.\r\n\r\nOpen questions:\r\n- The runcmsgrid_powheg.sh does not apply/download the patches for MG that are downloaded in the gridpack_generation.sh. Is this a problem? I understood that the patches were there for correct submission of jobs to the cluster (which might not be relevant here), and for editing some models. It could be that for instance for ttbar in the 5F, the appropriate model would be \"loop_sm-ckm_no_b_mass\", which is a customized model, isnt it? This would not be there then. Maybe it is easy to apply the patches here too?\r\n- Do we want the madspin option also for runcmsgrid_powheg_hdampgrid.sh and runcmsgrid_powhegjhugen.sh?\r\n- I tested it with 10 events, and the time needed for the creation of the final cmsgrid_final.lhe increases by ~50% compared to the case without the application of madspin, mostly because it takes some time to compile. This 50% should be reduced however once one goes to ~1000 events: The time for compiling stays the same, while decaying one event is quicker than generating+reweighting it. So I guess it is still justifiable.\r\n\r\n\r\nIf you want to see how it works, here is a tarball:\r\n\r\n/afs/cern.ch/work/b/bmaier/public/ST_tch_antitop_4f_ckm_13TeV-powhegV2_tarball.tar.gz\r\n\r\nJust do: \r\n\r\n./runcmsgrid.sh 10 123 1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cms-sw/genproductions/issues/comments/127328929","html_url":"https://github.com/cms-sw/genproductions/pull/569#issuecomment-127328929","issue_url":"https://api.github.com/repos/cms-sw/genproductions/issues/569","id":127328929,"user":{"login":"bendavid","id":4920798,"avatar_url":"https://avatars.githubusercontent.com/u/4920798?v=3","gravatar_id":"","url":"https://api.github.com/users/bendavid","html_url":"https://github.com/bendavid","followers_url":"https://api.github.com/users/bendavid/followers","following_url":"https://api.github.com/users/bendavid/following{/other_user}","gists_url":"https://api.github.com/users/bendavid/gists{/gist_id}","starred_url":"https://api.github.com/users/bendavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendavid/subscriptions","organizations_url":"https://api.github.com/users/bendavid/orgs","repos_url":"https://api.github.com/users/bendavid/repos","events_url":"https://api.github.com/users/bendavid/events{/privacy}","received_events_url":"https://api.github.com/users/bendavid/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T16:48:48Z","updated_at":"2015-08-03T16:48:48Z","body":"Because then reproducibility cannot be guaranteed if the underlying web server changes.\r\n(Plus this has the danger that thousands of production jobs could hammer the webserver)\r\n\r\n"}}