ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
decayFinder
FermiMotionAfterburner
flowAfterburner
hijing
dummy
examples
src
ar3jet.f
aran9.f
arorie.f
atrobo.f
attflv.f
attrad.f
bk.f
crsjet.f
fgp1.f
fgp2.f
fgp3.f
fhin.f
fjet.f
fjetrig.f
flap.f
flap1.f
flap2.f
fnjet.f
fnkick.f
fnkick2.f
fnstru.f
fnstrum.f
fnstrus.f
ftot.f
ftotjet.f
ftotrig.f
g.f
gauss1.f
gauss2.f
gauss3.f
gauss4.f
ghvq.f
gmin.f
gmre.f
gphoton.f
hiboost.f
hidata.f
hifun.f
hijcrs.f
hijcsc.f
hijels.f
hijflv.f
hijfrg.f
hijfst.cc
hijhrd.f
hijing.f
hijini.f
hijset.f
hijsft.f
hijsrt.f
hijwds.f
hiptdi.f
hirnd.f
hirnd2.f
hirobo.f
jetini.f
klu.f
lu1ent.f
lu2ent.f
lu3ent.f
lu4ent.f
luboei.f
lucell.f
luchge.f
luclus.f
lucomp.f
ludata.f
ludecy.f
luedit.f
lueevt.f
luerrm.f
luexec.f
lufowo.f
lugive.f
luhepc.f
luindf.f
lujmas.f
lujoin.f
lukfdi.f
lulist.f
luname.f
luonia.f
luprep.f
luptdi.f
luradk.f
lurobo.f
lushow.f
lusphe.f
lustrf.f
lutabu.f
lutest.f
luthru.f
luupda.f
lux3jt.f
lux4jt.f
luxdif.f
luxjet.f
luxkfl.f
luxtot.f
luzdis.f
omg0.f
parton.f
plu.f
profile.f
pyhidata.f
pyhidiff.f
pyhifram.f
pyhigamm.f
pyhii3au.f
pyhiinit.f
pyhiinki.f
pyhiinre.f
pyhiklim.f
pyhikmap.f
pyhimaxi.f
pyhimult.f
pyhiovly.f
pyhirand.f
pyhiremn.f
pyhiresd.f
pyhiscat.f
pyhisigh.f
pyhispen.f
pyhispli.f
pyhisspa.f
pyhistat.f
pyhistfu.f
pyhitest.f
pyhithia.f
pyhiw1au.f
pyhiw2au.f
pyhiwidt.f
pyhixtot.f
quench.f
rlu.f
rluget.f
rluset.f
romg.f
rwdsax.f
sgmin.f
subcrs1.f
subcrs2.f
subcrs3.f
subcrs4.f
subcrs5.f
subcrs6.f
subcrs7.f
title.f
ulalps.f
ulangl.f
ulmass.f
vegas.f
wdsax.f
wdsax1.f
wdsax2.f
JETSCAPE
JEWEL
phhepmc
PHPythia6
PHPythia8
PHSartre
sHEPGen
sHijing
offline
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
attflv.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file attflv.f
1
C
2
C
3
C
4
SUBROUTINE
attflv
(ID,IDQ,IDQQ)
5
common
/ranseed/
nseed
6
SAVE
/ranseed/
7
C
8
IF
(abs(
id
).LT.100)
THEN
9
nsign=1
10
idq=
id
/100
11
idqq=-
id
/10+idq*10
12
IF
(abs(idq).EQ.3) nsign=-1
13
idq=nsign*idq
14
idqq=nsign*idqq
15
IF
(idq.LT.0)
THEN
16
id0=idq
17
idq=idqq
18
idqq=id0
19
ENDIF
20
RETURN
21
ENDIF
22
C ********return ID of quark(IDQ) and anti-quark(IDQQ)
23
C for pions and kaons
24
c
25
C Return LU ID for quarks and diquarks for proton(ID=2212)
26
C anti-proton(ID=-2212) and nuetron(ID=2112)
27
C LU ID for d=1,u=2, (ud)0=2101, (ud)1=2103,
28
C (dd)1=1103,(uu)1=2203.
29
C Use SU(6) weight proton=1/3d(uu)1 + 1/6u(ud)1 + 1/2u(ud)0
30
C nurtron=1/3u(dd)1 + 1/6d(ud)1 + 1/2d(ud)0
31
C
32
idq=2
33
IF
(abs(
id
).EQ.2112) idq=1
34
idqq=2101
35
x
=
atl_ran
(
nseed
)
36
IF
(
x
.LE.0.5) go to 30
37
IF
(
x
.GT.0.666667) go to 10
38
idqq=2103
39
go to 30
40
10 idq=1
41
idqq=2203
42
IF
(abs(
id
).EQ.2112)
THEN
43
idq=2
44
idqq=1103
45
ENDIF
46
30
IF
(
id
.LT.0)
THEN
47
id00=idqq
48
idqq=-idq
49
idq=-id00
50
ENDIF
51
RETURN
52
END
coresoftware
blob
master
generators
hijing
src
attflv.f
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:29
using
1.8.2 with
ECCE GitHub integration