| Rev | Line | |
|---|
| [807] | 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
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.