something wrong with select and rejec parcicles in the user-friendly framework

Asked by lily

Hi,
There are the following two events:
# Event number: 0
# number trig word
0 9170 0
# typ eta phi pt jmass ntrk btag had/em dummy dummy
1 2 0.855 1.862 158.28 0.11 1.0 6.0 158.0 0.0 0.0
2 2 0.445 1.008 59.83 0.11 -1.0 6.0 60.0 0.0 0.0
3 2 -0.761 -0.43 55.63 0.11 1.0 6.0 56.0 0.0 0.0
4 2 -0.072 2.43 33.31 0.11 -1.0 6.0 33.07 0.0 0.0
5 3 2.11 1.951 94.02 -0.0 -1.0 0.0 999.9 0.0 0.0
6 4 1.543 -1.295 220.6 31.65 12.0 1.0 0.03 0.0 0.0
7 4 2.099 -1.427 93.82 9.86 13.0 1.0 0.11 0.0 0.0
8 6 0.0 2.654 31.78 0.0 0.0 0.0 0.0 0.0 0.0
# Event number: 1
# number trig word
0 9183 0
# typ eta phi pt jmass ntrk btag had/em dummy dummy
1 2 0.12 -2.784 452.08 0.11 -1.0 7.0 452.0 0.0 0.0
2 2 -2.322 -3.022 31.06 0.11 -1.0 7.0 31.09 0.0 0.0
3 2 0.823 3.085 28.3 0.11 1.0 7.0 30.0 0.0 0.0
4 2 -1.093 1.778 26.79 0.11 1.0 7.0 27.0 0.0 0.0
6 3 -2.606 0.665 25.02 0.0 -1.0 0.0 0.0 0.0 0.0
7 4 -1.327 -2.451 85.74 10.13 15.0 1.0 1.88 0.0 0.0
8 4 -2.331 -1.199 47.36 11.16 4.0 1.0 0.61 0.0 0.0
9 6 0.0 0.289 425.03 0.0 0.0 0.0 0.0 0.0 0.0

I input the synax:
reject ( mu ) PT < 56.0
select PT ( mu[2] ) > 10.0

The two events are still kept.

Inputting the synax:
select ( mu ) PT > 56.0
select PT ( mu[2] ) > 10.0
Aso the two events are still kept.

I do not understand the problem.

Many thanks.

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

Hi Lily,

Thanks a lot for bringing this to our attention. We wil fix it asap.

Cheers,

Benjamin

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

Dear Lily,

We fix the corresponding bug. You could update your MadAnalysis 5 v1.2 release with bzr (bzr up) or download the new tarball "MA5_v1.3_pre1.tgz".

Thank you for your contribution,
Cheers,
Eric

Can you help with this problem?

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

To post a message you must log in.