Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 1754)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 1755)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.54 $
+// $Revision: 1.55 $
 // $Author: blanch $ 
-// $Date: 2003-02-12 11:55:01 $
+// $Date: 2003-02-12 12:22:10 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -1300,5 +1300,6 @@
 
 	++nshow;
-	log(SIGNATURE, "Event %d(+%d)\n", nshow, ntshow);
+	if((nshow+ntshow)%100 == 1)
+	  log(SIGNATURE, "Event %d(+%d)\n", nshow, ntshow);
 	
 	// get MCEventHeader
@@ -1524,7 +1525,16 @@
 	}// end if(simulateNSB && nphe2NSB<=inumphe) ...
   
-	log(SIGNATURE, "End of this event: %d cphs(+%d). . .\n",
-	    ncph, ntcph);
-
+	inumphensb=0;
+	for (UInt_t ui=0;ui<camgeom.GetNumPixels();ui++){
+	  inumphensb+=nsb_phepns[ui]*TOTAL_TRIGGER_TIME;
+	}
+
+	if ((nshow+ntshow)%100 == 1){
+	  log(SIGNATURE, "End of this event: %d cphs(+%d). . .\n",
+	      ncph, ntcph);
+
+	  cout << "Total number of phes: " << inumphe<<" + ";
+	  cout<<inumphensb<<endl;
+	}
 	ntcph += ncph;
 
@@ -1547,11 +1557,4 @@
 	}
 	
-	cout << "Total number of phes: " << inumphe<<" + ";
-	inumphensb=0;
-	for (UInt_t ui=0;ui<camgeom.GetNumPixels();ui++){
-	  inumphensb+=nsb_phepns[ui]*TOTAL_TRIGGER_TIME;
-	}
-	cout<<inumphensb<<endl;
-
 	//++++++++++++++++++++++++++++++++++++++++++++++++++
 	// at this point we have a camera full of
@@ -4239,4 +4242,7 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.54  2003/02/12 11:55:01  blanch
+// *** empty log message ***
+//
 // Revision 1.53  2003/01/23 18:35:21  blanch
 // *** empty log message ***
@@ -4408,4 +4414,7 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.54  2003/02/12 11:55:01  blanch
+// *** empty log message ***
+//
 // Revision 1.53  2003/01/23 18:35:21  blanch
 // *** empty log message ***
