{"action":"created","issue":{"url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/148","repository_url":"https://api.github.com/repos/cms-nanoAOD/cmssw","labels_url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/148/comments","events_url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/148/events","html_url":"https://github.com/cms-nanoAOD/cmssw/issues/148","id":309341478,"number":148,"title":"Regular expressions in \"triggerObjects_cff.py\" inadequate for e-mu,  mu-mu, 3mu, 3e, 2mu-e and 2e-mu HLT paths","user":{"login":"rdewanje","id":2069776,"avatar_url":"https://avatars1.githubusercontent.com/u/2069776?v=4","gravatar_id":"","url":"https://api.github.com/users/rdewanje","html_url":"https://github.com/rdewanje","followers_url":"https://api.github.com/users/rdewanje/followers","following_url":"https://api.github.com/users/rdewanje/following{/other_user}","gists_url":"https://api.github.com/users/rdewanje/gists{/gist_id}","starred_url":"https://api.github.com/users/rdewanje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdewanje/subscriptions","organizations_url":"https://api.github.com/users/rdewanje/orgs","repos_url":"https://api.github.com/users/rdewanje/repos","events_url":"https://api.github.com/users/rdewanje/events{/privacy}","received_events_url":"https://api.github.com/users/rdewanje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-28T12:15:55Z","updated_at":"2018-03-28T13:11:22Z","closed_at":null,"author_association":"NONE","body":"The regular expressions given in the file:\r\nhttps://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/triggerObjects_cff.py\r\n\r\nfor electron and muon objects viz.\r\n\r\nhttps://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/triggerObjects_cff.py#L32\r\n\r\nand\r\n\r\nhttps://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/triggerObjects_cff.py#L49\r\n\r\nare not adequate for the following HLT Paths:\r\n\r\nHLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v* \r\nHLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v* \r\nHLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v* \r\nHLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v4 \r\nHLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ \r\nHLT_Ele16_Ele12_Ele8_CaloIdL_TrackIdL_v*\r\nHLT_TripleMu_12_10_5_v*\r\nHLT_Mu8_DiEle12_CaloIdL_TrackIdL_v*\r\nHLT_DiMu9_Ele9_CaloIdL_TrackIdL_DZ_v*  \r\n\r\nThis is because their last hlt filter names cannot be matched to any of the reg-exps provided in the \"qualityBits\" string parameter. For details see this attached xlsx sheet.\r\n[List_HLT.xlsx](https://github.com/cms-nanoAOD/cmssw/files/1855900/List_HLT.xlsx)\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/comments/376881043","html_url":"https://github.com/cms-nanoAOD/cmssw/issues/148#issuecomment-376881043","issue_url":"https://api.github.com/repos/cms-nanoAOD/cmssw/issues/148","id":376881043,"user":{"login":"gpetruc","id":4643655,"avatar_url":"https://avatars0.githubusercontent.com/u/4643655?v=4","gravatar_id":"","url":"https://api.github.com/users/gpetruc","html_url":"https://github.com/gpetruc","followers_url":"https://api.github.com/users/gpetruc/followers","following_url":"https://api.github.com/users/gpetruc/following{/other_user}","gists_url":"https://api.github.com/users/gpetruc/gists{/gist_id}","starred_url":"https://api.github.com/users/gpetruc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpetruc/subscriptions","organizations_url":"https://api.github.com/users/gpetruc/orgs","repos_url":"https://api.github.com/users/gpetruc/repos","events_url":"https://api.github.com/users/gpetruc/events{/privacy}","received_events_url":"https://api.github.com/users/gpetruc/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:11:22Z","updated_at":"2018-03-28T13:11:22Z","author_association":"NONE","body":"I don't know if `filter(\"name\")` supports regexps (you can try).\r\nthe alternative is to replace `N*filter(\"foo|bar\")` with `(? filter(\"foo\") || filter(\"bar\") ? N : 0)` which will work."}}
{"actor":{"display_login":"gpetruc"}}