[Rivet] [Rivet-svn] rivet: fix constructor - always needs to have itself as a consti...

Andy Buckley andy.buckley at cern.ch
Fri Mar 2 16:18:54 GMT 2018


I have a funny feeling that I didn't do that on purpose, but can't remember the exact motivation now... should have put it in a comment. Hmm, one to look out for in the next pre-release tests.

More generally, I would like to eliminate the DressedLepton class and just use Particle for that purpose, now that it can have constituents. And also unify the Particle and Jet a bit better, since both will have constituents... and it could be useful to use jets as inputs to FastJets for ATLAS-style reclustering.
Andy
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Experiment Group, University of Glasgow

On Feb 27 2018, at 11:15 pm, Rivet Mercurial <rivet at projects.hepforge.org> wrote:
>
> details: https://rivet.hepforge.org/hg/rivet/rev/b4200fb4a998
> branches: release-2-6-x
> changeset: 6245:b4200fb4a998
> user: Jon Butterworth <j.butterworth at cern.ch>
> date: Tue Feb 27 22:34:33 2018 +0000
> description:
> fix constructor - always needs to have itself as a constituent
>
> diffs (13 lines):
> --- a/src/Projections/DressedLeptons.cc Thu Feb 22 16:09:31 2018 +0000
> +++ b/src/Projections/DressedLeptons.cc Tue Feb 27 22:34:33 2018 +0000
> @@ -9,7 +9,9 @@
>
> DressedLepton::DressedLepton(const Particle& dlepton)
> : Particle(dlepton)
> - { }
> + {
> + setConstituents({{dlepton}}); //< bare lepton is first constituent
> + }
>
> DressedLepton::DressedLepton(const Particle& lepton, const Particles& photons, bool momsum)
> : Particle(lepton.pid(), lepton.momentum())
> _______________________________________________
> Rivet-svn mailing list
> Rivet-svn at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet-svn
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180302/76d1efa2/attachment.html>


More information about the Rivet mailing list