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
luchge.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file luchge.f
1
2
C*********************************************************************
3
4
FUNCTION
luchge
(KF)
5
6
C...Purpose: to give three times the charge for a particle/parton.
7
common
/ludat2/kchg(500,3),pmas(500,4),parf(2000),vckm(4,4)
8
SAVE
/ludat2/
9
10
C...Initial values. Simple case of direct readout.
11
luchge
=0
12
kfa=iabs(kf)
13
kc=
lucomp
(kfa)
14
IF
(kc.EQ.0)
THEN
15
ELSEIF
(kfa.LE.100.OR.kc.LE.80.OR.kc.GT.100)
THEN
16
luchge
=kchg(kc,1)
17
18
C...Construction from quark content for heavy meson, diquark, baryon.
19
ELSEIF
(
mod
(kfa/1000,10).EQ.0)
THEN
20
luchge
=(kchg(
mod
(kfa/100,10),1)-kchg(
mod
(kfa/10,10),1))*
21
& (-1)**
mod
(kfa/100,10)
22
ELSEIF
(
mod
(kfa/10,10).EQ.0)
THEN
23
luchge
=kchg(
mod
(kfa/1000,10),1)+kchg(
mod
(kfa/100,10),1)
24
ELSE
25
luchge
=kchg(
mod
(kfa/1000,10),1)+kchg(
mod
(kfa/100,10),1)+
26
& kchg(
mod
(kfa/10,10),1)
27
ENDIF
28
29
C...Add on correct sign.
30
luchge
=
luchge
*isign(1,kf)
31
32
RETURN
33
END
coresoftware
blob
master
generators
hijing
src
luchge.f
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:29
using
1.8.2 with
ECCE GitHub integration