]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSClusterFinderV2SSD.cxx
Reverting the fixes done for proper reconstruction of Dec07 raw-data. They are not...
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SSD.cxx
index e0363eb9b2f2b9daf73e741de12d8e542027e569..975fb1fa14cb2dd9f3a6d02d1a4ecdb05b847053 100644 (file)
@@ -273,7 +273,7 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input,
     
     // buffer data for ddl=iddl and ad=iad
     while(kTRUE) {
-      
+        
       next = input->Next();
       if((!next)&&(input->flag)) continue;
       Int_t ddl=input->GetDDL(); 
@@ -308,12 +308,15 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input,
       
       Bool_t first = 0;
       
+      /*
       for(Int_t istrip=0; istrip<768; istrip++) { // P-side
        Int_t signal = matrix[iadc][istrip];
        pedestal = cal->GetPedestalP(istrip);
        matrix[iadc][istrip]=signal-(Int_t)pedestal;
-      }
-      
+      } 
+      */
+
+      /*
       Float_t cmode=0;
       for(Int_t l=0; l<6; l++) {
        cmode=0;
@@ -322,7 +325,8 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input,
        for(Int_t n=0; n<128; n++) matrix[iadc][l*128+n]-=(Int_t)cmode;
        
       }
-      
+      */
+
       for(Int_t istrip=0; istrip<768; istrip++) { // P-side
        
        Int_t signal = TMath::Abs(matrix[iadc][istrip]);
@@ -409,18 +413,22 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input,
          first=0;
       }
       
+      /*
       for(Int_t istrip=768; istrip<1536; istrip++) { // P-side
        Int_t signal = matrix[iadc][istrip];
        pedestal = cal->GetPedestalN(1535-istrip);
        matrix[iadc][istrip]=signal-(Int_t)pedestal;
       }        
+      */
 
+      /*
       for(Int_t l=6; l<12; l++) {
        Float_t cmode=0;
        for(Int_t n=20; n<108; n++) cmode+=matrix[iadc][l*128+n];
        cmode/=88.;
        for(Int_t n=0; n<128; n++) matrix[iadc][l*128+n]-=(Int_t)cmode;
       }
+      */
 
       oldnoise = 0.;
       noise = 0.;