{"action":"created","issue":{"url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101","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":59,"created_at":"2015-11-23T00:41:06Z","updated_at":"2016-01-28T15:18:58Z","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_7_6_0\r\n\r\nTo install and run do this:\r\n```\r\ncmsrel CMSSW_7_6_0\r\ncd CMSSW_7_6_0/src\r\ncmsenv\r\ngit cms-merge-topic cms-l1t-offline:l1t-dev-recipe-CMSSW_7_6_0\r\nscram b -j 8\r\ncmsRun L1Trigger/L1TCommon/test/runL1T.py\r\ncmsRun L1Trigger/L1TCommon/test/runStandardSequences.py\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_7_6_0\r\nscram b -j 8\r\n````\r\nTo check on recent commits to the recipe branch, look here:\r\n```\r\nhttps://github.com/cms-l1t-offline/cmssw/commits/l1t-dev-recipe-CMSSW_7_6_0\r\n```\r\n\r\nLimitations at the moment are only packing/unpacking related:\r\n - Stage-2 GT packer not included. (Fixed)\r\n - Stage-2 Calo Layer-2 packing/unpacking not working in standard sequence. (Fixed)\r\n - Something wrong with rawDataCollector (Fixed)\r\n\r\nThe current muon development branch:\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-muon-CMSSW_8_0_0_pre5\r\nis synced up to bc11c05818a83a89952f48b8df2be602603b4d5e.\r\n(The remaining last two commits broke tests...)\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 branch:\r\n   https://github.com/cms-l1t-offline/cmssw/tree/l1t-calostage2-pass2-CMSSW_8_0_0_pre4\r\nwill 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\nFrom https://github.com/cms-l1t-offline/cmssw/tree/l1t-calostage2-CMSSW_7_6_0:\r\n  - 3bff4a1f7da1f78a62a485a3bdaee246a29bd975\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/comments/176231789","html_url":"https://github.com/cms-l1t-offline/cmssw/issues/101#issuecomment-176231789","issue_url":"https://api.github.com/repos/cms-l1t-offline/cmssw/issues/101","id":176231789,"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},"created_at":"2016-01-28T15:18:58Z","updated_at":"2016-01-28T15:18:58Z","body":"It seems I missed this commit for Taus:  3bff4a1f7da1f78a62a485a3bdaee246a29bd975\r\nIn now, apologies for the oversight..."}}