Compute weights for Run2 with EFT sample

Asked by Abdellah Tnourji

Dear expert,

MG version: MG5_aMC_v3_3_1

I have generated 1M events of p p > t t~ at NLO and LO using SMEFT_NLO model and shower the event using Pythia8. I used restrict card with ctg=1.5 and all other WC coefficients are equal to 0. Then, I used the re-weighting card with ctg=[-1.5, 1.2], as shown below.

Using the HepMC tool, I was able to convert my output file to a root file, for instance:

root [8] hepmc3_tree->Scan ("weight_names:weights", "", "colsize=20")

*********************************************************************
* Row * Instance * weight_names * weights *
*********************************************************************
* 0 * 0 * 0 * 0.011425636666666667 *
* 0 * 64 * AUX_ctg_0_09_nlo * 71.3100450000000023 *
* 0 * 65 * AUX_ctg_0_2_nlo * 73.245915999999994 *
* 0 * 66 * AUX_ctg_0_5_nlo * 78.9755789999999962 *
* 0 * 67 * AUX_ctg_1_2_nlo * 94.9058670000000006 *
* 0 * 68 * AUX_ctg_1_nlo * 89.9884909999999962 *
* 0 * 69 * AUX_ctg_neg_0_09_nlo * 68.333241000000001 *
* 0 * 70 * AUX_ctg_neg_0_2_nlo * 66.6307970000000012 *
* 0 * 71 * AUX_ctg_neg_0_5_nlo * 62.437775000000002 *
* 0 * 72 * AUX_ctg_neg_0_nlo * 69.7920110000000022 *
* 0 * 73 * AUX_ctg_neg_1_2_nlo * 55.2151299999999949 *
* 0 * 74 * AUX_ctg_neg_1_5_nlo * 53.2173130000000043 *
* 0 * 75 * AUX_ctg_neg_1_nlo * 56.9128729999999976 *
* 0 * 76 * Weight * 102.830730000000003 *

My understanding is that the variable "Weight" corresponds to ctg=1.5. At this point, I'm curious about the variable "0". Do I need to consider it or can I ignore it?

I have the following questions (please accept my ignorance):

First Question 1:

I want to compute the folowing weight: W = σ * L * Wgen / ΣWgen. [1]

where Wgen is the weight assigned to the event by the MC generator and ΣWgen is the sum of these weights for all the generated events.

In the ATLAS analysis, I compute "ΣWgen" from a separate tree usually called "SumOfWeights " and Wgen= weight_mc . I could not find such a tree when I covert my ".hepmc" file to "root" file.

If I focus on "AUX_ctg_neg_1_nlo", the equation [1] becomes,

W = σ * L * AUX_ctg_neg_1_nlo / ΣAUX_ctg_neg_1_nlo [2]

"ΣAUX_ctg_neg_1_nlo" is the sum of AUX_ctg_neg_1_nlo weight for all the generated events. Does this sound right?

Second question 2:

What is the input value for the cross-section (σ) and L in Equation [2] ? For Run2, for example, should I re-weight the number of events (1M in my case) using, this value was obtained from ATLAS XsecSummaryTTbar web page :

L = 139 fb-1
σ = 76.95
k-factor = 1.1398

Do I need to use other values?

Thank you in advance for your patience as I try to explain the question clearly. Any feedback you provide will be greatly appreciated.

Best,
A.TNOURJI

Reweight_card.dat card:
=======================================
change mode NLO # Define type of Reweighting. For LO sample this command
                   # has no effect since only "LO" mode is allowed.
change helicity False
# SPECIFY A PATH OR USE THE SET COMMAND LIKE THIS:
# set sminputs 1 130 # modify 1/alpha_EW
launch --rwgt_name=ctg_neg_1_5
  set DIM62F 24 -1.5
launch --rwgt_name=ctg_neg_1_2
  set DIM62F 24 -1.2
launch --rwgt_name=ctg_neg_1
  set DIM62F 24 -1
launch --rwgt_name=ctg_neg_0_5
  set DIM62F 24 -0.5
launch --rwgt_name=ctg_neg_0_2
  set DIM62F 24 -0.2
launch --rwgt_name=ctg_neg_0_09
  set DIM62F 24 -0.09
launch --rwgt_name=ctg_neg_0
  set DIM62F 24 0
launch --rwgt_name=ctg_0_09
  set DIM62F 24 0.09
launch --rwgt_name=ctg_0_2
  set DIM62F 24 0.2
launch --rwgt_name=ctg_0_5
  set DIM62F 24 0.5
launch --rwgt_name=ctg_1
  set DIM62F 24 1
launch --rwgt_name=ctg_1_2
  set DIM62F 24 1.2
=======================================

Question information

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

Sorry I do not know very well hepmc2 (never check the format for hepmc3) and even less root.
Actually, Those are not format produce by our code.

Sorry,

Olivier

Revision history for this message
Abdellah Tnourji (atnourji) said :
#2

Hey Olivier,

Thank you very much. In regard to the second part of my question, I think it is more general and does not pertain to HEPMC. Here is the second part of my question. Please accept my thanks in advance.

I have the following questions (please accept my ignorance):

First Question 1:

I want to compute the folowing weight: W = σ * L * Wgen / ΣWgen. [1]

where Wgen is the weight assigned to the event by the MC generator and ΣWgen is the sum of these weights for all the generated events.

In the ATLAS analysis, I compute "ΣWgen" from a separate tree usually called "SumOfWeights " and Wgen= weight_mc .

In my case, If I focus on "wight_ctg_neg_1_nlo" for example, the equation [1] becomes,

W = σ * L * wight_ctg_neg_1_nlo / Σwight_ctg_neg_1_nlo [2]

Where in this case, "Σwight_ctg_neg_1_nlo" is the sum of wight_ctg_neg_1_nlo weight for all the generated events. Does this sound right?

Second question 2:

What will the input value be for the cross-section and L in Equation [2] for Run2 data, for example? should I re-weight the number of events (1M in my case) using,

L = 139 fb-1
σ = 76.95
k-factor = 1.1398

(this value was obtained from ATLAS XsecSummaryTTbar web page)

Do I need to use other values?

Best,
A.TNOURJI

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

What is the point of your W?

I typically do not use that formula [1], I guess the point of that formula, is to
1. be insensitive to the normalization of the "Wgen" (since the formula is stable to change as Wgen = alpha* Wgen)
2. be insensitive to the total cross-section is to use a cross-section computed independently of the one associated to Wgen?
My understanding is that ΣWgen should be the cross-section at a given order (less precise than sigma) --up to a normalization--.
and the point of the factor σ / ΣWgen is to rescale the cross-section given by MG5aMC (ΣWgen ) to the one obtained at higher precision (σ).

So if you keep for sigma the cross-section for the SM one, then you should keep the denominator to the ΣWgen to be consistent.
But if you change σ to the value of an higher computation, then it would make sense to divide by the "new" cross-section obtaine by MG5aMC (Σwight_ctg_neg_1_nlo).

Now keeping the SM, assumes that the EFT approach will get the same k-factor between the (N)LO computation of MG5aMC and the higher order one which is likely an approximation (maybe a good one?)

One possible approach is to use for sigma the cross-section evaluated by the reweighting itself (so up to the normalization this is
Σwight_ctg_neg_1_nlo). if you assume no need for normalization (i.e a normalization to the sum --which is not default--). Your formula will reduce to
 W = L * wight_ctg_neg_1_nlo

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.