Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pynull.f
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pynull.f
1
2
C*********************************************************************
3
4
C...PYNULL
5
C...Resets bin contents of a histogram.
6
7
SUBROUTINE
pynull
(ID)
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
IF
(
id
.LE.0.OR.
id
.GT.ihist(1))
RETURN
17
is=indx(
id
)
18
IF
(is.EQ.0)
RETURN
19
DO
100 ix=is+5,is+8+nint(
bin
(is+1))
20
bin
(ix)=0d0
21
100
CONTINUE
22
23
RETURN
24
END
pythia6
blob
master
pythiaeRHIC
pythia
pynull.f
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:42
using
1.8.2 with
sPHENIX GitHub integration