|
[Rivet-svn] rivet: 2 new changesetsRivet Mercurial rivet at projects.hepforge.orgMon Jul 17 16:45:02 BST 2017
details: https://rivet.hepforge.org/hg/rivet/rev/14fa10919bfc branches: changeset: 5950:14fa10919bfc user: Andy Buckley <andy at insectnation.org> date: Mon Jul 17 16:16:27 2017 +0100 description: Add pair-smearing to SmearedJets. details: https://rivet.hepforge.org/hg/rivet/rev/a994e5be2781 branches: changeset: 5951:a994e5be2781 user: Andy Buckley <andy at insectnation.org> date: Mon Jul 17 16:31:15 2017 +0100 description: Tidy ctor delegation, comments, etc. diffs (truncated from 233 to 50 lines): --- a/ChangeLog Sun Jul 16 13:15:55 2017 +0100 +++ b/ChangeLog Mon Jul 17 16:31:15 2017 +0100 @@ -1,3 +1,7 @@ +2017-07-17 Andy Buckley <andy.buckley at cern.ch> + + * Add pair-smearing to SmearedJets. + 2017-07-08 Andy Buckley <andy.buckley at cern.ch> * Add Event::centrality(), for non-HepMC access to the generator --- a/include/Rivet/Projections/SmearedJets.hh Sun Jul 16 13:15:55 2017 +0100 +++ b/include/Rivet/Projections/SmearedJets.hh Mon Jul 17 16:31:15 2017 +0100 @@ -12,20 +12,20 @@ namespace Rivet { - // Recursive variadic template arg decoding - namespace { - template<typename T> - vector<JetEffSmearFn>& toEffSmearFns(vector<JetEffSmearFn>& v, const T& t) { - v.push_back(JetEffSmearFn(t)); - return v; - } - template<typename T, typename... ARGS> - vector<JetEffSmearFn>& toEffSmearFns(vector<JetEffSmearFn>& v, const T& first, ARGS... args) { - v.push_back(JetEffSmearFn(first)); - toEffSmearFns(v, args...); - return v; - } - } + // // Recursive variadic template arg decoding + // namespace { + // template<typename T> + // vector<JetEffSmearFn>& toEffSmearFns(vector<JetEffSmearFn>& v, const T& t) { + // v.push_back(JetEffSmearFn(t)); + // return v; + // } + // template<typename T, typename... ARGS> + // vector<JetEffSmearFn>& toEffSmearFns(vector<JetEffSmearFn>& v, const T& first, ARGS... args) { + // v.push_back(JetEffSmearFn(first)); + // toEffSmearFns(v, args...); + // return v; + // } + // } @@ -36,47 +36,68 @@ /// @name Constructors etc. //@{
More information about the Rivet-svn mailing list |