{"action":"closed","issue":{"url":"https://api.github.com/repos/UCATLAS/xAODAnaHelpers/issues/74","labels_url":"https://api.github.com/repos/UCATLAS/xAODAnaHelpers/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/UCATLAS/xAODAnaHelpers/issues/74/comments","events_url":"https://api.github.com/repos/UCATLAS/xAODAnaHelpers/issues/74/events","html_url":"https://github.com/UCATLAS/xAODAnaHelpers/issues/74","id":83570449,"number":74,"title":"make BTag cut configurable, and add decorations of btagging WP for ALL jets ","user":{"login":"mmilesi","id":12515122,"avatar_url":"https://avatars.githubusercontent.com/u/12515122?v=3","gravatar_id":"","url":"https://api.github.com/users/mmilesi","html_url":"https://github.com/mmilesi","followers_url":"https://api.github.com/users/mmilesi/followers","following_url":"https://api.github.com/users/mmilesi/following{/other_user}","gists_url":"https://api.github.com/users/mmilesi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilesi/subscriptions","organizations_url":"https://api.github.com/users/mmilesi/orgs","repos_url":"https://api.github.com/users/mmilesi/repos","events_url":"https://api.github.com/users/mmilesi/events{/privacy}","received_events_url":"https://api.github.com/users/mmilesi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UCATLAS/xAODAnaHelpers/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"johnda102","id":7108106,"avatar_url":"https://avatars.githubusercontent.com/u/7108106?v=3","gravatar_id":"","url":"https://api.github.com/users/johnda102","html_url":"https://github.com/johnda102","followers_url":"https://api.github.com/users/johnda102/followers","following_url":"https://api.github.com/users/johnda102/following{/other_user}","gists_url":"https://api.github.com/users/johnda102/gists{/gist_id}","starred_url":"https://api.github.com/users/johnda102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnda102/subscriptions","organizations_url":"https://api.github.com/users/johnda102/orgs","repos_url":"https://api.github.com/users/johnda102/repos","events_url":"https://api.github.com/users/johnda102/events{/privacy}","received_events_url":"https://api.github.com/users/johnda102/received_events","type":"User","site_admin":false},"milestone":null,"comments":27,"created_at":"2015-06-01T15:45:34Z","updated_at":"2015-06-04T08:59:47Z","closed_at":"2015-06-04T08:59:47Z","body":"I simply attach an old email thread we had.\r\n\r\n1. At the moment, i see that if we specify in the configuration a certain Btag WP , say XXX,  (only for MV1 atm, which btw is not available in Dc14 as you most likely know...), then the selection decoration for a jet will become:\r\n\r\n  ```\r\n  passSelBTagXXX\r\n  ```\r\n\r\n  Wouldn't be better to have 2 separate flags: a \r\n\r\n  ```\r\n  passSel\r\n  ```\r\n\r\n  flag, regardless of whether the jet is also b-tagged or not, and an additional flag\r\n\r\n  ```\r\n  passSelBTagXXX (or isBTagXXX)\r\n  ```\r\n\r\n  to identify jets that pass also the btag requirement?\r\n\r\n  This is quite crucial: in fact, when the Overlap Removal tool is configured to look only at (pre)\"selected\" objects - as I am doing in my analysis - it assumes all objects: \r\n\r\n  - electrons\r\n  - muons\r\n  - jets\r\n  - (taus)\r\n  - (photons)\r\n\r\n  share the same flag name for selected objects, i.e., `passSel`. If the jets have a different name for this flag, then it messes up the OR.\r\n\r\n\r\n  > OK I can make it use `passSel` and `passSelBTagXXX`\r\n \r\n\r\n2. Do we really wan to have a CUT on a jet if it doesn't pass a btag requirement ( as it is done now in the `PassCuts()` method )? Wouldn't the decoration just suffice?\r\n  > At least, I will keep this cut configurable by the user."}}