]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/pdxmt.F
Added SetUserDecay routine. When a particle decays the standard MC decay
[u/mrichter/AliRoot.git] / PDF / spdf / pdxmt.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.2 1996/10/30 08:29:02 cernlib
6* Version 7.04
7*
8* Revision 1.1.1.1 1996/04/12 15:29:26 plothow
9* Version 7.01
10*
11*
12#include "pdf/pilot.h"
13C
14 FUNCTION PDXMT (ISET, IPARTON, X, Q, IRT)
15
16C For ISET = 1, 2 .. , returns sets of Parton Distributions
17C (in the proton) with parton label Iparton (6, 5, ...,0, ..
18C for (t, b, c, s, d, u, g, u-bar, ... t-bar), and kinematic
19C variables (X, Q). IRT is a return error code.
20C
21C Iset = 1, 2, 3, 4 corresponds to the S1, B1, B2, and E1 fits of M
22C Tung (Fermilab-Pub-90/74, IIT-90/11) to NLO in the DIS sch
23C
24C 5 corresponds to a new set with input strange quark distri
25C being 1/2 of the non-strange sea quarks (as prefered by so
26C
27C 6, 7, 8, 9 corresponds to the S1, B1, B2, and E1 fits of M
28C Tung (Fermilab-Pub-90/74, IIT-90/11) to NLO in the MSbar s
29C
30C 10 corresponds to a new set with input strange quark distr
31C being 1/2 of the non-strange sea quarks (as prefered by so
32C in the MSbar scheme
33C
34C All the above sets assume a SU(3)-symmetric sea.
35C
36C 11 corresponds to a set of LO distributions suitable to be
37C with LO hard scattering matrix elements.
38C
39C The "lambda" parameter (4-flavors) for each parton distribution set c
40C obtained by making the following FUNCTION call:
41C Alam = Vlambd (Iset, Iorder)
42C where Iset is the (input) set #, Iorder is the (output) order of the
43C for set 11, 2 for all the others), and Alam is the value of the effec
44C lambda for 4 flavors.
45
46C Details about the 1 - 5 distributions are
47C given in the above-mentioned preprint.
48C
49#include "pdf/impdp.inc"
50 REAL PDZXMT,X,Q
51
52 DIMENSION THRSLD(0:6)
53
54 DATA (THRSLD(I), I=0,6) / 4*0.0, 1.5, 5.0, 90.0 /
55
56 IFL = IPARTON
57 JFL = ABS(IFL)
58C Return 0 if below th
59 IF (Q .LE. THRSLD(JFL)) THEN
60 PDXMT = 0.0
61 RETURN
62 ENDIF
63C
64 IF (IFL .LE. 0) THEN
65 VL = 0
66 ELSEIF (IFL .LE. 2) THEN
67 VL = PDZXMT(ISET, IFL, X, Q, IRT)
68 ELSE
69 VL = 0
70 ENDIF
71C
72 SEA = PDZXMT (ISET, -JFL, X, Q, IRT)
73
74 PDXMT = VL + SEA
75
76 RETURN
77C *************************
78 END