|
[Rivet-svn] r3609 - in trunk: . src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Mar 15 11:26:03 GMT 2012
Author: hoeth Date: Thu Mar 15 11:26:03 2012 New Revision: 3609 Log: fix compiler warning in CMS_2011_S8973270 Modified: trunk/ChangeLog trunk/src/Analyses/CMS_2011_S8973270.cc Modified: trunk/ChangeLog ============================================================================== --- trunk/ChangeLog Thu Mar 15 11:24:28 2012 (r3608) +++ trunk/ChangeLog Thu Mar 15 11:26:03 2012 (r3609) @@ -4,7 +4,7 @@ cleanup of that analysis. * New-style plugin hook in ATLAS_2011_I926145, ATLAS_2011_I944826 and ATLAS_2012_I1084540 - * Fix compiler warnings in ATLAS_2011_I944826 + * Fix compiler warnings in ATLAS_2011_I944826 and CMS_2011_S8973270 * CMS_2011_S8941262: Weights are double, not int. 2012-03-07 Andy Buckley <andy.buckley at cern.ch> Modified: trunk/src/Analyses/CMS_2011_S8973270.cc ============================================================================== --- trunk/src/Analyses/CMS_2011_S8973270.cc Thu Mar 15 11:24:28 2012 (r3608) +++ trunk/src/Analyses/CMS_2011_S8973270.cc Thu Mar 15 11:26:03 2012 (r3609) @@ -64,7 +64,7 @@ double pTB1 = 7.7, pTB2 = 7.7; foreach (const Particle& p, ufs.particles()) { - int aid = fabs(p.pdgId()); + int aid = abs(p.pdgId()); if (aid/100 == 5 || aid/1000==5) { nab++; // 2J+1 == 1 (mesons) or 2 (baryons)
More information about the Rivet-svn mailing list |