29 |
|
|
30 |
INTEGER lrec |
INTEGER lrec |
31 |
INTEGER istat, ierr, icycle |
INTEGER istat, ierr, icycle |
32 |
|
|
33 |
|
c REAL x_coor_lin11(8,2),y_coor_lin12(6,2) |
34 |
PARAMETER (lrec=4096) |
PARAMETER (lrec=4096) |
35 |
|
|
36 |
C------------------------------------------------------------------------- |
C------------------------------------------------------------------------- |
99 |
|
|
100 |
call HBNAME(ntp_tofcalib,'TOFLIN11',y_coor_lin11,'$SET') |
call HBNAME(ntp_tofcalib,'TOFLIN11',y_coor_lin11,'$SET') |
101 |
call HBNAME(ntp_tofcalib,'TOFLIN12',x_coor_lin12,'$SET') |
call HBNAME(ntp_tofcalib,'TOFLIN12',x_coor_lin12,'$SET') |
102 |
|
c call HBNAME(ntp_tofcalib,'TOFLIN11',x_coor_lin11,'$SET') |
103 |
|
c call HBNAME(ntp_tofcalib,'TOFLIN12',y_coor_lin12,'$SET') |
104 |
call HBNAME(ntp_tofcalib,'TOFLIN21',x_coor_lin21,'$SET') |
call HBNAME(ntp_tofcalib,'TOFLIN21',x_coor_lin21,'$SET') |
105 |
call HBNAME(ntp_tofcalib,'TOFLIN22',y_coor_lin22,'$SET') |
call HBNAME(ntp_tofcalib,'TOFLIN22',y_coor_lin22,'$SET') |
106 |
call HBNAME(ntp_tofcalib,'TOFLIN31',y_coor_lin31,'$SET') |
call HBNAME(ntp_tofcalib,'TOFLIN31',y_coor_lin31,'$SET') |
126 |
|
|
127 |
do iev=1,iemax_cal |
do iev=1,iemax_cal |
128 |
call HGNT(ntp_tofcalib,iev,ierr) !reads an event |
call HGNT(ntp_tofcalib,iev,ierr) !reads an event |
129 |
|
c print *,' ierr ',ierr |
130 |
enddo |
enddo |
131 |
|
|
132 |
call hrout(ntp_tofcalib,icycle,' ') |
call hrout(ntp_tofcalib,icycle,' ') |
134 |
close(0) |
close(0) |
135 |
|
|
136 |
return |
return |
137 |
end |
end |
138 |
|
|