]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDDigitizer.cxx
Calculation of new variables needed for Non-id HBT added. (Z. Chajecki)
[u/mrichter/AliRoot.git] / PMD / AliPMDDigitizer.cxx
index c95006ed3a478c35aba7af2c9cafca77a4014222..c5fd1439f7f1b840262e04e7f12f9ef7a6a0e752 100644 (file)
@@ -675,11 +675,11 @@ void AliPMDDigitizer::Hits2Digits(Int_t ievt)
                    }
                } // column loop
            } // row    loop
+         treeD->Fill();
+         ResetDigit();
        } // supermodule loop
-      treeD->Fill();
-      ResetDigit();
     } // detector loop
-
+  
   fPMDLoader->WriteDigits("OVERWRITE");
   ResetCellADC();
   
@@ -747,7 +747,6 @@ void AliPMDDigitizer::Exec(Option_t *option)
 {
   // Does the event merging and digitization
 
-  fpw = fopen("digits_test.dat","w");
   fDebug = 0;
   const char *cdeb = strstr(option,"deb");
   if(cdeb)