[Rivet-svn] r3608 - in trunk: . src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Mar 15 11:24:29 GMT 2012


Author: hoeth
Date: Thu Mar 15 11:24:28 2012
New Revision: 3608

Log:
CMS_2011_S8941262: Weights are double, not int

Modified:
   trunk/ChangeLog
   trunk/src/Analyses/CMS_2011_S8941262.cc

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Thu Mar 15 11:21:42 2012	(r3607)
+++ trunk/ChangeLog	Thu Mar 15 11:24:28 2012	(r3608)
@@ -5,6 +5,7 @@
 	* New-style plugin hook in ATLAS_2011_I926145,
 	ATLAS_2011_I944826 and ATLAS_2012_I1084540
 	* Fix compiler warnings in ATLAS_2011_I944826
+	* CMS_2011_S8941262: Weights are double, not int.
 
 2012-03-07  Andy Buckley  <andy.buckley at cern.ch>
 

Modified: trunk/src/Analyses/CMS_2011_S8941262.cc
==============================================================================
--- trunk/src/Analyses/CMS_2011_S8941262.cc	Thu Mar 15 11:21:42 2012	(r3607)
+++ trunk/src/Analyses/CMS_2011_S8941262.cc	Thu Mar 15 11:24:28 2012	(r3608)
@@ -20,7 +20,7 @@
       _h_total = bookHistogram1D(1, 1, 1);
       _h_mupt  = bookHistogram1D(2, 1, 1);
       _h_mueta = bookHistogram1D(3, 1, 1);
-      nbtot=0;   nbmutot=0;
+      nbtot=0.;   nbmutot=0.;
 
       IdentifiedFinalState ifs(-2.1, 2.1, 6.0*GeV);
       ifs.acceptIdPair(MUON);
@@ -62,7 +62,7 @@
 
   private:
 
-    int nbtot, nbmutot;
+    double nbtot, nbmutot;
 
     AIDA::IHistogram1D *_h_total;
     AIDA::IHistogram1D *_h_mupt;


More information about the Rivet-svn mailing list