|
[Rivet-svn] rivet: minor build warning fixesRivet Mercurial rivet at projects.hepforge.orgMon Jul 20 16:30:01 BST 2015
details: https://rivet.hepforge.org/hg/rivet/rev/7fe609d11429 branches: changeset: 4814:7fe609d11429 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Mon Jul 20 16:19:40 2015 +0100 description: minor build warning fixes diffs (truncated from 63 to 50 lines): --- a/src/Analyses/ALEPH_1999_S4193598.cc Fri Jul 17 14:51:33 2015 +0100 +++ b/src/Analyses/ALEPH_1999_S4193598.cc Mon Jul 20 16:19:40 2015 +0100 @@ -6,29 +6,6 @@ namespace Rivet { - - namespace { - - bool hasDecayedTo(const GenParticle* p, int id1, int id2) { - bool decision = false; - const GenVertex* decV = p->end_vertex(); - std::vector<int> decids; - if (decV->particles_out_size() == 2) { - for (GenVertex::particles_out_const_iterator pp = decV->particles_out_const_begin(); pp != decV->particles_out_const_end() ; ++pp) { - decids.push_back(abs((*pp)->pdg_id())); - } - if ( (decids[0] == abs(id1) && decids[1] == abs(id2)) || (decids[1] == abs(id1) && decids[0] == abs(id2)) ) decision = true; - } - return decision; - } - - bool hasDecayedTo(const Rivet::Particle& p, int id1, int id2) { - return hasDecayedTo(p.genParticle(), id1, id2); - } - - } - - class ALEPH_1999_S4193598 : public Analysis { public: --- a/src/Analyses/ATLAS_2013_I1219109.cc Fri Jul 17 14:51:33 2015 +0100 +++ b/src/Analyses/ATLAS_2013_I1219109.cc Mon Jul 20 16:19:40 2015 +0100 @@ -129,7 +129,7 @@ Histo1DPtr _jet1_bPt; Histo1DPtr _jet2_bPt; - bool _isMuon; + //bool _isMuon; }; --- a/src/Analyses/ATLAS_2014_I1282447.cc Fri Jul 17 14:51:33 2015 +0100 +++ b/src/Analyses/ATLAS_2014_I1282447.cc Mon Jul 20 16:19:40 2015 +0100 @@ -363,7 +363,7 @@ if(fabs(p.eta()) > 2.2) continue; // W+D - if(fabs(part->pdg_id()) == 411) {
More information about the Rivet-svn mailing list |