]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected calculation of the cross talk in the outer sectors
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Jun 2002 06:13:07 +0000 (06:13 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Jun 2002 06:13:07 +0000 (06:13 +0000)
TPC/AliTPCParamSR.cxx

index 6c80a7a27ae68e868b5b030347b72a50dba167e8..cecc77ed57f9a3b1b7cf902252308291f8dc5dec 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
 
 /*
 $Log$
+Revision 1.8  2002/06/05 15:37:31  kowal2
+Added cross-talk from the wires beyond the first and the last rows
+
 Revision 1.7  2002/03/18 17:59:13  kowal2
 Chnges in the pad geometry - 3 pad lengths introduced.
 
 Revision 1.7  2002/03/18 17:59:13  kowal2
 Chnges in the pad geometry - 3 pad lengths introduced.
 
@@ -564,7 +567,7 @@ Int_t  AliTPCParamSR::CalcResponseFast(Float_t* xyz, Int_t * index, Int_t row)
        if (index[1]<fNInnerSector)
          cweight=prfinner[apadrow][apad];
        else{
        if (index[1]<fNInnerSector)
          cweight=prfinner[apadrow][apad];
        else{
-         if(row < fNRowUp1)
+         if(row < fNRowUp1+1)
            cweight=prfouter1[apadrow][apad];
           else cweight=prfouter2[apadrow][apad];
        }
            cweight=prfouter1[apadrow][apad];
           else cweight=prfouter2[apadrow][apad];
        }