cut on DeltaR gives empty plot

Asked by Thomas Mathisen on 2018-05-12

Hi,

I'm trying to make a cut on my DeltaR plots in a parton-level. I write a part of the script in the following way

reject (j) DELTAR(j) < 0.4
plot DELTAR(j, j) [superimpose normalize2one]

But I get an empty plot no matter the number after < . Using no cut and the plot is full of stuff and events above 0.4 for that matter. What is weird is that I noticed that I can make the following cut

reject (j) DELTAR(j) > any_number

and get a nice cut at any_number with all the events after gone from the plot after that number.

What can the issue be? Why does reject (j) DELTAR(j) < any_number give an empty?

I'm using Madanalysis 5 v1.6.33 and Madgraph5_aMC@NLO 2.6.1.

Hope you can help.

/Thomas

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
2018-05-13
Last query:
2018-05-13
Last reply:
2018-05-13
Best Benjamin Fuks (fuks) said : #1

Dear Thomas,

Can you please replace the file
  madanalysis/job/job_candidate_cut.py
with the attached one (in the case where you would not see any file, do you mind giving me your direct e-mail address?).

This should fix the bug (yes, this is a bug). I will commit the fix later.

Regards,

Benjamin

> On 12 May 2018, at 16:52 , Thomas Mathisen <email address hidden> wrote:
>
> New question #668888 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/668888
>
> Hi,
>
> I'm trying to make a cut on my DeltaR plots in a parton-level. I write a part of the script in the following way
>
> reject (j) DELTAR(j) < 0.4
> plot DELTAR(j, j) [superimpose normalize2one]
>
> But I get an empty plot no matter the number after < . Using no cut and the plot is full of stuff and events above 0.4 for that matter. What is weird is that I noticed that I can make the following cut
>
> reject (j) DELTAR(j) > any_number
>
> and get a nice cut at any_number with all the events after gone from the plot after that number.
>
> What can the issue be? Why does reject (j) DELTAR(j) < any_number give an empty?
>
> I'm using Madanalysis 5 v1.6.33 and Madgraph5_aMC@NLO 2.6.1.
>
> Hope you can help.
>
> /Thomas
>

Thomas Mathisen (thomasmath) said : #2

Hi Benjamin,

thanks for a fast reply.

I don't see any file so here is my e-mail adress is <email address hidden>.

/Thomas

Thomas Mathisen (thomasmath) said : #3

Thanks Benjamin Fuks, that solved my question.