{"action":"created","issue":{"url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101","repository_url":"https://api.github.com/repos/cms-l1t-offline/cmssw","labels_url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101/comments","events_url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101/events","html_url":"https://github.com/cms-l1t-offline/cmssw/issues/101","id":118301753,"number":101,"title":"Develop a Working Recipe for Stage 2 (and Stage 1)","user":{"login":"mulhearn","id":5119251,"avatar_url":"https://avatars.githubusercontent.com/u/5119251?v=3","gravatar_id":"","url":"https://api.github.com/users/mulhearn","html_url":"https://github.com/mulhearn","followers_url":"https://api.github.com/users/mulhearn/followers","following_url":"https://api.github.com/users/mulhearn/following{/other_user}","gists_url":"https://api.github.com/users/mulhearn/gists{/gist_id}","starred_url":"https://api.github.com/users/mulhearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulhearn/subscriptions","organizations_url":"https://api.github.com/users/mulhearn/orgs","repos_url":"https://api.github.com/users/mulhearn/repos","events_url":"https://api.github.com/users/mulhearn/events{/privacy}","received_events_url":"https://api.github.com/users/mulhearn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-l1t-offline/cmssw/labels/URGENT","name":"URGENT","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":88,"created_at":"2015-11-23T00:41:06Z","updated_at":"2016-02-09T10:42:00Z","closed_at":null,"body":"Developing a recipe for running Stage-2 emulation for menu studies and HLT updates.\r\n\r\nThe topic branch for this task is here:\r\nhttps://github.com/cms-l1t-offline/cmssw/tree/l1t-dev-recipe-CMSSW_8_0_0_pre5\r\n\r\nThe most recent control plots from a small 10k run over zero bias are here:\r\nhttp://mulhearn.web.cern.ch/mulhearn/plots/recipe_latest/\r\n\r\nTo install and run do this:\r\n```\r\ncmsrel CMSSW_8_0_0_pre5\r\ncd CMSSW_8_0_0_pre5/src\r\ncmsenv\r\ngit cms-merge-topic cms-l1t-offline:l1t-dev-recipe-CMSSW_8_0_0_pre5\r\nscram b -j 8\r\ncmsRun L1Trigger/L1TCommon/test/reEmul.py\r\ncmsRun L1Trigger/L1TCommon/test/reEmul.py era=stage1\r\n```\r\nTo generate some basic rate and kinematic plots do:\r\n```\r\ncmsRun L1Trigger/L1TCommon/test/reEmul.py  max=1000\r\nroot -b -q -x L1Trigger/L1TCommon/macros/rates.C\r\nroot -b -q -x L1Trigger/L1TCommon/macros/kin.C\r\n```\r\nrunL1T runs the L1T emulators on digis, and writes L1TNtuple.\r\nrunStandardSequences runs the L1T emulators, the DigiToRaw, and RawToDigi standard sequences.\r\n\r\nreEmul.py unpacks the inputs to L1T, re-emulates with Stage-1 or Stage-2 (depending on which era you select on the command line) and fills the L1TNtuple.  See the file for other examples and limitations.\r\n\r\nThe macros demonstrate basic rate calculations and kinematic plots.  It was written in most cases to use the hardware values, but you should now be able to use the corresponding physical values with no scale factor instead (update underway).\r\n\r\nTo update your working area, do\r\n````\r\ngit remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git\r\ngit pull  cms-l1t-offline l1t-dev-recipe-CMSSW_8_0_0_pre5\r\nscram b -j 8\r\n````\r\nBut take care that recent updates have introduced dependencies on external packages (see detailed note below) so it may be necessary (if you find your code is crashing) to do:\r\n```\r\ngit cms-checkdeps -a\r\n```\r\nand recompile.\r\n\r\nTo check on recent commits to the recipe branch, look here:\r\nhttps://github.com/cms-l1t-offline/cmssw/commits/l1t-dev-recipe-CMSSW_8_0_0_pre5\r\n\r\nThe current muon development branch:\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-muon-pass2-CMSSW_8_0_0_pre5\r\nis synced for:\r\n - everything up to 3d4ac926e29decc79a223903bf546742dad0b61e\r\n\r\nThe calo stage-2 development branch is now in 80x to make use of 1x1 TPs currently in 80x only.  Therefore, only a subset of commits in this (obsolete) branch:\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-calostage2-pass2-CMSSW_8_0_0_pre4\r\nare actually be included in the recipe, and they are listed here:\r\n - everything up until 6d65a08a83302323ad3c5172bd7230e38331bfde plus\r\n - a6d96ceb185f6be83696d28927b2708d8e318c2e\r\n - 4c60b2cecac26eef6f195a7935437e8187e8039e\r\n - d043d2adc51a5e0816f5605e9533392c298ed56e\r\n - b2e40ceb09a8f8f6f619a7cb899b88449136b4dc\r\n - a629ddae7085d4cf91660c513cbdf01297ba3d36\r\n\r\nCalo Stage 2 development work is now continuing on \r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-calostage2-CMSSW_8_0_0_pre5\r\n\r\nFrom https://github.com/cms-l1t-offline/cmssw/tree/l1t-calostage2-CMSSW_7_6_0:\r\n  - 3bff4a1f7da1f78a62a485a3bdaee246a29bd975\r\n  - d7e6894266a43aa22d43d9eae7c947de9af968c3\r\n\r\nThe updates to L1TGlobal in:\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-global-CMSSW_8_0_X_2016-01-29-2300 (critical updates)\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-global-CMSSW_8_0_0_pre5 (development branch)\r\nrely on a new UTM library and will not be integrated with dev-recipes until pre6.\r\n"},"comment":{"url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/comments/181810504","html_url":"https://github.com/cms-l1t-offline/cmssw/issues/101#issuecomment-181810504","issue_url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101","id":181810504,"user":{"login":"gennai","id":5664649,"avatar_url":"https://avatars.githubusercontent.com/u/5664649?v=3","gravatar_id":"","url":"https://api.github.com/users/gennai","html_url":"https://github.com/gennai","followers_url":"https://api.github.com/users/gennai/followers","following_url":"https://api.github.com/users/gennai/following{/other_user}","gists_url":"https://api.github.com/users/gennai/gists{/gist_id}","starred_url":"https://api.github.com/users/gennai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gennai/subscriptions","organizations_url":"https://api.github.com/users/gennai/orgs","repos_url":"https://api.github.com/users/gennai/repos","events_url":"https://api.github.com/users/gennai/events{/privacy}","received_events_url":"https://api.github.com/users/gennai/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T10:42:00Z","updated_at":"2016-02-09T10:42:00Z","body":"Sounds good,\r\nanyway from a complete new area and a new machine, it works now.\r\n\r\nSorry for the false alarm.\r\n\r\nBest,\r\nS.\r\nIl giorno 09 feb 2016, alle ore 11:38, mulhearn <notifications@github.com<mailto:notifications@github.com>> ha scritto:\r\n\r\n\r\nShould be few hours... essentially as soon as I get a chance.\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/cms-l1t-offline/cmssw/issues/101#issuecomment-181809182>.\r\n\r\n"}}