Advertisement
Guest User

MC@NLO.inputs

a guest
Jan 26th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.13 KB | None | 0 0
  1. # This is a bash script that compiles and runs all of the MC@NLO codes.
  2. # On your system, you need:
  3. #
  4. # bash shell AND gmake
  5. #
  6. # which are rather standard (ask your system manager if they are not
  7. # available).
  8. #
  9. # HOW TO USE THIS SCRIPT:
  10. # Look for "physical parameters" and "other input parameters" in
  11. # in this file; they control all the inputs for the MC@NLO codes.
  12. # After having modified them to suit your needs, execute this
  13. # file from a bash shell. Notice that the only command in this
  14. # file is
  15. # runMCatNLO
  16. # which is what you need in order to obtain MC@NLO results. Other
  17. # commands are available: see at the bottom of this file for a
  18. # list of them. In this version, they are all commented out;
  19. # uncomment them if you need them.
  20. #
  21. # WHAT THE USER MUST DO PRIOR TO RUNNING
  22. # The files
  23. # mcatnlo_hwdriver.f mcatnlo_hwlhin.f
  24. # must be edited in order to insert the 'INCLUDE HERWIGXX.INC' command
  25. # relevant to the version of HERWIG your are going to use. The file(s)
  26. # mcatnlo_hwanXXX.f
  27. # contain sample analysis routines, and must be edited for the same reason.
  28. # Notice, however, that these analysis routines are provided here to furnish
  29. # a ready-to-run package, but they are identical to standard HERWIG analysis
  30. # routines, and should therefore be replaced with your analysis routines.
  31. # In this case, you will simply set the variable HWUTI (in this file) equal
  32. # to the list of object files you need in your routines.
  33. # Finally, the variable HERWIGVER below must be set equal to the name
  34. # of your preferred version of HERWIG (matching the one whose common
  35. # blocks are included in the files above)
  36.  
  37.  
  38. #
  39. #!/bin/bash
  40.  
  41.  
  42. #
  43. #
  44. # physical parameters
  45. #
  46. #
  47. # CM energy
  48. ECM=7000
  49.  
  50. # renormalization scale factor
  51. FREN=1
  52.  
  53. # factorization scale factor
  54. FFACT=1
  55.  
  56. # mass of the heavy quark (bottom for IPROC=-1705, top otherwise, including
  57. # Higgs production)
  58. HVQMASS=172.5
  59.  
  60. # width of the top. A negative entry will force the code to compute the width
  61. # at the LO in the SM, in ttbar and single top production and when the
  62. # tops decay
  63. TWIDTH=1.4
  64.  
  65. # W mass
  66. WMASS=80.42
  67.  
  68. # W width. A negative entry will force the code to compute the width
  69. # at the LO in the SM, in single top production (Wt channel) when the
  70. # top and W decay, and in WW production when the W's decay
  71. WWIDTH=2.124
  72.  
  73. # Z mass
  74. ZMASS=91.17
  75.  
  76. # Z width
  77. ZWIDTH=2.495
  78.  
  79. # branching ratio for Sum_j (top -> l nu_l b_j), with b_j any down-type
  80. # quark, and l a given lepton species. Lepton universality is assumed
  81. BRTOPTOLEP=0.1111
  82.  
  83. # branching ratio for Sum_ij (top -> u d_i b_j), with d_i and b_j any
  84. # down-type quarks. Flavour universality is assumed
  85. BRTOPTOHAD=0.3333
  86.  
  87. # branching ratio for W -> l nu_l, with l a given lepton species.
  88. # Lepton universality is assumed
  89. BRWTOLEP=0.1111
  90.  
  91. # branching ratio for Sum_i (W -> u d_i), with d_i any
  92. # down-type quarks. Flavour universality is assumed
  93. BRWTOHAD=0.3333
  94.  
  95. # branching ratio for Z -> e_l ebar_l, with l a given lepton species and
  96. # e a charged lepton. Lepton universality is assumed
  97. BRZTOEE=0.034
  98.  
  99. # Higgs mass
  100. HGGMASS=120
  101.  
  102. # Set IWIDTHHGG=0 in order to use a fixed Higgs width, IWIDTHHGG=1
  103. # for a running width according to hep-ph/9505211, IWIDTHHGG=2 for
  104. # a modified Breit-Wigner similar to Pythia, IWIDTHHGG=3 for the
  105. # NBW scheme of 1202.3638. When IWIDTHHGG=1, or IWIDTHHGG=3 and
  106. # HGGWIDTH<0, the branching ratios relevant to the decay mode specified
  107. # with IPROC are included, the total width is recomputed, and the
  108. # input in HGGWIDTH is ignored. Effective only for gg->H
  109. IWIDTHHGG=0
  110.  
  111. # Higgs width: MC@NLO does not compute the SM width associated with the
  112. # mass set in HGGMASS, except when IWIDTHHGG=1 for gg->H production.
  113. # In the other cases, the user must set the width by hand
  114. HGGWIDTH=0.0049
  115.  
  116. # In the computation of the Higgs cross section:
  117. # IBORNHGG=1 --> exact M_top dependence at the Born level;
  118. # IBORNHGG=2 --> M_top -> infinity;
  119. # IBORNHGG=3 --> exact M_top dependence in all matrix elements.
  120. IBORNHGG=3
  121.  
  122. # Mass of the b quark entering the loops in gg->H; used only when IBORNHGG=3
  123. HGGBMASS=0
  124.  
  125. # In the computation of the Higgs cross section:
  126. # IMODEHGG=0 --> keeps top, bottom, and interference contributions
  127. # IMODEHGG=1 --> discards |top|^2 contribution
  128. # Effective only when IBORNHGG=3
  129. IMODEHGG=0
  130.  
  131. # When the mass of a particle P is distributed according to Breit-Wigner
  132. # (which happens in production for the Drell Yan process if P is a W, Z,
  133. # or photon, and in decay if P is a top, a vector boson, or a Higgs),
  134. # the mass range is (if PGAMMAX>0)
  135. # M0_P - PGAMMAX * WIDTH < M_P < M0_P + PGAMMAX * WIDTH
  136. # with M0_P the pole mass of P, and WIDTH its width. If PGAMMAX<0 then
  137. # PMASSINF < M_P < PMASSSUP
  138. # Valid shell variables correspond to
  139. # P = V1, V2, T1, T2, H
  140. # for vector boson, top, and Higgs respectively. In the case of top decay,
  141. # the shell variables with prefix Vj are relevant to the W's emerging from
  142. # the decay of the top whose shell variables have prefix Tj.
  143. # When there is only one vector boson or one top in the final state,
  144. # the relevant shell variables have prefix V1 or T1. In the case of
  145. # vector boson pair production, the prefixes (V1,V2) correspond to (W+,W-),
  146. # (Z,Z), (W+,Z), and (W-,Z) for IPROC=-2850, -2860, -2870, and 2880
  147. # respectively. In the case of ttbar production, (T1,T2) correspond
  148. # to (t,tbar), and (V1,V2) to (W+,W-) emerging from (t,tbar) decays.
  149. # In the case of tW- production, T1 and V2 correspond to t and W- produced
  150. # in the hard reaction respectively (in version 3.4, off-shell effects are
  151. # however not implemented yet), and V1 to the W+ emerging from the t decay
  152. V1GAMMAX=30
  153. V1MASSINF=0
  154. V1MASSSUP=0
  155. V2GAMMAX=30
  156. V2MASSINF=0
  157. V2MASSSUP=0
  158. T1GAMMAX=30
  159. T1MASSINF=0
  160. T1MASSSUP=0
  161. T2GAMMAX=30
  162. T2MASSINF=0
  163. T2MASSSUP=0
  164. HGAMMAX=30
  165. HMASSINF=0
  166. HMASSSUP=0
  167.  
  168. # quark and gluon masses (used only by HERWIG)
  169. UMASS=0.32
  170. DMASS=0.32
  171. SMASS=0.5
  172. CMASS=1.55
  173. BMASS=4.95
  174. GMASS=0.75
  175.  
  176. # absolute values of the CKM matrix elements; used for single-top production
  177. # and subsequent top decay, and for top decay in ttbar production.
  178. # Set VUD=VUS=VUB=0 to use the defaults in the code
  179. VUD=0.9748
  180. VUS=0.2225
  181. VUB=0.0036
  182. VCD=0.2225
  183. VCS=0.9740
  184. VCB=0.041
  185. VTD=0.009
  186. VTS=0.0405
  187. VTB=0.9992
  188.  
  189. # anomalous coupling parameters; used only in the computation of the
  190. # WZ and WW cross sections. Set all equal to zero for SM cross sections
  191. DELG1Z=0
  192. DELKAPZ=0
  193. LAMANZ=0
  194. DELG1GMM=0
  195. DELKAPGMM=0
  196. LAMANGMM=0
  197. LAMFFAN=0
  198.  
  199. # Set CPLWGT=YES to compute the weights associated with the combinations
  200. # of anomalous couplings that enter the parametric representation of the
  201. # WZ or WW cross section; set CPLWGT=NO otherwise. Option CPLWGT=YES works
  202. # regardless of the values chosen for DELG1[Z/GMM], DELKAP[Z/GMM],
  203. # LAMAN[Z/GMM], and LAMFFAN
  204. CPLWGT=NO
  205.  
  206. # Set AEMRUN=YES to use running alpha_em, AEMRUN=NO to use the Thomson value
  207. AEMRUN=YES
  208.  
  209. # Set TYPEIORII=1 or 2 for a type I or type II 2HDM model respectively.
  210. # Used only in Ht production
  211. TYPEIORII=1
  212.  
  213. # Value of tan(beta). Used only in Ht production in type-II 2HDM models
  214. TANBETA=60
  215.  
  216. # Values of A and B, entering the tHb vertex in a type-I 2HDM model.
  217. # Used only in Ht production
  218. ACPL=1
  219. BCPL=1
  220.  
  221. # process number; MC@NLO process codes are negative. A positive process
  222. # code may be used (executing runMC) to run standard HERWIG
  223. IPROC=-11706
  224.  
  225. # vector boson code: IVCODE=-1,0,1 for W^-, Z, and W^+ respectively.
  226. # This variables is only used in WH and ZH production
  227. IVCODE=1
  228.  
  229. # IL1CODE determines the identities of decay products of tops or
  230. # vector bosons, when spin correlations are included.
  231. # Set IL1CODE=7 for undecayed vector bosons or tops.
  232. # IL1CODE is relevant to WH, ZH, single-top, ttbar, and vector boson
  233. # pair production; in the latter two cases, and in Wt/Ht production, the
  234. # variable IL2CODE is also needed. See the manual for a list of valid
  235. # values for IL1CODE and IL2CODE. In the case of VV, ttbar and Wt/Ht
  236. # production, (IL1CODE,IL2CODE) control the decays of (t,tbar), (t,W),
  237. # (t,H), (W+,W-), (Z,Z), (W+,Z), and (W-,Z) for IPROC=-1706, -2030, -2040,
  238. # -2850, -2860, -2870, and 2880 respectively
  239. IL1CODE=1
  240. IL2CODE=1
  241.  
  242. # type of top decay: set TOPDECAY=Wb to allow only t->Wb decays; set
  243. # TOPDECAY=ALL to allow all t->W+down-type-quark decays. In the latter
  244. # case, the flavour of the down quark is determined using the CKM
  245. # matrix elements entered here
  246. TOPDECAY=Wb
  247.  
  248. # set WTTYPE=REMOVAL to perform the computation of the Wt or Ht cross section
  249. # in the Diagram Removal (DR) scheme. Set WTTYPE=SUBTRACTION to use the
  250. # Diagram Subtraction (DS) scheme. See JHEP 0807:029,2008 [arXiv:0805.3067]
  251. # and JHEP 0911:074,2009 [arXiv:0908.0631] for Wt, and [arXiv:0912.3430]
  252. # (to appear on EJPC) for Ht
  253. WTTYPE=REMOVAL
  254.  
  255. # ptveto value, used for factorization scale computation if FFACT<0, and
  256. # for renormalization scale computation if FREN<0. Effective only for Wt
  257. PTVETO=50
  258.  
  259. # incoming left beam
  260. PART1=P
  261.  
  262. # incoming right beam
  263. PART2=P
  264.  
  265. # PDF group name; unused when linked to LHAPDF
  266. PDFGROUP=MRS
  267.  
  268. # PDF set number; use LHAGLUE conventions when linked to LHAPDF
  269. #PDFSET=10050
  270. PDFSET=LHAGLUE
  271.  
  272. # Lambda_5, used in NLO computations. A negative entry returns the value resulting from PDF fit.
  273. # WARNING: negative entries may lead to inconsistent results when using
  274. # PDFLIB or LHAPDF: use a positive entry when in doubt
  275. LAMBDAFIVE=-1
  276.  
  277. # Scheme
  278. SCHEMEOFPDF=MS
  279.  
  280. # Lambda_5, used by HERWIG. A negative entry returns the HERWIG default value
  281. LAMBDAHERW=-1
  282.  
  283. #
  284. #
  285. # other input parameters
  286. #
  287. #
  288.  
  289. # prefix for BASES files; relevant to the integration step
  290. FPREFIX=ttb
  291.  
  292. # prefix for event file; relevant to the event generation step
  293. EVPREFIX=ttb
  294.  
  295. # prefix for the NLO and MC executables
  296. EXEPREFIX=ttb
  297.  
  298. # number of events; set it to 0 to skip the event generation step
  299. NEVENTS=50
  300.  
  301. # set MCMODE=HW6 for HERWIG6 (Fortran) MCMODE=HWPP for HERWIG++
  302. MCMODE=HWPP
  303.  
  304. # 0 for weights=+1/-1, 1 for weights whose sum is the total rate
  305. WGTTYPE=1
  306.  
  307. # seed for random numbers in the generation of events. 0 is default
  308. RNDEVSEED=0
  309.  
  310. # set BASES=ON to perform integration, =OFF to skip the integration step
  311. BASES=ON
  312.  
  313. # set PDFLIBRARY=THISLIB, =PDFLIB, or =LHAPDF to obtain PDFs from our
  314. # private PDF library, from PDFLIB or from LHAPDF respectively
  315. PDFLIBRARY=THISLIB
  316.  
  317. # set HERPDF=DEFAULT to use HERWIG default PDFs, HERPDF=EXTPDF to use
  318. # the same PDFs as used in the NLO; the setting of this parameter is
  319. # independent of the setting of PDFLIBRARY
  320. HERPDF=EXTPDF
  321.  
  322. # the variable HWPATH must be set equal to the name of directory
  323. # which contains the version of HERWIG the user wants to link
  324. # to his code
  325. HWPATH="/home/acampoverde/Programs/Herwig++/"
  326.  
  327. # the variable HWPPPATH must be set equal to the name of directory
  328. # under which one finds the ./bin/Herwig++ executable
  329. HWPPPATH="/home/acampoverde/Programs/Herwig++/bin/"
  330.  
  331. # the variable THEPEGPATH must be set equal to the name of directory
  332. # under which one finds the ./lib/ThePeg libraries
  333. THEPEGPATH="/home/acampoverde/Programs/ThePEG/"
  334.  
  335. # the variable HEPMCPATH must be set equal to the name of directory
  336. # under which one finds the ./lib/HepMC libraries
  337. HEPMCPATH="/home/acampoverde/Programs/HepMC/lib/"
  338.  
  339. # prepend this string to prefixes to avoid storage problems
  340. # leave blank to store event and data files in the running directory
  341. SCRTCH=
  342.  
  343. # set the following variable equal to the list of object files that
  344. # you need when using HERWIG6 (for analysis purposes, for example),
  345. # or those that originate from fortran files which are linked to
  346. # an HERWIG++ analysis
  347. #HWUTI="mcatnlo_hwantop.o mcatnlo_hbook.o"
  348.  
  349. # set the following variable equal to the name of the .cc analyzer file
  350. # you need when using HERWIG++
  351. HWPPANALYZER=HiggsAnalysis
  352.  
  353. # set the following variable equal to the name of the version of
  354. # HERWIG6 that you use
  355. #HERWIGVER="herwig6521.o"
  356.  
  357. # set the following variable equal to the name of the directory where
  358. # the PDF grid files are stored. Effective only if PDFLIBRARY=THISLIB
  359. PDFPATH="/home/acampoverde/Programs/LHAPDF/share/LHAPDF/cteq6l1"
  360.  
  361. # set the following variable equal to STATIC or DYNAMIC according to
  362. # the type of LHAPDF library one wants to link to
  363. LHALINK=DYNAMIC
  364.  
  365. # set the following variable equal to the name of the directory where
  366. # the local version of LHAPDF is installed. We assume that the library,
  367. # PDF sets, and configuration script are located in lib/,
  368. # share/lhapdf/PDFsets/, and bin/ respectively
  369. LHALIBPATH="/home/acampoverde/Programs/LHAPDF/"
  370.  
  371. # set LHAOFL=FREEZE to freeze PDFs from LHAPDF at the boundaries,
  372. # =EXTRAPOLATE otherwise. This variable is related to LHAPARM(18)
  373. LHAOFL=FREEZE
  374.  
  375. # set the following variable equal to the names of the libraries which
  376. # need be linked. Library names are separated by white spaces.
  377. # Note: LHAPDF is a special case, and must not be included here
  378. EXTRALIBS=
  379.  
  380. # set the following variable equal to the paths to the libraries which
  381. # need be linked. Library paths are separated by white spaces.
  382. # Note: LHAPDF is a special case, and must not be included here
  383. EXTRAPATHS=
  384.  
  385. # set the following variable equal to the paths to the directories which
  386. # contain header files needed by C++ files. Directory names are separated
  387. # by white spaces
  388. INCLUDEPATHS=
  389.  
  390. #
  391. #
  392. #
  393. # NOW LOAD THE SCRIPTS: DO NOT REMOVE THESE LINES
  394. thisdir=`pwd`
  395. if [ $MCMODE = "HWPP" ] ; then
  396. . $thisdir/MCatNLO_pp.Script
  397. elif [ $MCMODE = "HW6" ] ; then
  398. . $thisdir/MCatNLO.Script
  399. else
  400. echo "Wrong MCMODE, can only be HW6 or HWPP"
  401. exit
  402. fi
  403. #
  404. #
  405. #
  406. #
  407.  
  408. #
  409. #
  410. # HERE, WRITE THE NAME OF THE SHELL FUNCTION THAT YOU NEED TO
  411. # EXECUTE CHOOSING AMONG (ONLY ONE AT A TIME):
  412. #
  413. # runMCatNLO runNLO runMC compileNLO compileMC
  414. #
  415. # THEIR MEANINGS ARE DESCRIBED IN WHAT FOLLOWS
  416. #
  417. #
  418. # the following compiles and runs both the NLO and MC codes
  419. runMCatNLO
  420.  
  421. # the following compiles and runs the NLO only (thus, the event file
  422. # is written, but not read by HERWIG)
  423. # runNLO
  424.  
  425. # the following compiles and runs the MC only (thus, the event file must
  426. # be already present, otherwise the program crashes)
  427. # runMC
  428.  
  429. # the following compiles NLO code
  430. # compileNLO
  431.  
  432. # the following compiles MC code
  433. # compileMC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement