I want to draw MET for events with two opposite charges(electrons or muons)

Asked by leila

Hi experts,

I want to draw MET for events with two leptons with opposite charges (electrons or muons).

I have used madanalysis5 in normal mode for the cut :
reject N(mu+) !=1
reject N(mu-) !=1
select 76 < M(mu+ mu-) < 106
select (mu+) PT > 20
select (mu+) -2.5 < ETA < 2.5
select (mu-) PT > 20
select (mu-) -2.5 < ETA < 2.5
and I get plots.

But I want use this for e+ & e- too. When I add these cuts for e+ & e- I don't get any MET plots! I want MET plots for leptons with the same taste and opposite charges. Is there any syntax for this?
Should I use madanalysis5 in expert mode? If yes, how can I get MET plots from SAF file?

Best regards,
Leila

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
Eric Conte (eric-conte) said :
#1

Hi Leila,

In fact, you can use the label 'l+' or 'l-' for selecting both electrons and muons. You just need to replace "mu+" by "l+" and "mu-" by "l-". Normal mode is sufficient for your MET plot.

Cheers,
Eric

Revision history for this message
Benjamin Fuks (fuks) said :
#2

Hi Leila,

There may just be no events that pass the cuts or that feature MET. Please double check this. By the way, you should apply the invariant mass cut as the last cut.

Regards,

Benjamin

On 08 Dec 2016, at 10:37 , leila <email address hidden> wrote:

> New question #406562 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/406562
>
> Hi experts,
>
> I want to draw MET for events with two leptons with opposite charges (electrons or muons).
>
> I have used madanalysis5 in normal mode for the cut :
> reject N(mu+) !=1
> reject N(mu-) !=1
> select 76 < M(mu+ mu-) < 106
> select (mu+) PT > 20
> select (mu+) -2.5 < ETA < 2.5
> select (mu-) PT > 20
> select (mu-) -2.5 < ETA < 2.5
> and I get plots.
>
> But I want use this for e+ & e- too. When I add these cuts for e+ & e- I don't get any MET plots! I want MET plots for leptons with the same taste and opposite charges. Is there any syntax for this?
> Should I use madanalysis5 in expert mode? If yes, how can I get MET plots from SAF file?
>
> Best regards,
> Leila
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
leila (khalkhali-leila) said :
#3

Dear Eric and Benjamin,

Thanks alot for your replies.

Dear Eric, if I replace l+ or l- for leptons then can I be sure that madanalysis5 chooses the same tase leptons?
I mean maybe it chooses e- with mu+! my doubt for replacing l+ or l- instead of mu+ and mu- is only because of this that
I think maybe madanalysis5 can't distinguish between e+ e- or e+ mu-! Am I wrong?

Best regards,

Leila

Revision history for this message
Benjamin Fuks (fuks) said :
#4

Hi Leila,

If you use l instead of e or mu, you will indeed loose the flavor distinction.

Cheers,

Benjamin

On 09 Dec 2016, at 08:03 , leila <email address hidden> wrote:

> Question #406562 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/406562
>
> Status: Answered => Open
>
> leila is still having a problem:
> Dear Eric and Benjamin,
>
> Thanks alot for your replies.
>
> Dear Eric, if I replace l+ or l- for leptons then can I be sure that madanalysis5 chooses the same tase leptons?
> I mean maybe it chooses e- with mu+! my doubt for replacing l+ or l- instead of mu+ and mu- is only because of this that
> I think maybe madanalysis5 can't distinguish between e+ e- or e+ mu-! Am I wrong?
>
> Best regards,
>
> Leila
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Eric Conte (eric-conte) said :
#5

Hi Leila,

If you would like to impose the flavour completion, you have the possibility to use the "and" logic operator :
plot M(e+ e- and mu+ mu-)

Cheers,
Eric

Revision history for this message
leila (khalkhali-leila) said :
#6

Hi Benjamin and Eric,

I'm sorry for taking long this thread.
As I said my problem is in putting cuts on leptons with the same flavour but opposite signs.
Dear Eric I did your advise, I mean I wrote in my script:
reject N(mu+ mu-) !=2
reject N(e+ e-) !=2
select 76 < M(mu+ mu- and e+ e-) < 106
select (mu+ mu-) PT > 20
select (e+ e-) PT > 20
:
but I got this warning:** WARNING: sorry but the possibility to apply a cut on a combination of particles is not still implemented in MadAnalysis 5.
Before I have tested:
reject N(mu+) !=1
reject N(mu-) !=1
select 76 < M(mu+ mu-) < 106
select (mu+) PT > 20
select (mu+) -2.5 < ETA < 2.5
select (mu-) PT > 20
select (mu-) -2.5 < ETA < 2.5
reject N(e+) !=1
reject N(e-) !=1
select 76 < M(e+ e-) < 106
select (e+) PT > 20
select (e+) -2.5 < ETA < 2.5
select (e-) PT > 20
select (e-) -2.5 < ETA < 2.5
but I didn't have get any plot!
I think there should be a solution in Madanalysis5 in expert mode if not won't you think that I should analyse my events one time for muons and the other time for electrons in normal mode?

Best regards,

Leila

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Benjamin Fuks (fuks) said :
#8

The expert mode may indeed be the way.

Regards,

Benjamin

Revision history for this message
Benjamin Fuks (fuks) said :
#9
Revision history for this message
leila (khalkhali-leila) said :
#10

Hi Benjamin,

Thanks a lot for your reply. I have tried expert mode too, would you please tell me how can I get MET plots from SAF file?

Best regards,

Leila

Revision history for this message
Benjamin Fuks (fuks) said :
#11

Hi Leila,

There is no dedicated tool and you will need to build your own. This feature is on our to-do list, but will not be realized in a close future.

Cheers,

Benjamin

Can you help with this problem?

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

To post a message you must log in.