Maximum invariant mass of all opposite sign same-flavor lepton pairs

Asked by Joonbin Lee

Hi,

I want to generate dyToMuMu(NLO) with 'Maximum invariant mass of all opposite sign same-flavor lepton pairs = 100'. I use the model 'loop_sm-no_b_mass'.

I have two questions. First, I saw that there exist a lot of formats of 'run_card.dat'. What makes the differences between 'run_card.dat's? Is the 'run_card.dat' changed according to the model?

Second, in my 'cuts.f' file, there exists only a cut about 'Minimum invariant mass of all opposite sign same-flavor lepton pairs'. How can I add a cut about 'Maximum invariant mass of all opposite sign same-flavor lepton pairs'?

Thank you.

Best Regards,
joonblee

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

> I have two questions. First, I saw that there exist a lot of formats of 'run_card.dat'. What makes the differences between 'run_card.dat's? Is the ‘run_card.dat' changed according to the model?

We have one type of run_card for the LO matrix-element and one for the NLO matrix-element.
After that, each version of MG5 can have slightly different run_card for those two mode but those are quite small change in general.
They are no dependency on the model.

> Second, in my 'cuts.f' file, there exists only a cut about 'Minimum invariant mass of all opposite sign same-flavor lepton pairs'. How can I add a cut about ‘Maximum invariant mass of all opposite sign same-flavor lepton pairs'?

You need to add such cut by hand directly in cuts.f

Cheers,

Olivier

> On Nov 27, 2016, at 13:52, Joonbin Lee <email address hidden> wrote:
>
> New question #404432 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/404432
>
> Hi,
>
> I want to generate dyToMuMu(NLO) with 'Maximum invariant mass of all opposite sign same-flavor lepton pairs = 100'. I use the model 'loop_sm-no_b_mass'.
>
> I have two questions. First, I saw that there exist a lot of formats of 'run_card.dat'. What makes the differences between 'run_card.dat's? Is the 'run_card.dat' changed according to the model?
>
> Second, in my 'cuts.f' file, there exists only a cut about 'Minimum invariant mass of all opposite sign same-flavor lepton pairs'. How can I add a cut about 'Maximum invariant mass of all opposite sign same-flavor lepton pairs'?
>
> Thank you.
>
> Best Regards,
> joonblee
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Joonbin Lee (joonblee) said :
#2

Hi,

Thanks for your reply. However, I still have some questions.

1. How can I change the cuts.f file? I use commands like this.

----------------------------------------------------------------------
import model loop_sm-no_b_mass

define p = p b b~
define j = j b b~

generate p p > mu+ mu- [QCD] @0

output dymumu0j_5f_NLO_FXFX -nojpeg

launch

done

2(change the run_card.dat)
----------------------------------------------------------------------------

There is no step for changing the cuts.f file.

2. And one more question. What cut do I need to add in cuts.f? I find the cut for minimum invariant mass. Here it is.

----------------------------------------------------------------------------
                       if (mll_sf.gt.0d0) then
                           if (invm2_04(p(0,i),p(0,j),1d0).lt.mll_sf**2)
     $ then
                              passcuts_user=.false.
---------------------------------------------------------------------------

I think this is the cut for the minimum. How can I make the maximum cut?

Thank you.

Best regards,
joonblee

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

after the output command. you can quit.
Then you can modify the file dymumu0j_5f_NLO_FXFX/SubProcesses/cuts.f

and then you can run from dymumu0j_5f_NLO_FXFX ./bin/generate_events
and/or relaunch MG5aMC and type launch dymumu0j_5f_NLO_FXFX

Cheers,

Olivier

> On Nov 27, 2016, at 15:23, Joonbin Lee <email address hidden> wrote:
>
> Question #404432 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404432
>
> Status: Answered => Open
>
> Joonbin Lee is still having a problem:
> Hi,
>
> Thanks for your reply. However, I still have some questions.
>
>
> 1. How can I change the cuts.f file? I use commands like this.
>
>
> ----------------------------------------------------------------------
> import model loop_sm-no_b_mass
>
> define p = p b b~
> define j = j b b~
>
> generate p p > mu+ mu- [QCD] @0
>
> output dymumu0j_5f_NLO_FXFX -nojpeg
>
> launch
>
> done
>
> 2(change the run_card.dat)
> ----------------------------------------------------------------------------
>
>
> There is no step for changing the cuts.f file.
>
>
>
> 2. And one more question. What cut do I need to add in cuts.f? I find
> the cut for minimum invariant mass. Here it is.
>
>
> ----------------------------------------------------------------------------
> if (mll_sf.gt.0d0) then
> if (invm2_04(p(0,i),p(0,j),1d0).lt.mll_sf**2)
> $ then
> passcuts_user=.false.
> ---------------------------------------------------------------------------
>
>
> I think this is the cut for the minimum. How can I make the maximum cut?
>
>
> Thank you.
>
> Best regards,
> joonblee
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Joonbin Lee (joonblee) said :
#4

Hi,

Thanks for your reply. Could I ask one more question? I don't know about the cuts.f file well. Please let me know what cut do I need to add in cuts.f file? Or please let me know where can I study about the cuts.f file.

Thank you and I apologize for many questions.

Best regards,
joonblee

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#5

Instructions should be part of the file.
and it include many example.

Cheers,

Olivier
> On Nov 27, 2016, at 19:10, Joonbin Lee <email address hidden> wrote:
>
> Question #404432 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404432
>
> Status: Answered => Open
>
> Joonbin Lee is still having a problem:
> Hi,
>
> Thanks for your reply. Could I ask one more question? I don't know about
> the cuts.f file well. Please let me know what cut do I need to add in
> cuts.f file? Or please let me know where can I study about the cuts.f
> file.
>
> Thank you and I apologize for many questions.
>
> Best regards,
> joonblee
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Joonbin Lee (joonblee) said :
#6

Thanks Olivier Mattelaer, that solved my question.