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
pybook.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pybook.f
1
2
C*********************************************************************
3
4
C...PYBOOK
5
C...Books a histogram.
6
7
SUBROUTINE
pybook
(ID,TITLE,NX,XL,XU)
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
C...Local character variables.
16
CHARACTER
title
*(*), titfx*60
17
18
C...Check that input is sensible. Find initial address in memory.
19
IF
(
id
.LE.0.OR.
id
.GT.ihist(1)) CALL
pyerrm
(28,
20
&
'(PYBOOK:) not allowed histogram number'
)
21
IF
(
nx
.LE.0.OR.
nx
.GT.100) CALL
pyerrm
(28,
22
&
'(PYBOOK:) not allowed number of bins'
)
23
IF
(xl.GE.xu) CALL
pyerrm
(28,
24
&
'(PYBOOK:) x limits in wrong order'
)
25
indx(
id
)=ihist(4)
26
ihist(4)=ihist(4)+28+
nx
27
IF
(ihist(4).GT.ihist(2)) CALL
pyerrm
(28,
28
&
'(PYBOOK:) out of histogram space'
)
29
is=indx(
id
)
30
31
C...Store histogram size and reset contents.
32
bin
(is+1)=
nx
33
bin
(is+2)=xl
34
bin
(is+3)=xu
35
bin
(is+4)=(xu-xl)/
nx
36
CALL
pynull
(
id
)
37
38
C...Store title by conversion to integer to double precision.
39
titfx=
title
//
' '
40
DO
100
it
=1,20
41
bin
(is+8+
nx
+
it
)=256**2*ichar(titfx(3*
it
-2:3*
it
-2))+
42
& 256*ichar(titfx(3*
it
-1:3*
it
-1))+ichar(titfx(3*
it
:3*
it
))
43
100
CONTINUE
44
45
RETURN
46
END
pythia6
blob
master
pythiaeRHIC
pythia
pybook.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:40
using
1.8.2 with
sPHENIX GitHub integration