|
[Rivet-svn] r3393 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Sep 28 12:26:12 BST 2011
Author: fsiegert Date: Wed Sep 28 12:26:12 2011 New Revision: 3393 Log: Fix compiler warnings. Modified: trunk/src/Analyses/CMS_2010_S8547297.cc trunk/src/Analyses/CMS_2010_S8656010.cc Modified: trunk/src/Analyses/CMS_2010_S8547297.cc ============================================================================== --- trunk/src/Analyses/CMS_2010_S8547297.cc Wed Sep 28 11:01:47 2011 (r3392) +++ trunk/src/Analyses/CMS_2010_S8547297.cc Wed Sep 28 12:26:12 2011 (r3393) @@ -57,7 +57,7 @@ if (pT < 4.0*GeV) { _h_dNch_dpT_all->fill(pT/GeV, weight/(pT/GeV)); if (pT < 2.0*GeV) { - int ietabin = fabs(eta)/0.2; + int ietabin(fabs(eta)/0.2); _h_dNch_dpT[ietabin]->fill(pT/GeV, weight); } } Modified: trunk/src/Analyses/CMS_2010_S8656010.cc ============================================================================== --- trunk/src/Analyses/CMS_2010_S8656010.cc Wed Sep 28 11:01:47 2011 (r3392) +++ trunk/src/Analyses/CMS_2010_S8656010.cc Wed Sep 28 12:26:12 2011 (r3393) @@ -48,7 +48,7 @@ if (pT < 6.0*GeV) { _h_dNch_dpT_all->fill(pT/GeV, weight/(pT/GeV)); if (pT < 2.0*GeV) { - int ietabin = fabs(eta)/0.2; + int ietabin(fabs(eta)/0.2); _h_dNch_dpT[ietabin]->fill(pT/GeV, weight); } }
More information about the Rivet-svn mailing list |