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

Jonathan Butterworth J.Butterworth at ucl.ac.uk
Sun Mar 4 12:25:18 GMT 2018


Ok. I fixed it because it was causing an uncontrolled crash in one of 
the contrib CMS routines...

On 02/03/2018 17:18, Andy Buckley wrote:
> 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
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Prof. Jonathan Butterworth,              http://www.hep.ucl.ac.uk/~jmb/
Head, Physics and Astronomy Department            Tel: +44 20 7679 3444
University College London                 Gower St, London WC1E 6BT, UK
ATLAS, CERN                                       Tel: +41 22 76  72340
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Rivet mailing list