1053 |
|
|
1054 |
if(icx.gt.nclstr1.or.icy.gt.nclstr1)then |
if(icx.gt.nclstr1.or.icy.gt.nclstr1)then |
1055 |
print*,'xyzpam: ***WARNING*** clusters ',icx,icy |
print*,'xyzpam: ***WARNING*** clusters ',icx,icy |
1056 |
$ ,' does not exists (nclstr1=',nclstr1,')' |
$ ,' do not exists (n.clusters=',nclstr1,')' |
1057 |
icx = -1*icx |
icx = -1*icx |
1058 |
icy = -1*icy |
icy = -1*icy |
1059 |
return |
return |
3153 |
if(LADDER(icx).ne.nldt.or. !If the ladder number does not match |
if(LADDER(icx).ne.nldt.or. !If the ladder number does not match |
3154 |
c $ cl_used(icx).eq.1.or. !or the X cluster is already used |
c $ cl_used(icx).eq.1.or. !or the X cluster is already used |
3155 |
c $ cl_used(icy).eq.1.or. !or the Y cluster is already used |
c $ cl_used(icy).eq.1.or. !or the Y cluster is already used |
3156 |
$ cl_used(icx).ne.0.or. !or the X cluster is already used !(3) |
$ cl_used(icx).ne.0.or. !or the X cluster is already used |
3157 |
$ cl_used(icy).ne.0.or. !or the Y cluster is already used !(3) |
$ cl_used(icy).ne.0.or. !or the Y cluster is already used |
3158 |
$ .false.)goto 1188 !then jump to next couple. |
$ .false.)goto 1188 !then jump to next couple. |
3159 |
* |
* |
3160 |
call xyz_PAM(icx,icy,ist, |
call xyz_PAM(icx,icy,ist, |
3787 |
|
|
3788 |
elseif(icl.ne.0)then |
elseif(icl.ne.0)then |
3789 |
|
|
3790 |
|
|
3791 |
cl_used(icl) = 1 !tag used clusters |
cl_used(icl) = 1 !tag used clusters |
3792 |
|
|
3793 |
if(mod(VIEW(icl),2).eq.0)then |
if(mod(VIEW(icl),2).eq.0)then |
3794 |
cltrx(ip,ntr)=icl |
cltrx(ip,ntr)=icl |
|
|
|
3795 |
xbad(ip,ntr) = nbadstrips(4,icl) |
xbad(ip,ntr) = nbadstrips(4,icl) |
3796 |
|
|
3797 |
if(nsatstrips(icl).gt.0)dedx_x(ip,ntr)=-dedx_x(ip,ntr) |
if(nsatstrips(icl).gt.0)dedx_x(ip,ntr)=-dedx_x(ip,ntr) |
3805 |
|
|
3806 |
elseif(mod(VIEW(icl),2).eq.1)then |
elseif(mod(VIEW(icl),2).eq.1)then |
3807 |
cltry(ip,ntr)=icl |
cltry(ip,ntr)=icl |
|
|
|
3808 |
ybad(ip,ntr) = nbadstrips(4,icl) |
ybad(ip,ntr) = nbadstrips(4,icl) |
3809 |
|
|
3810 |
if(nsatstrips(icl).gt.0)dedx_y(ip,ntr)=-dedx_y(ip,ntr) |
if(nsatstrips(icl).gt.0)dedx_y(ip,ntr)=-dedx_y(ip,ntr) |
3918 |
* associati ad una traccia, e permettere di salvare |
* associati ad una traccia, e permettere di salvare |
3919 |
* solo questi nell'albero di uscita |
* solo questi nell'albero di uscita |
3920 |
* -------------------------------------------------- |
* -------------------------------------------------- |
3921 |
|
|
|
|
|
|
c$$$ print*,' cl ',icl,' --> ',cl_used(icl) |
|
|
c$$$ |
|
|
c$$$ if( cl_used(icl).ne.0 )then |
|
|
c$$$ if( |
|
|
c$$$ $ mod(VIEW(icl),2).eq.0.and. |
|
|
c$$$ $ cltrx(ip,whichtrack(icl)).ne.icl ) |
|
|
c$$$ $ print*,'**WARNING** cltrx(',ip,',',whichtrack(icl) |
|
|
c$$$ $ ,')=',cltrx(ip,whichtrack(icl)),'.ne.',icl |
|
|
c$$$ if( |
|
|
c$$$ $ mod(VIEW(icl),2).eq.1.and. |
|
|
c$$$ $ cltry(ip,whichtrack(icl)).ne.icl ) |
|
|
c$$$ $ print*,'**WARNING** cltry(',ip,',',whichtrack(icl) |
|
|
c$$$ $ ,')=',cltry(ip,whichtrack(icl)),'.ne.',icl |
|
|
c$$$ endif |
|
|
|
|
|
|
|
3922 |
enddo |
enddo |
3923 |
end |
end |
3924 |
|
|