Geant4_10
uhinit.F
Go to the documentation of this file.
1 
2  SUBROUTINE uhinit
3 *
4 *
5 #include "histo.inc"
6 *
7  CHARACTER*50 title(7)
8 *
9  data title /
10  1 'Edep (MeV/mm) along absorber',
11  2 'total energy deposit in absorber',
12  3 'true track length of the primary particle',
13  4 'true step size of the primary particle',
14  5 'projected range of the primary particle',
15  6 'true track length of charged secondaries',
16  7 'true step size of charged secondaries' /
17 *
18  if (idhist.gt.maxhist) return
19 *
20  if (histo(idhist)) call hdelet(idhist)
21 *
22  call hbook1(idhist,title(idhist),nbbins,valmin,valmax,0.)
23 *
24  histo(idhist) = .true.
25  binwidth(idhist) = (valmax-valmin)/nbbins
26  if (valunit.le.0.) valunit = 1.
27  histunit(idhist) = valunit
28 *
29  END
subroutine title(NA, NB, NCA, NCB)
Definition: dpm25nuc7.f:1744
subroutine uhinit
Definition: uhinit.F:2