303 |
* 1st) decreasing n.points |
* 1st) decreasing n.points |
304 |
* 2nd) increasing chi**2 |
* 2nd) increasing chi**2 |
305 |
* ------------------------------------------------------- |
* ------------------------------------------------------- |
306 |
rchi2best=1000000000. |
rchi2best=1000000000. |
307 |
ndofbest=0 |
ndofbest=0 |
308 |
do i=1,ntracks |
do i=1,ntracks |
309 |
ndof=0 |
ndof=0 |
706 |
stripx = stripx + corr |
stripx = stripx + corr |
707 |
resxPAM = res |
resxPAM = res |
708 |
|
|
709 |
10 endif |
10 continue |
710 |
|
endif |
711 |
|
|
712 |
* ----------------- |
* ----------------- |
713 |
* CLUSTER Y |
* CLUSTER Y |
753 |
stripy = stripy + corr |
stripy = stripy + corr |
754 |
resyPAM = res |
resyPAM = res |
755 |
|
|
756 |
20 endif |
20 continue |
757 |
|
endif |
758 |
|
|
759 |
|
|
760 |
c=========================================================== |
c=========================================================== |
3884 |
if(ip.eq.6.and.ssensor.ne.0)ssensor = 3 - ssensor !notazione paolo x align |
if(ip.eq.6.and.ssensor.ne.0)ssensor = 3 - ssensor !notazione paolo x align |
3885 |
LS(IP,ntr) = ssensor+10*sladder |
LS(IP,ntr) = ssensor+10*sladder |
3886 |
|
|
3887 |
if(id.ne.0)then |
c if(id.ne.0)then |
3888 |
|
CCCCCC(10 novembre 2009) PATCH X NUCLEI |
3889 |
|
C non ho capito perche', ma durante il ritracciamento dei nuclei |
3890 |
|
C (quando una traccia viene trovata ma non e' buona) c'e' qualche variabile |
3891 |
|
C che non viene reinizializzata correttamente e i cluster esclusi |
3892 |
|
C dal fit risultano ancora inclusi... |
3893 |
|
C |
3894 |
|
cltrx(ip,ntr) = 0 |
3895 |
|
cltry(ip,ntr) = 0 |
3896 |
|
if( |
3897 |
|
$ xgood_nt(ip,ntr).eq.1.and.ygood_nt(ip,ntr).eq.1 |
3898 |
|
$ .and. |
3899 |
|
$ id.ne.0)then |
3900 |
|
|
3901 |
c >>> is a couple |
c >>> is a couple |
3902 |
cltrx(ip,ntr) = clx(nplanes-ip+1,icp_cp(id)) |
cltrx(ip,ntr) = clx(nplanes-ip+1,icp_cp(id)) |
3903 |
cltry(ip,ntr) = cly(nplanes-ip+1,icp_cp(id)) |
cltry(ip,ntr) = cly(nplanes-ip+1,icp_cp(id)) |