You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello dear Experts. In my analysis I want to take Tight Electron L3 trigger objects. I can not find useful information In nanoaod documentation. https://cms-nanoaod-integration.web.cern.ch/integration/master-102X/mc102X_doc.html#TrigObj
As I understand if i want to take those events which trigger objects are Tight electrons, so i will check the id equals to 11, and filterbit.
Now I am checking filterBits information by this way.
tr.filterBits & (1 << 2) == 1 << 2)
But In another example (GenPart_statusFlags) I want to check 7 : isHardProcess flag. So I did this
ipart_pru.statusFlags & (1 << 7) == 1 << 7
Please explain the correct way to check these 2 flags(trigger filterBits and genParticle statusFlags)
Actually I must check by this way for trigger filterBits (WPTight):
(tr.filterBits & 2) != 0
because 2 in binary representation is "10".
But I am confusing about this statement.
Thanks and Regards!
Vardan Aloyan
The text was updated successfully, but these errors were encountered:
Hello dear Experts. In my analysis I want to take Tight Electron L3 trigger objects. I can not find useful information In nanoaod documentation.
https://cms-nanoaod-integration.web.cern.ch/integration/master-102X/mc102X_doc.html#TrigObj
As I understand if i want to take those events which trigger objects are Tight electrons, so i will check the id equals to 11, and filterbit.
Now I am checking filterBits information by this way.
tr.filterBits & (1 << 2) == 1 << 2)
But In another example (GenPart_statusFlags) I want to check 7 : isHardProcess flag. So I did this
ipart_pru.statusFlags & (1 << 7) == 1 << 7
Please explain the correct way to check these 2 flags(trigger filterBits and genParticle statusFlags)
Actually I must check by this way for trigger filterBits (WPTight):
(tr.filterBits & 2) != 0
because 2 in binary representation is "10".
But I am confusing about this statement.
Thanks and Regards!
Vardan Aloyan
The text was updated successfully, but these errors were encountered: