|
[Rivet-svn] r3394 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Sep 28 13:15:11 BST 2011
Author: fsiegert Date: Wed Sep 28 13:15:10 2011 New Revision: 3394 Log: This didn't work very well, let's try again ... 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 12:26:12 2011 (r3393) +++ trunk/src/Analyses/CMS_2010_S8547297.cc Wed Sep 28 13:15:10 2011 (r3394) @@ -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 = int(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 12:26:12 2011 (r3393) +++ trunk/src/Analyses/CMS_2010_S8656010.cc Wed Sep 28 13:15:10 2011 (r3394) @@ -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 = int(fabs(eta)/0.2); _h_dNch_dpT[ietabin]->fill(pT/GeV, weight); } }
More information about the Rivet-svn mailing list |