[Rivet-svn] r2823 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Dec 7 08:54:46 GMT 2010


Author: buckley
Date: Tue Dec  7 08:54:46 2010
New Revision: 2823

Log:
Use preferred logging

Modified:
   trunk/src/Analyses/MC_GENERIC.cc

Modified: trunk/src/Analyses/MC_GENERIC.cc
==============================================================================
--- trunk/src/Analyses/MC_GENERIC.cc	Sun Dec  5 16:38:36 2010	(r2822)
+++ trunk/src/Analyses/MC_GENERIC.cc	Tue Dec  7 08:54:46 2010	(r2823)
@@ -70,7 +70,7 @@
 
       // Analyse and print some info
       const FinalState& cnfs = applyProjection<FinalState>(event, "FS");
-      getLog() << Log::DEBUG << "Total multiplicity = " << cnfs.size() << endl;
+      MSG_DEBUG("Total multiplicity = " << cnfs.size());
       _histMult->fill(cnfs.size(), weight);
       foreach (const Particle& p, cnfs.particles()) {
         const double eta = p.momentum().eta();
@@ -93,7 +93,7 @@
       }
 
       const FinalState& cfs = applyProjection<FinalState>(event, "CFS");
-      getLog() << Log::DEBUG << "Total charged multiplicity = " << cfs.size() << endl;
+      MSG_DEBUG("Total charged multiplicity = " << cfs.size());
       _histMultCh->fill(cfs.size(), weight);
       foreach (const Particle& p, cfs.particles()) {
         const double eta = p.momentum().eta();


More information about the Rivet-svn mailing list