Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pymrun.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pymrun.f
1 
2 C*********************************************************************
3 
4 C...PYMRUN
5 C...Gives the running, current-algebra mass of a d, u, s, c or b quark,
6 C...for Higgs couplings. Everything else sent on to PYMASS.
7 
8  FUNCTION pymrun(KF,Q2)
9 
10 C...Double precision and integer declarations.
11  IMPLICIT DOUBLE PRECISION(a-h, o-z)
12  IMPLICIT INTEGER(i-n)
13  INTEGER pyk,pychge,pycomp
14 C...Commonblocks.
15  common/pydat1/mstu(200),paru(200),mstj(200),parj(200)
16  common/pydat2/kchg(500,4),pmas(500,4),parf(2000),vckm(4,4)
17  common/pypars/mstp(200),parp(200),msti(200),pari(200)
18  SAVE /pydat1/,/pydat2/,/pypars/
19 
20 C...Most masses not handled here.
21  kfa=iabs(kf)
22  IF(kfa.EQ.0.OR.kfa.GT.6) THEN
23  pymrun=pymass(kf)
24 
25 C...Current-algebra masses, but no Q2 dependence.
26  ELSEIF(mstp(37).NE.1.OR.mstp(2).LE.0) THEN
27  pymrun=parf(90+kfa)
28 
29 C...Running current-algebra masses.
30  ELSE
31  as=pyalps(q2)
32  pymrun=parf(90+kfa)*
33  & (log(max(4d0,parp(37)**2*parf(90+kfa)**2/paru(117)**2))/
34  & log(max(4d0,q2/paru(117)**2)))**(12d0/(33d0-2d0*mstu(118)))
35  ENDIF
36 
37  RETURN
38  END