How to select SFOS lepton pairs in Madanalysis?

Asked by Melissa

Dear reader,

I could not find how to select same-flavor opposite-sign lepton pairs in Madanalysis and use these to e.g. plot invariant mass of the two. Is there a way?

Cheers,
Melissa

Question information

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

Hi Melissa,

You can simply request that the number of l+l- pairs that can be formed must be greater than 1:
  select N(l+ l-)>=1
For the invariant mass, this is as easy:
  plot M(l+ l-)

Regards,

Benjamin

On 16 Oct 2015, at 10:52 , Melissa <email address hidden> wrote:

> New question #272498 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/272498
>
> Dear reader,
>
> I could not find how to select same-flavor opposite-sign lepton pairs in Madanalysis and use these to e.g. plot invariant mass of the two. Is there a way?
>
> Cheers,
> Melissa
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Melissa (mcbeekveld) said :
#2

Thanks Benjamin Fuks, that solved my question.

Revision history for this message
Melissa (mcbeekveld) said :
#3

Dear Benjamin,

Thanks for your help, it solved my problem.

Cheers,
Melissa