selecting same-flavor leptons

Asked by Aielet Efrati

Hi,

I want to reject all events which do not have a pair of same-flavor leptons.
I'm trying to do $reject N(mu or e)<2$, but it's not working

How should I define this cut?

Thanks
Aielet

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Dear Aielet,

> I want to reject all events which do not have a pair of same-flavor leptons.
> I'm trying to do $reject N(mu or e)<2$, but it's not working
What you are trying is indeed wrong, syntax-wise. You can instead try the following:
define mu = mu+ mu-
define e = e+ e-
select N(mu)>=2 or N(e)>=2
This will select all events that have either at least two electrons/positrons, or at least two muons/antimuons.

Cheers,

Benjamin

Can you help with this problem?

Provide an answer of your own, or ask Aielet Efrati for more information if necessary.

To post a message you must log in.