]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/EMCALPEDda.cxx
updated
[u/mrichter/AliRoot.git] / EMCAL / EMCALPEDda.cxx
index 395e2c51acc90d597d0c807268b639552eac9018..cd443bf8d921c8adb0cacbc226127467a7398a49 100644 (file)
@@ -64,7 +64,7 @@ extern "C" {
   Arguments: list of DATE raw data files
 */
 
-int main(int argc, char **argv) {
+int main(int argc, char **argv) { // Main routine, EMC pedestal detector algorithm 
   
   AliLog::SetClassDebugLevel("AliCaloRawStreamV3",-5);
   AliLog::SetClassDebugLevel("AliRawReaderDate",-5);
@@ -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;
       }
       
@@ -211,7 +212,14 @@ 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()) { 
     f.cd();