-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplit.F
More file actions
1650 lines (1604 loc) · 51.9 KB
/
split.F
File metadata and controls
1650 lines (1604 loc) · 51.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
* =====================================================================
*
* Splitting Functions for P_{qq}^{NS}, P_{qq}^{PS}, P_{qg}, P_{gq}
* and P_{gg}
*
* =====================================================================
*
* This file contains the exact functions up to NNLO and then some
* approximations for the N3LO contributions based on available
* moments.
*
* J. M. - 11/11/2020
*
* =====================================================================
* LO
* =====================================================================
* P_{qq}^{NS}
* ---------------------------------------------------------------------
*
*
*
FUNCTION Pqqns0A(X)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CF = 4./3.
*
Pqqns0A = - 2*CF*(1. + X)
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
*
FUNCTION Pqqns0B(X)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CF = 4./3.
*
Pqqns0B = 2*CF*(2./(1.-X))
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
*
FUNCTION Pqqns0C(X)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CF = 4./3.
AL1 = LOG(1.-X)
*
Pqqns0C = 2.*CF*(3./2. + 2 * AL1)
*
RETURN
END
*
* =====================================================================
* P_{qg}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pqg0A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
TR = 1./2.
*
Pqg0A = 4.*TR*FLAVOR*(X**2. + (1. - X)**2.)
*
RETURN
END
*
* =====================================================================
* P_{gq}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgq0A(x)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CF = 4./3.
*
Pqg0A = 2.*CF*(1. + (1 - X)**2.) / X
*
RETURN
END
*
* =====================================================================
* P_{gg}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg0A(X)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CA = 3.
*
Pgg0A = 4.*CA*(1./X - 2. + X * (1. - X))
*
RETURN
END
*
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg0B(X)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CA = 3.
*
Pgg0B = 4.*CA*(1./(1. - X))
*
RETURN
END
*
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg0C(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
CA = 3.
TR = 1./2.
AL1 = LOG(1.-X)
*
Pgg0C = 2.*(11.*CA - 4.*FLAVOR*TR)/6. + 4.*CA*AL1
*
RETURN
END
*
* =====================================================================
* NLO
* =====================================================================
* P_{qq}^{NS}
! ---------------------------------------------------------------------
*
FUNCTION PqqVns1A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
*
PQQ = 2./(1.-X) - 1.-X
PQQA = -1.-X
term1 = CF**2.*(-(2.*AL*AL1 + (3./2.)*AL)*PQQ - ((3./2.)
.+ (7./2.)*X)*AL - (1./2.)*(1.+X)*AL**2. - 5.*(1.-X))
*
term2 = CF*CA*(((1./2.)*AL**2. + (11./6.)*AL)*PQQ + ((67./18.)
.- PI2/6.)*PQQA + (1.+X)*AL + (20./3.)*(1.-X))
*
term3 = CF*TF*(-(2./3.)*AL*PQQ - (10./9.)*PQQA - (4./3.)*(1.-X))
*
PqqVns1A = 4.*(term1 + term2 + term3)
*
RETURN
END
*
! ---------------------------------------------------------------------
*
FUNCTION PqqVbarns1A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
*
PQQ_M = 2./(1.+X) - 1.+X
*
PqqVbarns1A = 4.*CF*(CF - CA/2.)*(2.*PQQ_M*S2(X) + 2.*(1.+X)*AL
.+ 4.*(1.-X))
*
RETURN
END
*
! ---------------------------------------------------------------------
*
FUNCTION PqqVns1B(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
PQQB = 2./(1.-X)
*
PqqVns1B = 4.*(CF*CA*(67./18. - PI2/6.)*PQQB + CF*TF*(-10./9.)*PQQB)
*
RETURN
END
*
! ---------------------------------------------------------------------
*
FUNCTION Pqqns1C(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
Z3 = 1.2021
AL1 = LOG(1.-X)
term1 = 4.*(CF*CA*(67./18. - PI2/6.)*2.*AL1
.+ CF*TF*(-10./9.)*2.*AL1)
*
term2 = 4.*(CF**2.*((3./8.) - PI2/2. + 6.*Z3)
.+ CF*CA*(17./24. + (11./18.)*PI2 - 3.*Z3) - CF*TF*((1./6.)
.+ (2./9.)*PI2))
*
Pqqns1C = term1 + term2
RETURN
END
*
* =====================================================================
* P_{qq}^{PS}
* ---------------------------------------------------------------------
*
*
*
FUNCTION Pqqps1A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
*
Pqqps1A = 4.*(CF*TF*(-16./3. + (40./3.)*X + (10.*X + (16./3.)*X**2.
.+ 2.)*AL - (112./9.)*X**2. + (40./(9.*X)) - 2.*(1.+X)*AL**2.
.+ (4./3.)*(1.-X)))
*
RETURN
END
*
* =====================================================================
* P_{qg}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pqg1A(Z, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
ALZ = LOG(Z)
AL1 = LOG(1.-Z)
*
Pqg1A = -4.*CF*TF*(-14.+29.*Z-20.*Z*Z-(3.-4.*Z+8.*Z*Z)*ALZ-
.(1.-2.*Z+4.*Z*Z)*ALZ**2-8.*Z*(1.-Z)*AL1+2.*(1.-2.*Z+2.*Z*Z)*
.(2.*ALZ*AL1+PI2/3.-AL1**2))-4.*CA*TF*(-2./9.*(20./Z-18.+225.*Z-
.218.*Z*Z)-2./3.*(3.+24.*Z+44.*Z*Z)*ALZ+(3.+6.*Z+2.*Z*Z)*
.ALZ**2+8.*Z*(1.-Z)*AL1+(1.-2.*Z+2.*Z*Z)*(2*AL1**2-PI2/3.)
.-2.*(1.+2.*Z+2.*Z*Z)*S2(Z))
*
RETURN
END
*
* =====================================================================
* P_{gq}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgq1A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
*
Pgq1A = -4.*(4./3.*CF*TF*(2./3.*(5./X - 5. + 4.*X)+(2./X - 2. + X)*AL1)
.+ (1./2.)*CF*CF*(5. + 7.*X-(4. + 7.*X)*AL + 2.*(6./X - 6. + 5*X)*AL1
.+ (2. - X)*AL**2 + 2.*(2./X - 2. + X)*AL1**2.) + CA*CF*(-1./9.*(9./X + 19.
.+ 37.*X + 44.*X*X)+1./3.*(36. + 15.*X + 8.*X*X)*AL-.5*(2./X + 6.
.+ 3.*X)*AL**2. - 1./3.*(22./X - 22. + 17.*X)*AL1 + (2./X - 2. + X)*(
.2.*AL*AL1 + PI2/6. - AL1**2.) + (2./X + 2. + X)*S2(X)))
*
RETURN
END
*
* =====================================================================
* P_{gg}
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg1A(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
PGG = 1./(1.-X) + (1./X) - 2. + X*(1.-X)
PGG_M = 1./(1.+X) - (1./X) - 2. - X*(1.+X)
PGGA = (1./X) - 2. + X*(1.-X)
*
term1 = CF*TF*(-16. + 8.*X + (20./3.)*X**2. + (4./3.)*(1./x) - (6.
.+ 10.*X)*AL - (2. + 2.*X)*AL**2.)
*
term2 = CA*TF*(2. - 2.*X + (26./9.)*(X**2. - (1./X)) - (4./3.)*(1.+X)*AL
.- (20./9.)*PGGA)
*
term3 = CA**2.*((27./2.)*(1.-X) + (67./9.)*(X**2. - (1./X)) - ((25./3.)
.- (11./3.)*X + (44./3.)*X**2.)*AL + 4.*(1. + X)*AL**2. + 2.*PGG_M*S2(x)
.+ (-4.*AL*AL1 + AL**2.)*PGG + ((67./9.) - PI2/3.)*PGGA)
*
Pgg1A = 4.*(term1 + term2 + term3)
*
RETURN
END
*
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg1B(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
*
AL = LOG(X)
AL1 = LOG(1.-X)
PGGB = 1./(1.-X)
*
term2b = CA*TF*(- (20./9.)*PGGB)
*
term3b = CA**2.*(((67./9.) - PI2/3.)*PGGB)
*
Pgg1B = 4.*(term2b + term3b)
*
RETURN
END
*
! ---------------------------------------------------------------------
*
*
*
FUNCTION Pgg1C(X, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CF = 4./3.
CA = 3.
TR = 1./2.
TF = TR*FLAVOR
Z3 = 1.2021
*
AL = LOG(X)
AL1 = LOG(1.-X)
*
term2b = CA*TF*(- (20./9.)*AL1)
*
term3b = CA**2.*(((67./9.) - PI2/3.)*AL1)
*
Pgg1C = 4.*(term2b + term3b) + 4.*(CA**2.*((8./3.) + 3.*Z3)
.- CF*TF - (4./3.)*CA*TF)
*
RETURN
END
*
* =====================================================================
* NNLO
* =====================================================================
* P_{qq}^{NS}
! ---------------------------------------------------------------------
C ===================================================================
*
* ..File: xpns2p.f
*
* __
* ..The parametrized 3-loop MS non-singlet splitting functions P^(2)
* for the evolution of unpolarized partons densities, mu_r = mu_f.
* The expansion parameter is alpha_s/(4 pi).
*
* ..The distributions (in the mathematical sense) are given as in eq.
* (B.26) of Floratos, Kounnas, Lacaze: Nucl. Phys. B192 (1981) 417.
* The name-endings A, B, and C of the functions below correspond to
* the kernel superscripts [2], [3], and [1] in that equation.
*
* ..The relative accuracy of these parametrizations, as well as of
* the convolution results, is better than one part in thousand.
*
* ..References: S. Moch, J. Vermaseren and A. Vogt,
* hep-ph/0209100 = Nucl. Phys. B646 (2002) 181,
* hep-ph/0403192 (submitted to Nucl. Phys. B)
*
* =====================================================================
*
*
* ..This is the regular piece of P2_NS+. The rational coefficients are
* exact, the rest has been fitted for x between 10^-6 and 1 - 10^-6.
* The N_f^2 part is exact and was first determined in N-space by
* J.A. Gracey in Phys. Lett. B322 (1994) 141.
*
FUNCTION P2NSPA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
D81 = 1./81.D0
*
P2NSPA = 1641.1 - 3135.* Y + 243.6 * Y**2 - 522.1 * Y**3
, + 128.*D81 * DL**4 + 2400.*D81 * DL**3
, + 294.9 * DL**2 + 1258.* DL
, + 714.1 * DL1 + DL*DL1 * (563.9 + 256.8 * DL)
, + NF * ( -197.0 + 381.1 * Y + 72.94 * Y**2 + 44.79 * Y**3
, - 192.*D81 * DL**3 - 2608.*D81 * DL**2 - 152.6 * DL
, - 5120.*D81 * DL1 - 56.66 * DL*DL1 - 1.497 * Y*DL**3 )
, + NF**2 * ( 32.* Y*DL/(1.-Y) * (3.* DL + 10.) + 64.
, + (48.* DL**2 + 352.* DL + 384.) * (1.-Y) ) * D81
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..This is the regular piece of P2_NS-. The rational coefficients are
* exact, the rest has been fitted for x between 10^-6 and 1 - 10^-6.
* The N_f^2 part is exact (and identical to that of P2_NS+).
*
FUNCTION P2NSMA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
D81 = 1./81.D0
*
P2NSMA = 1860.2 - 3505.* Y + 297.0 * Y**2 - 433.2 * Y**3
, + 116.*D81 * DL**4 + 2880.*D81 * DL**3
, + 399.2 * DL**2 + 1465.2 * DL
, + 714.1 * DL1 + DL*DL1 * (684.0 + 251.2 * DL)
, + NF * ( -216.62 + 406.5 * Y + 77.89 * Y**2 + 34.76 * Y**3
, - 256.*D81 * DL**3 - 3216.*D81 * DL**2 - 172.69 * DL
, - 5120.*D81 * DL1 - 65.43 * DL*DL1 - 1.136 * Y*DL**3 )
, + NF**2 * ( 32.* Y*DL/(1.-Y) * (3.* DL + 10.) + 64.
, + (48.* DL**2 + 352.* DL + 384.) * (1.-Y) ) * D81
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..This is the singular piece of both P2_NS+ and P2_NS-. It is exact
* up to the truncation of the irrational coefficients.
*
FUNCTION P2NSB (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER NF
*
P2NSB = ( 1174.898 - NF * 183.187 - NF**2 * 64./81.D0 ) / (1.-Y)
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..This is the 'local' piece of P2_NS+. The coefficients of delta(1-x)
* have been partly shifted relative to the exact (truncated) values.
*
FUNCTION P2NSPC (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER NF
*
DL1 = LOG (1.-Y)
*
P2NSPC = 1174.898 * DL1 + 1295.624 - 0.24
, - NF * ( 183.187 * DL1 + 173.938 - 0.011 )
, + NF**2 * ( - 64./81.D0 * DL1 + 1.13067 )
*
RETURN
END
*
*
* ---------------------------------------------------------------------
*
*
* ..This is the 'local' piece of P2_NS-. The coefficients of delta(1-x)
* have been partly shifted relative to the exact (truncated) values.
*
FUNCTION P2NSMC (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER NF
*
DL1 = LOG (1.-Y)
*
P2NSMC = 1174.898 * DL1 + 1295.624 - 0.154
, - NF * ( 183.187 * DL1 + 173.938 - 0.005 )
, + NF**2 * ( - 64./81.D0 * DL1 + 1.13067 )
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..This is P2_NSS, the difference of P2_NSV and P2_NS-.
*
FUNCTION P2NSSA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
D27 = 1./27.D0
DL = LOG (Y)
Y1 = 1.- Y
DL1 = LOG (Y1)
*
P2NSSA = Y1* ( 151.49 + 44.51 * Y - 43.12 * Y**2 + 4.820 * Y**3 )
1 + 40.*D27 * DL**4 - 80.*D27 * DL**3 + 6.892 * DL**2
2 + 178.04 * DL + DL*DL1 * ( - 173.1 + 46.18 * DL )
4 + Y1*DL1 * ( - 163.9 / Y - 7.208 * Y )
*
P2NSSA = NF * P2NSSA
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
*
*
function p2nsa(y,ipm,nf)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
ipm2=ipm*ipm
p2nsa = 0.d0 ! G.W. 07/05/2007
c$$$ if(ipm2.ne.1) go to 1
if(ipm2.ne.1.and.ipm.ne.-2) go to 1 ! G.W. 04/07/2007
if(ipm.eq.1) p2nsa=p2nspa(y,nf)
if(ipm.eq.-1) p2nsa=p2nsma(y,nf)
c$$$ if(ipm.eq.-2) p2nsa=p2nsma(y,nf)+p2nssa(y,nf) ! G.W. 04/07/2007
if(ipm.eq.-2) p2nsa=p2nsma(y,nf)+p2nssa(y,2) ! G.W. 05/07/2007
return
1 print 99,ipm
stop
99 format(1x,'ipm=',i3)
end
*
* ---------------------------------------------------------------------
*
*
*
*
function p2nsc(y,ipm,nf)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
ipm2=ipm*ipm
p2nsc = 0.d0 ! G.W. 07/05/2007
c$$$ if(ipm2.ne.1) go to 1
if(ipm2.ne.1.and.ipm.ne.-2) go to 1 ! G.W. 04/07/2007
if(ipm.eq.1) p2nsc=p2nspc(y,nf)
if(ipm.eq.-1) p2nsc=p2nsmc(y,nf)
if(ipm.eq.-2) p2nsc=p2nsmc(y,nf) ! G.W. 04/07/2007
return
1 print 99,ipm
stop
99 format(1x,'ipm=',i3)
end
*
* =====================================================================
* P_{qq}^{PS}
* ---------------------------------------------------------------------
* =================================================================av==
*
* ..File: xpij2p.f
*
* __
* ..The parametrized 3-loop MS singlet splitting functions P^(2) for
* the evolution of unpol. singlet parton densities at mu_r = mu_f.
* The expansion parameter is alpha_s/(4 pi).
*
* ..The distributions (in the mathematical sense) are given as in eq.
* (B.27) of Floratos, Kounnas, Lacaze: Nucl. Phys. B192 (1981) 417.
* The name-endings A, B, and C of the functions below correspond to
* the kernel superscripts [2], [3], and [1] in that equation.
*
* ..The relative accuracy of these parametrisations, as well as of
* the convolution results, is better than one part in thousand.
* ..The coefficients of 1/(1-x)_+, (ln x)/x and 1/x are exact (up
* to a truncation of irrational coefficients). Furthermore all
* coefficients written as fractions (e.g., 160./27.D0) are exact.
* The other terms at x < 1 have fitted to the exact results for x
* between 10^-6 and 1 - 10^-6. The coefficient of delta(1-x) of
* P_gg^(2) have been slightly adjusted using the second moments.
*
* ..References: S. Moch, J. Vermaseren and A. Vogt,
* hep-ph/0403192 (to appear in Nucl. Phys. B)
* A. Vogt, S. Moch and J. Vermaseren,
* hep-ph/0404111 (submitted to Nucl. Phys. B)
*
* =====================================================================
*
*
* ..The (regular) pure-singlet splitting functions P_ps^(2).
* P_qq^(2) is obtained by adding the non-singlet quantity P_NS^(2)+.
* A parametrization of the latter is provided in the file xpns2p.f.
FUNCTION P2PSA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
*
P2PS1 = - 3584./(27.D0*Y) * DL - 506.0/ Y + 160./27.D0 * DL**4
, - 400./9.D0 * DL**3 + 131.4 * DL**2 - 661.6 * DL
, - 5.926 * DL1**3 - 9.751 * DL1**2 - 72.11 * DL1
, + 177.4 + 392.9 * Y - 101.4 * Y**2 - 57.04 * DL*DL1
P2PS2 = 256./(81.*Y) + 32./27.D0 * DL**3 + 17.89 * DL**2
, + 61.75 * DL + 1.778 * DL1**2 + 5.944 * DL1 + 100.1
, - 125.2 * Y + 49.26 * Y**2 - 12.59 * Y**3
, - 1.889 * DL*DL1
*
P2PSA = (1.-Y) * ( P2PS1 + NF * P2PS2 )
*
RETURN
END
*
* =====================================================================
* P_{qg}
! ---------------------------------------------------------------------
*
*
* ..The gluon->quark splitting functions P_qg^(2).
*
FUNCTION P2QGA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
*
P2QG1 = - 896./(3.D0*Y) * DL - 1268.3 / Y + 536./27.D0 * DL**4
, - 44./3.D0 * DL**3 + 881.5 * DL**2 + 424.9 * DL
, + 100./27.D0 * DL1**4 - 70./9.D0 * DL1**3
, - 120.5 * DL1**2 + 104.42 * DL1
, + 2522. - 3316.* Y + 2126.* Y**2
, + DL*DL1 * (1823. - 25.22 * DL) - 252.5 * Y*DL**3
P2QG2 = 1112./(243.D0*Y) - 16./9.D0 * DL**4
, - 376./27.D0 * DL**3 - 90.8 * DL**2 - 254.0 * DL
, + 20./27.D0 * DL1**3 + 200./27.D0 * DL1**2 - 5.496 * DL1
, - 252.0 + 158.0 * Y + 145.4 * Y**2 - 139.28 * Y**3
, - DL*DL1 * ( 53.09 + 80.616 * DL) - 98.07 * Y*DL**2
, + 11.70 * Y*DL**3
*
P2QGA = ( P2QG1 + NF * P2QG2 )
*
RETURN
END
*
* =====================================================================
* P_{gq}
! ---------------------------------------------------------------------
*
*
* ..The quark->gluon splitting functions P_gq^(2). P2GQ2 is exact.
*
FUNCTION P2GQA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
*
P2GQ0 = 1189.3 * DL/Y + 6163.1 / Y - 4288./81.D0 * DL**4
, + 1568./9.D0 * DL**3 - 1794. * DL**2 + 4033. * DL
, + 400./81.D0 * DL1**4 + 2200./27.D0 * DL1**3
, + 606.3 * DL1**2 + 2193.* DL1
, - 4307. + 489.3 * Y + 1452.* Y**2 + 146.0 * Y**3
, - 447.3 * DL**2*DL1 - 972.9 * Y*DL**2
P2GQ1 = 71.082 * DL/Y - 46.41 / Y + 128./27.D0 * DL**4
, + 704/81.D0 * DL**3 + 20.39 * DL**2 + 174.8 * DL
, - 400./81.D0 * DL1**3 - 68.069 * DL1**2 - 296.7 * DL1
, - 183.8 + 33.35 * Y - 277.9 * Y**2 + 108.6 * Y*DL**2
, - 49.68 * DL*DL1
P2GQ2 = ( 64. * ( - 1./Y + 1. + 2.* Y)
, + 320.* DL1 * ( 1./Y - 1. + 0.8 * Y)
, + 96.* DL1**2 * ( 1./Y - 1. + 0.5 * Y) ) / 27.D0
*
P2GQA = ( P2GQ0 + NF * (P2GQ1 + NF * P2GQ2) )
*
RETURN
END
*
* =====================================================================
* P_{gg}
! ---------------------------------------------------------------------
*
*
* ..The regular piece of the gluon-gluon splitting function P_gg^(2).
*
FUNCTION P2GGA (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
DL = LOG (Y)
DL1 = LOG (1.-Y)
*
P2GGA0 = 2675.8 * DL/Y + 14214./ Y - 144. * DL**4 + 72. * DL**3
1 - 7471. * DL**2 + 274.4 * DL + 3589. * DL1 - 20852.
2 + 3968.* Y - 3363. * Y**2 + 4848. * Y**3
3 + DL*DL1 * ( 7305. + 8757. * DL )
P2GGA1 = 157.27 * DL/Y + 182.96 / Y + 512./27.D0 * DL**4
1 + 832./9.D0 * DL**3 + 491.3 * DL**2 + 1541. * DL
2 - 320.0 * DL1 - 350.2 + 755.7 * Y - 713.8 * Y**2
3 + 559.3 * Y**3 + DL*DL1 * ( 26.15 - 808.7 * DL )
P2GGA2 = - 680./(243.D0 * Y) - 32./27.D0 * DL**3 + 9.680 * DL**2
1 - 3.422 * DL - 13.878 + 153.4 * Y - 187.7 * Y**2
2 + 52.75 * Y**3 - DL*DL1 * (115.6 - 85.25* Y + 63.23* DL)
*
P2GGA = P2GGA0 + NF * ( P2GGA1 + NF * P2GGA2 )
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..The singular piece of the gluon-gluon splitting function P_gg^(2).
*
FUNCTION P2GGB (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
P2GGB = ( 2643.521 - NF * 412.172 - NF**2 * 16./9.D0 ) / ( 1.-Y)
*
RETURN
END
*
* ---------------------------------------------------------------------
*
*
* ..The 'local' piece of the gluon-gluon splitting function P_gg^(2).
*
FUNCTION P2GGC (Y, NF)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
*
INTEGER NF
*
DL1 = LOG (1.-Y)
*
P2GGC = 2643.521 * DL1 + 4425.448 + 0.446
, - NF * ( 412.172 * DL1 + 528.720 + 0.003 )
, + NF**2 * ( - 16./9.D0 * DL1 + 6.4630)
*
RETURN
END
*
* =====================================================================
* =====================================================================
* N3LO
* =====================================================================
*
* This code is provided as supplementary material to the MSHT20
* approximate N3LO PDFs.
*
* These approximations are not exact and allow for a level of
* variation by the input parameter "a" in all cases. These
* subroutines here use a simple method of simultaneous equations in
* order to produce the approximations and therefore may well
* be superseded in the future by more robust and equally/more
* efficient approximations or indeed, the exact functions when
* available.
*
* Please refer to arXiv:2207.XXXX for the full details of how these
* approximations are determined.
*
* Note that these can and will be continually updated with any
* extra exact calculations that are made available, which will
* increase the accuracy of these approximations.
*
* When using these approximations, please reference the following.
*
* References:
* J. McGowan, et. al., arXiv:2207.XXXXXX
* S. Moch, et. al., arXiv:1707.08315
* A. Vogt, et. al., arXiv:1808.08981
* S. Catani, et. al., hep-ph/9405388
* L. N. Lipatov, Sov. J. Nucl. Phys. (1976)
* E. A. Kuraev, et. al., JETP (1977)
* I. I. Balitsky, et. al., Sov. J. Nucl. Phys. (1978)
* V. S. Fadin, et. al., hep-ph/9802290
* M. Ciafaloni, et. al., hep-ph/9803389
*
*
* ---------------------------------------------------------------------
* P_{qq}^{NS}
* ---------------------------------------------------------------------
*
* Contribution from approximate four-loop splitting function with
* variational parameter (0 < aNS < 0.014). This is a subroutine and
* outputs a regular and plus distribution part of the approximation.
*
* J. M. - 11/07/2022
*
SUBROUTINE Pqqns3PAB(x, a, FLAVOR, PnsN3LOresult, PnsN3LOplus)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
INTEGER n_dimension
DOUBLE PRECISION N(8), C(8), N_exact(8), N_a(8), inv_A(8, 8)
DATA PI,PI2/3.14159,9.8696/
*
n_dimension=8
*
* Moments for the known exact small-x and large-x contributions (Vogt)
N_exact(1) = -0.00021211D0 - FLAVOR*(0.1654801313006386D0 + 0.20740623526104135D0
.-0.1502823524D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.004654314166031352D0 -0.007842937752425193D0
.+ 4.7723213922D-03 + 7.774039377D-03)
.- FLAVOR**3.*(-6.62104090137594D-05 - 0.0001312258806063389D0
.+ 7.653104787D-05 + 1.209052801D-04)
N_exact(2) = -0.00021141D0 - FLAVOR*(0.11120681844515805D0 + 0.3802447646452425D0
.-0.2688473229D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(9.571697043D-03 + 7.774039377D-03 -0.0029670140315604917D0
.-0.014378719212779521D0)
.- FLAVOR**3.*(-3.609651149299798D-05 -0.00024058078111162135D0
.+ 1.55772043D-04 + 1.209052801D-04)
N_exact(3) = -0.00021069D0 - FLAVOR*(0.08533032993183774D0 + 0.4735775705127111D0
.-0.3363034306D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(0.01237066021D0 + 7.774039377D-03
.- 0.002236654071582081D0 -0.01790804120137086D0)
.- FLAVOR**3.*(-2.4727034394311423D-05 -0.0002996324273844739D0
.+ 2.034542201D-04 + 1.209052801D-04)
N_exact(4) = -0.00020986D0 - FLAVOR*(0.06978655862237221D0 + 0.5377747385697003D0
.-0.3849568093D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.001806806533621782D0 -0.020335617172359613D0
.+ 0.01436839622D0 + 7.774039377D-03)
.- FLAVOR**3.*(-1.875753442493042D-05 -0.00034024996185786445D0
.+ 2.381022604D-04 + 1.209052801D-04)
N_exact(5) = -0.00020809D0 - FLAVOR*(0.059311724466073266D0 + 0.5867456552285572D0
.-0.4234530704D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.0015200868207649136D0 -0.02218742191946D0
.+ 0.01593349271D0 + 7.774039377D-03)
.- FLAVOR**3.*(-1.5092063174265756D-05 - 0.0003712338503343612D0
.+ 2.654206822D-04 + 1.209052801D-04)
N_exact(6) = -0.0002073D0 - FLAVOR*(0.0517320184770643D0 + 0.6263413910511195D0
.-0.4554694245D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.001314205205204153D0 -0.023684710035832085D0
.+ 0.0172249122D0 + 7.774039377D-03)
.- FLAVOR**3.*(-1.2617371403920047D-05 -0.0003962860639046623D0
.+ 2.879982076D-04 + 1.209052801D-04)
N_exact(7) = -0.00020562D0 - FLAVOR*(0.045972268757607376D0 + 0.6595795697788507D0
.-0.4829482701D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.0011588022146498728D0 -0.024941591085900227D0
.+ 0.0183264033D0 + 7.774039377D-03)
.- FLAVOR**3.*(-1.0836262424080888D-05 -0.0004173158524633704D0 + 3.072468902D-04 + 1.209052801D-04)
N_exact(8) = -0.00020381D0 - FLAVOR*(0.04143575048971359D0 + 0.6882213832196611D0
.-0.5070540331D0 + 0.01076711056D0 - 0.2333500675D0)
.- FLAVOR**2.*(-0.0010371493846056854D0 -0.026024663442187512D0
.+ 0.01928783511D0 + 7.774039377D-03)
.- FLAVOR**3.*(-9.493881167514427D-06 -0.00043543752168996016D0
.+ 3.240261808D-04 + 1.209052801D-04)
*
* Moments for the varied function multiplied by a (ln^3(x))
N_a(1) = -0.375D0
N_a(2) = -0.0234375D0
N_a(3) = -0.004629629629528962D0
N_a(4) = -0.0014648437499999065D0
N_a(5) = -0.0005999999999999996D0
N_a(6) = -0.0002893518518518518D0
N_a(7) = -0.00015618492294877136D0
N_a(8) = -9.155273437499997D-05
*
DO i=1, n_dimension
N(i) = N_exact(i) - a * N_a(i)
ENDDO
*
inv_A = reshape((/9.67452285D-02, 7.12205880D03, 2.55568773D03,
& 4.41612871D02, -3.63251998D02, 8.54599881D03,
& -8.03082218D03, 5.66780493D01, -1.10377154D01,
& -7.11199538D05, -2.58657431D05, -4.59602884D04,
& 2.63108547D04, -8.24798082D05, 7.81924565D05,
& -3.25280541D03, 1.99489100D02, 1.15489637D07,
& 4.23773320D06, 7.69318756D05, -3.54975874D05,
& 1.31604354D07, -1.25178270D07, 4.09448382D04,
& -1.28368247D03, -6.79475656D07, -2.50856870D07,
& -4.63268153D06, 1.85137884D06, -7.66032630D07,
& 7.29666144D07, -2.06388099D05, 3.82370653D03,
& 1.87306734D08, 6.94570801D07, 1.30090317D07,
& -4.68326682D06, 2.09632375D08, -1.99805999D08,
& 5.11458122D05, -5.75484319D03, -2.63212244D08,
& -9.79232841D07, -1.85597818D07, 6.16625773D06,
& -2.93018936D08, 2.79351504D08, -6.64139088D05,
& 4.25513991D03, 1.82949771D08, 6.82322632D07,
& 1.30646558D07, -4.07104678D06, 2.02835925D08,
& -1.93381943D08, 4.34087442D05, -1.22905233D03,
& -4.99408525D07, -1.86617424D07, -3.60495568D06,
& 1.06569809D06, -5.51895151D07, 5.26130529D07,
& -1.12766384D05/), shape=(/8,8/))
*
* Matrix multiplication of inv_A and N
*
DO i=1,n_dimension
C(i) = 0.D0
DO j=1,n_dimension
C(i) = C(i) + inv_A(i, j) * N(j)
ENDDO
ENDDO
*
PnsN3LOplus = (C(1) * (1./(1.-X))) * (4*PI)**4.
PnsN3LOresult = (C(2) * (1.-X) * LOG(1.-X) + C(3) * (1.-X)
& * (LOG(1.-X)**2.) + C(4) * (1.-X) * (LOG(1.-X)**3.)
& + C(5) + C(6) * X + C(7) * (X**2.) + C(8) * (LOG(X)**2.)
& + (a) * (LOG(X)**3.)) * (4*PI)**4.
*
RETURN
END
*
* -------------------------------------------------------------------------
*
* This is the regular exact part of P3NS.
*
* J. M. - 11/07/2022
*
FUNCTION Pqqns3PexactA(x, FLAVOR)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DATA PI,PI2/3.14159,9.8696/
*
CA = 3.0D0
CF = 4.0D0/3.0D0