| | 1 | ======================================================= |
| | 2 | Description of variables stored for systematics studies |
| | 3 | ======================================================= |
| | 4 | By: Johan Alwall, 28/3/2012 |
| | 5 | |
| | 6 | ------------------------------------------------------------------- |
| | 7 | Turn on systematics info with the flag use_syst in the run_card.dat |
| | 8 | Note that systematics only works with matching (ickkw set to 1) |
| | 9 | ------------------------------------------------------------------- |
| | 10 | |
| | 11 | Parameters that can be varied after-the-fact (without need to rerun |
| | 12 | Pythia+detector simulation): |
| | 13 | |
| | 14 | - Central renormalization scale |
| | 15 | - Central factorization scale |
| | 16 | - PDF choice |
| | 17 | - Emission renormalization scale factor |
| | 18 | - PDF reweighting scale factor (not available at present) |
| | 19 | - QCUT scale |
| | 20 | |
| | 21 | ============================================= |
| | 22 | Variational parameters in reweight.f: |
| | 23 | ============================================= |
| | 24 | |
| | 25 | ********************************************* |
| | 26 | Central scale (ren scale): |
| | 27 | ********************************************* |
| | 28 | line 702: scale (asref = alphas(scale)) |
| | 29 | |
| | 30 | Event weight given by: |
| | 31 | ---------------------- |
| | 32 | alpha_s weight: alphas(scale)^N where |
| | 33 | N=#(QCD vertices) - #(emission alpha_s vertices below) |
| | 34 | |
| | 35 | ********************************************* |
| | 36 | Emission alpha_s reweighting: |
| | 37 | ********************************************* |
| | 38 | line 912: qnow = sqrt(q2now) |
| | 39 | |
| | 40 | Event weight given by: |
| | 41 | ---------------------- |
| | 42 | alphas(alpsfact*qnow) |
| | 43 | |
| | 44 | ********************************************* |
| | 45 | PDF reweighting: |
| | 46 | ********************************************* |
| | 47 | line 873 (initial pdf): ipdgcl(idacl(n,i)), xnow(j), q2now (pdgini,xini, q2ini) |
| | 48 | line 1070 (cont. pdf): ipdgcl(idacl(n,i)), xnow(j), q2now (pdgint,xint, q2int) |
| | 49 | etc. (for both sides (1,2)) |
| | 50 | |
| | 51 | Event weight given by: |
| | 52 | ---------------------- |
| | 53 | initial pdf(pdgini,xini,q2ini) |
| | 54 | *pdf(pdgint,xint,q2int)/pdf(pdgint,xint,q2ini) |
| | 55 | ... etc. |
| | 56 | Note: Central fact scale variation corresponds to reweighting the last |
| | 57 | scale only on each side |
| | 58 | |
| | 59 | ============================================= |
| | 60 | Variation of QCUT in ME2pythia.f: |
| | 61 | ============================================= |
| | 62 | |
| | 63 | failing criteria in parentheses. line numbers approximate. |
| | 64 | |
| | 65 | SHOWERKT: QCUT |
| | 66 | line 999: PTSORT(1) (in lhe file) (< QCUT) |
| | 67 | line 1012 (non-highest mult): shower kt (> QCUT) |
| | 68 | line 1025 (highest mult): shower kt (> PTSORT(1)) |
| | 69 | |
| | 70 | kT-MLM: YCUT=QCUT**2 |
| | 71 | line 1090: NJETS (< NLJETS) |
| | 72 | actually Y(NLJETS) (< YCUT) |
| | 73 | line 1107 (non-highest mult): Y(NLJETS+1) (> YCUT) |
| | 74 | if highest mult case: YCUT=PTSORT(1) |
| | 75 | line 1133: Y(NN) (> YCUT) |
| | 76 | line 1145: If not clustered, fail |
| | 77 | line 1176: Y(2) (> YCUT) |
| | 78 | |
| | 79 | So, just need three number for systematic variation of QCUT: |
| | 80 | SMIN. Fail if < QCUT: |
| | 81 | For SHOWERKT: PTSORT(1) |
| | 82 | For kT-MLM: Y(NLJETS) |
| | 83 | SCOMP. Comparison number: |
| | 84 | For highest mult: max(QCUT,PTSORT(1)) |
| | 85 | Otherwise QCUT |
| | 86 | Perhaps use minimum safe QCUT or 0 instead of QCUT for systematics studies |
| | 87 | In any case, use max(QCUTcurr,comparison number) for arbitrary QCUTcurr. |
| | 88 | SMAX. Fail if > comparison number: |
| | 89 | For SHOWERKT: shower kt |
| | 90 | For kt-MLM: max(Y(NLJETS+1),Y(NN),Y(2)) |
| | 91 | |
| | 92 | Note that some events will always fail - I suggest to simply ignore |
| | 93 | those (as well as requiring minimum safe QCUT = xqcut for SHOWERKT and |
| | 94 | max(xqcut+10,xqcut*1.3) for kT-MLM). |
| | 95 | |
| | 96 | Event weight given by: |
| | 97 | ---------------------- |
| | 98 | 1 if QCUT < SMIN and SMAX < max(QCUT, SCOMP) |
| | 99 | otherwise 0 |
| | 100 | |
| | 101 | |
| | 102 | =============================================== |
| | 103 | Each line in the syst.dat file has the entries: |
| | 104 | =============================================== |
| | 105 | |
| | 106 | <mgrwt event="event_num"> |
| | 107 | <rscale>n_qcd ren_scale</rscale> |
| | 108 | <asrwt>n_alpsem alpsem_scale(1) ... alpsem_scale(n_alpsem)</asrwt> |
| | 109 | <pdfrwt beam="1">n_pdfrw1 pdf_pdg_code1(1) ... pdf_pdg_code1(n_pdgrw1) \ |
| | 110 | pdf_x1(1) ... pdf_x1(n_pdfrw1) pdf_q1(1) ... pdf_q1(n_pdfrw1)</pdfwgt> |
| | 111 | <pdfrwt beam="2">n_pdfrw2 pdf_pdg_code2(1) ... pdf_pdg_code2(n_pdgrw2) \ |
| | 112 | pdf_x2(1) ... pdf_x2(n_pdfrw2) pdf_q2(1) ... pdf_q2(n_pdfrw2)</pdfwgt> |
| | 113 | <totfact>total_reweight_factor</totfact> |
| | 114 | <matchscale>SMIN SCOMP SMAX</matchscale> |
| | 115 | </mgrwt> |
| | 116 | |
| | 117 | Total event weight for event event_num given by: |
| | 118 | ------------------------------------------------ |
| | 119 | alpha_s(scalefact*ren_scale)^(n_qcd) * # central ren scale |
| | 120 | alpha_s(alpsfact*alpsem_scale(1)) * # emission ren scale |
| | 121 | alpha_s(alpsfact*alpsem_scale(2)) * # emission ren scale |
| | 122 | ... |
| | 123 | pdf(pdf_pdg_code1(1),pdf_x1(1),pdf_q1(1))* # initial state pdf |
| | 124 | pdf(pdf_pdg_code1(2),pdf_x1(2),pdf_q1(2))/ |
| | 125 | pdf(pdf_pdg_code1(2),pdf_x1(2),pdf_q1(2))* # pdf reweighting |
| | 126 | pdf(pdf_pdg_code1(3),pdf_x1(3),pdf_q1(3))/ |
| | 127 | pdf(pdf_pdg_code1(3),pdf_x1(3),pdf_q1(2))* # pdf reweighting |
| | 128 | ... |
| | 129 | pdf(pdf_pdg_code1(n_pdfrw1),pdf_x1(n_pdfrw1),scalefact*pdf_q1(n_pdfrw1))/ |
| | 130 | pdf(pdf_pdg_code1(n_pdfrw1),pdf_x1(n_pdfrw1),pdf_q1(n_pdfrw1-1))* |
| | 131 | # Note the central scale reweighting by scalefact above |
| | 132 | # (if n_pdfrw1 = 1, need to reweight the initial state pdf scale) |
| | 133 | # Also note that no scale should be larger than the last one (including |
| | 134 | # scalefact) for that beam. |
| | 135 | # |
| | 136 | # Now the same thing for all pdfs in beam 2 (n_pdfrw2) |
| | 137 | pdf(pdf_pdg_code2(1),pdf_x2(1),pdf_q2(1))* # initial state pdf |
| | 138 | ... |
| | 139 | pdf(pdf_pdg_code2(n_pdfrw2),pdf_x2(n_pdfrw2),scalefact*pdf_q2(n_pdfrw2))/ |
| | 140 | pdf(pdf_pdg_code2(n_pdfrw2),pdf_x2(n_pdfrw2),pdf_q2(n_pdfrw2-1))* |
| | 141 | / total_reweight_factor # corr. factor from MG run |
| | 142 | * 0 if (QCUT > SMIN or SMAX > max(QCUT, SCOMP)), otherwise 1 |