automatic ptj and mjj cuts from xqcut are also applied to jets that are not relevant for the matching
Bug #1243543 reported by
Rikkert Frederix
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Triaged
|
Wishlist
|
Olivier Mattelaer |
Bug Description
Hi Olivier,
When doing matching, for example for ttbar production, including hadronic decays, the auto_ptj_mjj flag and the cut_decays flag are not working as expected. I would have expected that, no matter what I put for the cut_decays flag, the ptj and mjj cuts that are set automatically from the xqcut with the auto_ptj_mjj are always only applied to the jets that enter the matching, and certainly not to the top quark decay products.
Moreover, it's not so easy to spot that this is going wrong, because all the matching plots are rather smooth. Only the cross section is a bit lower than expected.
Cheers,
Rikkert
Changed in madgraph5: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Hi Rikkert,
Let me be sure of your problem:
let's assume that you have
e+ e- > w+ j1, w+ > j2 j3
and that you have in your run_card:
cut_decays = T
auto_ptj_mjj = T
ptj= 10
xqcut= 20
Then you were hoping to have the following cuts:
ptj1 : 20
ptj2: 10
ptj3: 10
while you have (This is at least what I think should happen)
ptj1: 20
ptj2:20
ptj3:20
Is it the only scenario of combination of parameters where you have trouble/different expectation?:
cut_decays = F
auto_ptj_mjj = T
ptj= 10
xqcut= 20
you should have
ptj1 : 20
ptj2: 0
ptj3: 0
I don't see any possible confusion on here.
>Moreover, it's not so easy to spot that this is going wrong, because all the matching plots are rather smooth. Only the cross section is a bit lower than expected.
Yes this is expected since ptj2 and ptj3 didn't enter to the matching. So the smootness of the matching shouldn't be impacted by this effect. In fact you can spot them via the log file of each single run where you can see the pt cut for each particle.
If I understand your problem correctly this is not a bug (in the sense that the code produce the output that I expect). So I have tagged this in the wishlist. If you agree with this classification, I will not fix it right away and start a discussion with the CMS team to know what they think about this behavior before changing it. (This might creates trouble for them if we change it without noticing them at least)
Cheers,
Olivier