]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/EMCALPEDda.cxx
bug in loop, wrong varialble in increment
[u/mrichter/AliRoot.git] / EMCAL / EMCALPEDda.cxx
index cd71c10b94a107fbb9cd3068d2a34388844747d7..1410b0db1a39f4a2d994370addfcc2087ee2c4f3 100644 (file)
@@ -189,6 +189,7 @@ int main(int argc, char **argv) {
       /* skip start/end of run events */
       if ( (eventT != physicsEvent) && (eventT != calibrationEvent) &&
           (eventT != systemSoftwareTriggerEvent) && (eventT != detectorSoftwareTriggerEvent) ) {
+       free(event);
        continue;
       }
       
@@ -212,9 +213,12 @@ int main(int argc, char **argv) {
   
   printf ("%d physics/calibration events processed.\n",nevents);
 
+  /* Fitting/compute methods step commented out for now (March 31, 2010) 
+   - not necessary to do here 
   // look for dead, hot and noisy towers
   calibPedestal->ComputeDeadTowers();
   calibPedestal->ComputeHotAndWarningTowers();
+  */
 
   TFile f(RESULT_FILE, "recreate");
   if (!f.IsZombie()) {