Index: trunk/MagicSoft/Mars/macros/getThreshold.C
===================================================================
--- trunk/MagicSoft/Mars/macros/getThreshold.C	(revision 855)
+++ trunk/MagicSoft/Mars/macros/getThreshold.C	(revision 861)
@@ -1,7 +1,7 @@
-void getThreshold( char* filename = "data/oscar_protons.root")
+void getThreshold( char* filename = "/hdb1/users/jlopez/temp_loop.root")
 {
     //
-    // This macro fill the container MMcEnerThre using the task
-    // MMcEnerThreCalc and shows the results.
+    // This macro fill the container MHMcEnergies using the task
+    // MMcThresholdCalc and shows the results.
     //
     MParList  parlist;
@@ -12,5 +12,5 @@
     //
     // Setup the parameter list
-    // - You need create the container MMcEnerThre.
+    // - You need create the container MHMcEnergies.
     //    + You need to put the number of trigger conditions when
     //      you declarete the MHMcEnergies
@@ -18,5 +18,5 @@
     //      taking only the trigger information from MMcTrig
     //
-    const UInt_t numtriggerconditions = 1;
+    const UInt_t numtriggerconditions = 5;
 
     MHMcEnergies *hists = new MHMcEnergies(numtriggerconditions);
@@ -49,5 +49,7 @@
     // Now you can display the results
     //
-    for (UInt_t i=0; i<numtriggerconditions; i++)
+    for (UInt_t i=0; i<numtriggerconditions; i++) {
         ((*hists)[i]).Draw();
+	if (getchar()=='q') break;
+    }
 }
