Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
blob
master
pythia6
pythia6-lhapdf
pythiaeRHIC
erhic
include
pythia
fhhiggscorr.f
fhsetflags.f
fhsetpara.f
py1ent.f
py2ent.f
py2frm.f
py3ent.f
py4ent.f
py4frm.f
py4jet.f
py4jts.f
py4jtw.f
py6frm.f
pyadsh.f
pyalem.f
pyalps.f
pyangl.f
pyapps.f
pybesq.f
pybksb.f
pyboei.f
pybook.f
pycba2.f
pycbal.f
pycdiv.f
pycell.f
pychge.f
pycjdc.f
pyckbd.f
pyclus.f
pycmq2.f
pycmqr.f
pycomp.f
pycrth.f
pycsrt.f
pyct5l.f
pyct5m.f
pycteq.f
pycttr.f
pydata.f
pydcyk.f
pydecy.f
pydiff.f
pydisg.f
pydocu.f
pydump.f
pyedit.f
pyeevt.f
pyeicg.f
pyeig4.f
pyerrm.f
pyevnt.f
pyevnw.f
pyevol.f
pyevwt.f
pyexec.f
pyfact.f
pyfcmp.f
pyfeyn.f
pyfill.f
pyfint.f
pyfisb.f
pyfowo.f
pyfram.f
pyfscr.f
pygaga.f
pygamm.f
pygano.f
pygau2.f
pygaus.f
pygbeh.f
pygdir.f
pygfxx.f
pyggam.f
pygive.f
pyglui.f
pygrvd.f
pygrvl.f
pygrvm.f
pygrvs.f
pygrvv.f
pygrvw.f
pygvmd.f
pyh2xx.f
pyhepc.f
pyhext.f
pyhfth.f
pyhggm.f
pyhist.f
pyi3au.f
pyinbm.f
pyindf.f
pyinit.f
pyinki.f
pyinom.f
pyinpr.f
pyinre.f
pyjmas.f
pyjoin.f
pyjurf.f
pyk.f
pykcut.f
pykfdi.f
pykfin.f
pyklim.f
pykmap.f
pylamf.f
pyldcm.f
pylhef.f
pylist.f
pylogo.f
pymael.f
pymass.f
pymaxi.f
pymemx.f
pymewt.f
pymign.f
pymihg.f
pymihk.f
pymirm.f
pymrun.f
pymsin.f
pymult.f
pyname.f
pynjdc.f
pynmes.f
pynull.f
pyofsh.f
pyonia.f
pyonof.f
pyoper.f
pyp.f
pypcmp.f
pypdel.f
pypdfl.f
pypdfu.f
pypdga.f
pypdpi.f
pypdpo.f
pypdpr.f
pypile.f
pyplot.f
pypole.f
pyprep.f
pyptdi.f
pyptfs.f
pyptis.f
pyptmi.f
pyqqbh.f
pyr.f
pyradk.f
pyrand.f
pyreco.f
pyremn.f
pyresd.f
pyrget.f
pyrghm.f
pyrnm3.f
pyrnmq.f
pyrobo.f
pyrset.f
pyrvch.f
pyrvg1.f
pyrvg2.f
pyrvg3.f
pyrvg4.f
pyrvgl.f
pyrvgw.f
pyrvi1.f
pyrvi2.f
pyrvi3.f
pyrvne.f
pyrvr.f
pyrvs.f
pyrvsb.f
pyrvsf.f
pysave.f
pyscat.f
pysfdc.f
pysgex.f
pysghf.f
pysghg.f
pysgqc.f
pysgsu.f
pysgtc.f
pysgwz.f
pyshow.f
pysigh.f
pysimp.f
pyslha.f
pyspen.f
pysphe.f
pyspli.f
pysspa.f
pystat.f
pystbh.f
pystop.f
pystrf.f
pysubh.f
pysugi.f
pytabu.f
pytaud.f
pytbbc.f
pytbbn.f
pytbdy.f
pytbhb.f
pytbhg.f
pytbhq.f
pytbhs.f
pytecm.f
pytest.f
pythag.f
pythrg.f
pythru.f
pytime.f
pytune.f
pyupda.f
pyupev.f
pyupin.f
pyupre.f
pyveto.f
pywaux.f
pywidt.f
pywidx.f
pyx2xg.f
pyx2xh.f
pyx3jt.f
pyx4jt.f
pyxdif.f
pyxjet.f
pyxkfl.f
pyxtee.f
pyxtot.f
pyxxga.f
pyxxz6.f
pyzdis.f
ssmssm.f
sugra.f
upevnt.f
upinit.f
upveto.f
visaje.f
radgen
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pyfill.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pyfill.f
1
2
C*********************************************************************
3
4
C...PYFILL
5
C...Fills entry in histogram.
6
7
SUBROUTINE
pyfill
(ID,X,W)
8
9
C...Double precision declaration.
10
IMPLICIT
DOUBLE PRECISION
(a-
h
, o-
z
)
11
IMPLICIT
INTEGER
(
i
-
n
)
12
C...Commonblock.
13
common/
pybins
/ihist(4),indx(1000),
bin
(20000)
14
SAVE
/
pybins
/
15
16
C...Find initial address in memory. Increase number of entries.
17
IF
(
id
.LE.0.OR.
id
.GT.ihist(1)) CALL
pyerrm
(28,
18
&
'(PYFILL:) not allowed histogram number'
)
19
is=indx(
id
)
20
IF
(is.EQ.0) CALL
pyerrm
(28,
21
&
'(PYFILL:) filling unbooked histogram'
)
22
bin
(is+5)=
bin
(is+5)+1d0
23
24
C...Find bin in x, including under/overflow, and fill.
25
IF
(
x
.LT.
bin
(is+2))
THEN
26
bin
(is+6)=
bin
(is+6)+
w
27
ELSEIF
(
x
.GE.
bin
(is+3))
THEN
28
bin
(is+8)=
bin
(is+8)+
w
29
ELSE
30
bin
(is+7)=
bin
(is+7)+
w
31
ix=(
x
-
bin
(is+2))/
bin
(is+4)
32
ix=
max
(0,min(nint(
bin
(is+1))-1,ix))
33
bin
(is+9+ix)=
bin
(is+9+ix)+
w
34
ENDIF
35
36
RETURN
37
END
pythia6
blob
master
pythiaeRHIC
pythia
pyfill.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:41
using
1.8.2 with
sPHENIX GitHub integration